Not sure what you mean, but if you control the factory you control the formatters. /Anders
Igor Vaynberg wrote: > and does that api support registering your own converters? > > -igor > > > On 3/14/07, *Anders Peterson* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > No. You create them specifying which Locale to use. Look at the static > factory methods in NumbverFormat. > > http://java.sun.com/j2se/1.5.0/docs/api/java/text/NumberFormat.html > > All Wicket would needs is a FormatFactory that reads the Locale from > the > request/session/user and instantiates correct Format instances. > > /Anders > > Martijn Dashorst wrote: > > On 3/14/07, Anders Peterson <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > >> One of my questions remain: Why does Wicket need converters at > all? Java > >> already has java.text.Format with two-way conversion between > String and > >> some other class. > > > > But they assume the VM's locale, not the locale of the > request/session/user. > > > > Martijn > > > > > ------------------------------------------------------------------------- > 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 > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto: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 > ------------------------------------------------------------------------- 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