At the moment, stateless forms are broken if you use the
QueryStringUrlCodingStrategy.
http://issues.apache.org/jira/browse/WICKET-607
As the comment says, the issue here is that WebRequestCycleProcessor is
looking for a component path before it looks for mounts. And once it has
found a component path, it's trying to resolve a rendered page for it.
With stateless stuff, there is no rendered page available in the
PageMap, so you get a PageExpiredException.
Even if we fix this (put in an ugly catch block, for example), things
still didn't work, due to QueryStringUrlCodingStrategy not knowing about
BookmarkableListenerRequestTargets (see the special-case code in
BookmarkablePageRequestTargetUrlCodingStrategy.decode() for example).
I fixed that in trunk in r544204, only I'm now not sure I've done the
right thing - I think maybe we should be calling
AbstractRequestCycleProcessor.resolveBookmarkablePage() instead, as that
does much the same thing.
I'm not sure what's best to do here, and would appreciate some help from
someone more familiar with the code.
Regards,
Al
--
Alastair Maw
Wicket-biased blog at http://herebebeasties.com