Hi, Really? Isn't that something that should be managed by wicket? I thought this was going to be default behavior, so maybe other people will also think that.. Should I create a jira change request for this?
2016-05-19 10:41 GMT+02:00 Martin Grigorov <mgrigo...@apache.org>: > Hi, > > You will have to do it yourself. The converters are used only by the > components. > In your case I guess you'll have to do something like: > String converted = converterLocator.get(Double.class).convert(1.2d) > new StringResourceModel("MYLABEL").setParameters(converted). > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, May 19, 2016 at 10:24 AM, Marieke Vandamme < > marieke.vanda...@tvh.com > > wrote: > > > Dear, > > > > I use the new method within Wicket 7 (currently using 7.3.0) : > > new StringResourceModel("MYLABEL").setParameters(new double(1.2)). > > Also in my application I have a ConverterLocator defined, which converts > > doubles. > > But I don't think this conversion is used within my StringResourceModel. > > Is that possible? Or am I doing something wrong? > > Thanks for any help ! Kind regards, Marieke > > > > -- > > > > > > **** DISCLAIMER **** > > > > http://www.tvh.com/glob/en/email-disclaimer > > > > "This message is delivered to all addressees subject to the conditions > > set forth in the attached disclaimer, which is an integral part of this > > message." > > > -- **** DISCLAIMER **** http://www.tvh.com/glob/en/email-disclaimer "This message is delivered to all addressees subject to the conditions set forth in the attached disclaimer, which is an integral part of this message."