Tobias, Somehow I'm missing your replies in gmail. But thanks for the suggestions. Using custom models would be a last resort for me. Because I will have to replace all occurences. I'm somehow hoping to hook into the localizer.
On Sat, Feb 21, 2015 at 2:01 PM, Rob Sonke <r...@tigrou.nl> wrote: > Hi all, > > I'm trying to achieve a fairly simple thing within .properties files to > avoid a lot of duplicate words through different files. > > For example there's is a HomePage.properties with: > lbl.foo=This is an example text, we love ${lbl.item} > > And then in MyWebApplication.properties: > lbl.item=Wicket > > But as far as I can see, Wicket tries to resolve the parameters with > objects passed to eg StringResourceModel. How can I hook into this and > solve this in a nice way? > > Kind regards, > Rob >