On Sat, Oct 30, 2010 at 2:47 AM, 7zark7 <[email protected]> wrote: > I am writing a IModel<String> implementation which formats Dates in a > particular way. > > I would like the text to be in localized properties files, however I can't > seem to leverage anything in Wicket for this. Localizer expects a component > to be passed to its getString methods, which I do not have a reference to. > > Anyone have ideas or done similar? >
Why not have your model implementation that takes an IModel<String> that returns the format string? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
