문제

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.

도움이 되었습니까?

해결책

Application.get().getMarkupFactory().getMarkupCache().clear()
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top