Re: [S2] Double conversion issue

2008-08-26 Thread Milan Milanovic
>>>> Milan >>>> >>> >>> A custom type-converter means you can write one yourself for that >>> specific property. It's very simple: >>> >>> http://struts.apache.org/2.0.11.2/docs/type-conversion.html >>> >>> Personally I never use Double in an action and instead

Re: [S2] Double conversion issue

2008-08-26 Thread Milan Milanovic
ain precision correctly. >> >> ----- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19163084.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Double conversion issue

2008-08-25 Thread Milan Milanovic
> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19145493.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: [S2] Double conversion issue

2008-08-25 Thread Milan Milanovic
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://w

Re: [S2] Double conversion issue

2008-08-23 Thread Milan Milanovic
> For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19122944.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Double conversion issue

2008-08-23 Thread Jeromy Evans
Milan Milanovic wrote: Uf, bug again :-(((. Is there any custom type-converter for Double-s that doesn't have this error ? -- Milan A custom type-converter means you can write one yourself for that specific property. It's very simple: http://struts.apache.org/2.0.11.2/docs/type-convers

Re: [S2] Double conversion issue

2008-08-23 Thread Milan Milanovic
;> class, but when user click on the link above to delete it, in my action >>> class remove() method for "prop" I get: 12340.0 ! Zero is always added >>> at >>> end of the number, does anyone know why this could happen ?

Re: [S2] Double conversion issue

2008-08-22 Thread Jeromy Evans
I've seen this reported previous as a bug in S2/Xwork (appending an extra 0 character). I can't recall where I saw that. Write a custom type-converter for that field to work-around it. Milan Milanovic wrote: This is some wierd Struts behaviour for Double conversion, e.g., if my prop attribute

Re: [S2] Double conversion issue

2008-08-22 Thread Milan Milanovic
t; class remove() method for "prop" I get: 12340.0 ! Zero is always added at > end of the number, does anyone know why this could happen ? > > -- > Regards, Milan > -- View this message in context: http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19116746.html Sent

Re: [S2] Double conversion issue

2008-08-21 Thread Milan Milanovic
ero is always added at > end of the number, does anyone know why this could happen ? > > -- > Regards, Milan > -- View this message in context: http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19093011.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] Double conversion issue

2008-08-21 Thread Milan Milanovic
happen ? -- Regards, Milan -- View this message in context: http://www.nabble.com/-S2--Double-conversion-issue-tp19092842p19092842.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: