ilto:[EMAIL PROTECTED]
] On Behalf Of Johan Compagner
Sent: Saturday, July 29, 2006
14:32
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Problem
handling Double values
hmm thats odd i do see it
now in our own FormInput example for the double field.
will investigate that.
johan
Subject: Re: [Wicket-user] Problem
handling Double values
hmm thats odd i do see it
now in our own FormInput example for the double field.
will investigate that.
johan
On 7/29/06, Md.
Kamruzzaman <[EMAIL PROTECTED]>
wrote:
Hi,
Thank you for your reply.
Actually I'm not readin
Ok investigated it.And it is the way the NumberFormat.getInstance(locale); works (i tested it for the locale en )You get there a number formatter that does a RoundUp by default i guessthat number formatter will format 2 digits so
1.99but if you supply it 3 digits so 1.999 it will try to round up.
hmm thats odd i do see it now in our own FormInput example for the double field.will investigate that.johanOn 7/29/06, Md. Kamruzzaman
<[EMAIL PROTECTED]> wrote:
Hi,
Thank you for your reply.
Actually I'm not reading data from database. I just giving input in the text
box and when I press Save b
Hi,
Thank you for your reply.
Actually I'm not reading data from database. I just giving input in the text
box and when I press Save button, the corresponding text field data is being
saved in the database.
But since wicket retains the page state using model, the textbox is being
filled with the
The problem is not with code you've shown. It must be something else.
The value in the database is correct. When you read the data from the
database is it stored in a Double as well?
Juergen
On 7/26/06, Md. Kamruzzaman <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> I'm having great problem with handlin