Hi, Can you elaborate on "it doesn't work" ? MarkupCache#clear() should do what you need ? You can put a breakpoint at org.apache.wicket.markup.MarkupCache#getMarkup and see what happens.
Martin Grigorov Wicket Training and Consulting On Wed, May 7, 2014 at 2:48 PM, Yoav Stern <[email protected]> wrote: > it doesnt work in my wicket version 6.9 > i tried > > MarkupFactory.get().getMarkupCache().clear(); > > > and it doesnot work > is there another way to get the application MarkupFactory ? > > > > On Sun, May 4, 2014 at 5:31 PM, Sven Meier <[email protected]> wrote: > > > Application.get().getMarkupFactory().getMarkupCache().clear() > > > > Sven > > > > > > On 05/04/2014 12:28 PM, Yoav Stern wrote: > > > >> Wicket reload html resources > >> > >> I would like to have URL which reload all my application resources > >> > >> //localhost:8080/myApp/reloadWicket > >> > >> I know i can achieve it by using : > >> > >> getResourceSettings().setResourcePollFrequency() > >> > >> How can i do it with simple filter/URL > >> > >> my app is wicket and spring therefore i would like to ignore cases with > my > >> spring components , the only thing I would like is to refresh all the > >> **.html* resourcres fevery time a certin link is being called. > >> > >> > > >
