And I'll tell you it just keeps on going that way:)

Manuel Corrales wrote:
Sorry, that was a very dumb question, i have found the way. I am loving
wicket every day a little bit more :)

On Mon, Jul 14, 2008 at 12:34 PM, Manuel Corrales <[EMAIL PROTECTED]>
wrote:

Hi, i am using a custom BigDecimalConverter to remove some punctuation and
stuff when converting the string to BigDecimal. My problem is that, i have
some validation on the onSubmit() method, and when some error is added on
the onSubmit(), the BigDecimal showed on the screen recovers the punctuation
again. Maybe this will be clear with an example:

I insert this number on the BigDecimal TextField: 1555.98 and press submit,
when i validate in onSubmit() and throws an error, when the page is
redisplayed the BigDecimal is shown like this: 1,555.98. What i want is to
remove the grouping comma (may be different if the Locale is different).
What can i do to achieve this?

Thanks in advance!!

Manuel.



--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to