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
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
@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
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
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
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
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
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
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
>>>> 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
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
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.,
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
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:
20 matches
Mail list logo