Hi, This is the correct way. Set a breakpoint at org.apache.wicket.Localizer#getStringIgnoreSettings(final String key, final Component component, final IModel<?> model, Locale locale, String style, final String defaultValue) and see what happens.
On Wed, Jan 16, 2013 at 7:50 AM, vijay <sevijay....@gmail.com> wrote: > Hi, > > I have used the below code directly in my program before calling > getLocalizer().getString(...,...): > > Application.getResourceSettings().getLocalizer().clearCache(); > > but i didn't get the latest change in property file until i restart the > server. > > No, I didn't try to change the resource bundle in the production system, I > am testing this at my DEV server. > > But there is requirement that if we made any change in the resouce bundle > (present outside the war file, at some different location in same server) > then the change made in prop file should automatially reflected without > restarting the server again and again. Which is not happening it always > pick > the old content from cache until server is restarted. > > Please help to fix this issue by providing the code segement that can be > used directly in the program. > > > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-getLocalizer-getString-Issue-tp4655346p4655413.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>