>>>> 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
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]
> 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.
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://w
> 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]
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
;> 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 ?
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
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
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]
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:
11 matches
Mail list logo