No solutions ? Could maybe this be a problem, in this code: <s:iterator ...> ... <s:url id="refUrl" action="setValue"> <s:param name="refValue1" value="refValue" /> </s:url> ... </s:iterator>
refValue1 is of type Double in my action class, and I have DoubleConverter defined for its conversion, but my refValue is of simple type double, which is read from the list in iterator. When I click to this link, conversion is not invoked, why ? -- Thx, M. Milan Milanovic wrote: > > When generated in jsp, this link looks like this: > > <\a id="c_5442.00" showerror="true" targets="refValues" > dojotype="struts:BindAnchor" href="#"> Set value " > > But when clicked nothing happes, it doesn't event came to conversion. > (Note: I added \ before a because this forum show this code as a link > only). > > -- > M. > > > Milan Milanovic wrote: >> >> Hi, >> >> I have again problem with Double conversion. I have a link in my page for >> double values: >> >> <s:iterator ...> >> ... >> <s:url id="refUrl" action="setValue"> >> <s:param name="refValue" value="refValue" /> >> </s:url> >> >> <s:a id="c_%{refValue}" href="%{refUrl}" theme="ajax" >> targets="refValues">Set value</s:a> >> ... >> </s:iterator> >> >> In the form where refValue is entered I'm using my DoubleConverter >> conversion, and I checked with Firebug, refValue is set good, e.g., >> c_4550.0. But when I click to this link above, I get 45500.0. Famoso zero >> is added!! >> >> Then I tried to define conversion properties for a class who have >> refValue attribute to my custom DoubleConvereter, but in this case click >> on the link "Set value" doesn't do anything! It is like a dead link. >> I checked also with Firebug and it is e.g., c_4550. >> >> What is the problem here and how can I solve it ? >> >> -- >> Regards, M. >> > > -- View this message in context: http://www.nabble.com/-S2--Famoso-Double-conversion-problem-in-S2-2.0.11.1%21-tp22248310p22266388.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org