Re: BestPractice - working with Wicket properites outside of Wicket context

2011-03-22 Thread Reinhard Vornholt
Sometimes it's just that easy. Works like a charm! Never used it before. Thanks! 2011/3/21 vineet semwal vineetsemwal1...@gmail.com: simply use resource bundle? ResourceBundle.getBundle(DomainObjectA.class.getCanonicalName()).getString(key); On Mon, Mar 21, 2011 at 9:36 PM, Reinhard

Re: BestPractice - working with Wicket properites outside of Wicket context

2011-03-21 Thread vineet semwal
simply use resource bundle? ResourceBundle.getBundle(DomainObjectA.class.getCanonicalName()).getString(key); On Mon, Mar 21, 2011 at 9:36 PM, Reinhard Vornholt reinhard.vornh...@gmail.com wrote: Hello group, can anybody point me in the right direction for the following problem. We are

Re: BestPractice - working with Wicket properites outside of Wicket context

2011-03-21 Thread vineet semwal
sorry a correction , DomainObjectA.class.getName() instead of canonical name because you can have property files for inner classes too in that case canonical name will fail.. On Mon, Mar 21, 2011 at 11:52 PM, vineet semwal vineetsemwal1...@gmail.com wrote: simply use resource bundle?