Re: Question about StringResourceLoader

2008-04-23 Thread Ned Collyer
this message in context: http://www.nabble.com/Question-about-StringResourceLoader-tp15888948p16831749.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Question about StringResourceLoader

2008-04-23 Thread Erik van Oosten
That is easy. Use getLocalizer.getString(key, City.class, new Model(obj)). You can not do this in the constructor of your component though. There are 2 workaround: 1) create a model (for example by subclassing AbstractReadOnlyModel), 2) override the method onBeforeRender in your component.

Question about StringResourceLoader

2008-03-06 Thread Ned Collyer
obvious if this can be achieved with inbuilt wicket objects. I can use the IStringResourceLoader and write something myself, or... perhaps I'm overlooking something. Can someone shed some light please? -- View this message in context: http://www.nabble.com/Question-about-StringResourceLoader