Hi Sven, Are you going to add this class to 6.x/7.x ?
Please also take a look at the improvement I've added with https://issues.apache.org/jira/browse/WICKET-5754 On Fri, Sep 26, 2014 at 5:10 PM, Andrea Del Bene <[email protected]> wrote: > Got it! Thank you! > > Hi Andrea, >> >> >I think we could remove single model parameter from constructors to make >> PropertyResourceModel lighter >> >> then you'd have to prefix each property expression, even when only one >> model is used: >> >> new PropertyResourceModel("key", this, MiniMap.of("foo", fooModel)); >> >> key=This is message ${foo.bar}. >> >> I'd prefer to keep this case simpler for the user (as it is with >> StringResourceModel): >> >> new PropertyResourceModel("key", this, fooModel); >> >> key=This is message ${bar}. >> >> Have fun >> Sven >> > >
