> > Is there a mechanism to let the page be re-created with the original > > PageParameters? > > Maybe they could be kept within JS of the page and sent with the AJAX > > request? That would probably need a change in Wicket's AJAX code. > > (Wicket 1.5) > > That was the case until recently but there was no way to differentiate > between original page parameters and custom request parameters for the > Ajax request itself. So we took the safest way by dropping all > parameters when a page is being auto-recreated.
Could this be made optional? Because, in case the developer knows that the URL has all the data the page needs to be recreated, he could setSendPageParametersOnAjaxRequests(true) or such... That would make life with Ajax components easier... would it? :-) Or maybe I don't get this fully, as I don't know the Wicket internals... in which case, I believe you there was no way. If you have a minute, could you briefly explain that or point me to some wiki? Thanks. Ondra
