42Lines/wicket-fullcalendar — pull request #8 by unterstein (2012-04-24 12:19:37+00:00)
Title: Replace callbackscript String with models which are only called during the rendering phase

Hey there,

according this issue:

https://github.com/42Lines/wicket-fullcalendar/issues/7

i replaced the wicket ajax callback scripts with models. The problem described in this issue is, that a refresh of the page leeds to an endless loop through the StalePageException which redirects to the same stale page again.

Using models has the benefit that they are called each rendering process and you could not get a stale page callback url anymore. Furthermore you can remove this workaround in the onBeforeRendere where is is checked, if the callbacks in the setupCallbacks are already added.

Cheers
Johannes