The accepted solution given by delete version number in url
causes problems to AJAX for Wicket version 6.13.0 and newer ones. It keeps reloading the whole page endlessly.
-----Updated-----
Later I found out the following solution worked for me (wicket version 6.15.0) by setting the ONE_PASS_RENDER rendering strategy:
class MyApplication extends WebApplication {
@Override protected void init() {
getRequestCycleSettings().setRenderStrategy(
IRequestCycleSettings.RenderStrategy.ONE_PASS_RENDER);
}
}
It is suggested by https://stackoverflow.com/a/12422490/2700356