if you want to do that globally you have to register a stringconverter that will convert an integer so. if you want to do it only for a certain kind of textfield you can subclass getconverter() on it.

here is a woogle: http://woogle.billen.dk/search/q/converter, look at the wiki page especially

-Igor


On 7/31/06, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
I need to implement a special numbers formatting in my wicket application.

Basically I have to round number to the first digit and use a blank space as thousand separator.

For example instead to display number like '1, 000.33' it is required to display (and user will input) '1 000'.

I can do that in Wicket?

Thank for helping.

-- Paolo





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to