Bug #1034

Locale-aware parsing of form data [Knut Erik Ballestad]

Added by Old User about 9 years ago. Updated about 1 month ago.

Status:Nouveau Start date:
Priority:Medium Due date:
Assignee:Old User % Done:

0%

Category:-
Target version:-

Description

[Knut Erik Ballestad]
I Have an entity class containing a double value:
"public class Test {
private Integer itemId; //PK
private Double result; //Data value
}"

I can display the double value in the JSP forms using these tags:
<layout:text ....
or
<layout:datagridColumn ..

But, the double value is displayed using '.' as decimal separator instead of the correct decimal separator for my country (','). If I change the value of result, typing in using ',' as decimal separator, the accepted value that reaches the Action class is 0.0 instead of the typed-in value.

Is there any way of changing the displayed value and the parsing of form data into double into using my Locale-defined format?

History

Updated by Vladimir Pate 6 months ago

According to details of test this is a reasonable designed system that provides enough features to their executer. After reading of reviews you can hire best essay writing service uk for your works without waste of time.

Updated by maria denial 3 months ago

This is monstrous in light of the fact that it is just about her. Also http://www.aoneassignment.com, before all the cut Americans hop on here belligerence all the bologna wellbeing claims, it's solitary undesirable to have prepuce in case you're a dingy human that doesn't wash your private parts.

Updated by Anna Bella 3 months ago

I requested one nighttime if there had been many saints and wonderful Irish and wise women and men that came right here to meditate and home work for you left their our bodies because I had a sense of this exquisite presence that had remained. It become testimony to the magic of being right here.

Updated by Tripp Lennon about 1 month ago

This really is therefore stunning as well as innovative. I simply adore the actual colours as well as whomever will get this within the postal mail is going to be grinning.
Capital Gains Tax Advisors

Updated by Robin jack about 1 month ago

My brother recommended I might like this web site. He was entirely right. This post truly made my day. You cann’t imagine just how much time I had spent for this information! Thanks!
essay writing company

Also available in: Atom PDF