no it is not possible as it wouldnt make any sense, how would a component know which converter to use? this is why you can override converters on per component basis. you can also create a subclass, like what gerolf did with his DoubleLabel.
-igor On 10/2/07, Artur W. <[EMAIL PROTECTED]> wrote: > > > > Francis De Brabandere-2 wrote: > > > > this can be done application-wide by overriding > > protected IConverterLocator newConverterLocator() > > in you Application > > > > see org.apache.wicket.util.convert.ConverterLocator > > > > Thanks for the info. > > Is it possible to register few converters for the same type? > For example I need sometimes to show numbers with 2 and sometimes with 5 > fraction digits. > > Is is possible with newConverterLocator or in some other way? > > Thanks, > Artur > > -- > View this message in context: > http://www.nabble.com/TextField-rounds-doubles%2C-why--tf4554400.html#a13000501 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
