Double conversion

2009-10-13 Thread Eduard Neuwirt
Hello all, so I am still facing the problem with Double conversion ins Struts. So I am trying to describe the situation: 1. double will be converted without consideration of localization, i.e. input and display form are using dot-notification. 2. Double will be convvrted with partial

Re: Behaviour of Double conversion

2009-10-12 Thread Lukasz Lenart
2009/10/12 Eduard Neuwirt : > Any Idea ? Could you add you comments to http://jira.opensymphony.com/browse/XW-606 ? Regards -- Lukasz http://www.lenart.org.pl/ http://dailylog.lenart.org.pl/ - To unsubscribe, e-mail: user-unsu

Re: Behaviour of Double conversion

2009-10-12 Thread Eduard Neuwirt
@struts.apache.org Subject: Behaviour of Double conversion Hi all, I am facing the following interesting behavior of struts 2.1.8. I am using in action a list containing beans with setting of Double. Additionally I set German locale. So the value of double will be displayed in the English-Loca

RE: Behaviour of Double conversion

2009-10-11 Thread Martin Gainty
lité pour le contenu fourni. > Date: Sun, 11 Oct 2009 21:24:57 +0200 > From: eduard.neuw...@googlemail.com > To: user@struts.apache.org > Subject: Behaviour of Double conversion > > Hi all, > > I am facing the following interesting behavior of struts 2.1.8. I am

Behaviour of Double conversion

2009-10-11 Thread Eduard Neuwirt
Hi all, I am facing the following interesting behavior of struts 2.1.8. I am using in action a list containing beans with setting of Double. Additionally I set German locale. So the value of double will be displayed in the English-Locale for example 5.55, but the conversion of value is done

Re: [S2] Famoso Double conversion problem in S2 2.0.11.1!

2009-03-11 Thread Bert Van den Brande
t; 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, >>&g

Re: [S2] Famoso Double conversion problem in S2 2.0.11.1!

2009-02-28 Thread Milan Milanovic
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 hav

Re: [S2] Famoso Double conversion problem in S2 2.0.11.1!

2009-02-27 Thread Milan Milanovic
When generated in jsp, this link looks like this: # Set value But when clicked nothing happes, it doesn't event came to conversion. -- M. Milan Milanovic wrote: > > Hi, > > I have again problem with Double conversion. I have a link in my page fo

[S2] Famoso Double conversion problem in S2 2.0.11.1!

2009-02-27 Thread Milan Milanovic
Hi, I have again problem with Double conversion. I have a link in my page for double values: ... Set value ... In the form where refValue is entered I'm using my DoubleConverter conversion, and I checked with Firebug, refVal

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
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 in JSP was 2232.435, when user click on this "Delete" li

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.,

Re: [S2] Double conversion issue

2008-08-22 Thread Milan Milanovic
This is some wierd Struts behaviour for Double conversion, e.g., if my prop attribute in JSP was 2232.435, when user click on this "Delete" link, in my action class for prop attribute I get: 2232435.0 ?! -- Milan Milan Milanovic wrote: > > Hi, > > I ha

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: