It's rather not a great discovery, but something I have missed when I start learning Wicket, and a thing which make great trouble to the webmaster - how to run Wicket application, and edit html without restarts - most time I have used Maven Integration plugin in Eclipse, and this thing worked, but when I have switched to Idea, I have to find another solution. And I was quite surprised that Wicket already have a solution, these two lines in Wicket Application init method allows to update state of resources such as HTML templates:
getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
getResourceSettings().setResourceFinder(new Path(new Folder("src/main/java")));
It's such important work improvement, but could be missed at first steps.
Recent comments
1 year 17 weeks ago
1 year 18 weeks ago
1 year 25 weeks ago
1 year 26 weeks ago
1 year 45 weeks ago
1 year 46 weeks ago
1 year 46 weeks ago
1 year 46 weeks ago
1 year 47 weeks ago
1 year 47 weeks ago