only wicket>=1.5.0 propagates post data in intercepts. -igor
On Wed, Dec 21, 2011 at 5:56 PM, 鄂力炜 <daura...@gmail.com> wrote: > Hi all, > > I am using wicket 1.3.7 for our product. Currently, I have encountered a > problem, a form submitting is corrupted by session timeout, description as > follows, > > - there is a report page, and a form in it, a user fill some parameter > in that form, method post > - after the user's session timeout, he or she tries to submit the form > - the server starts to process the request, due to unauthorized problem, > (we add an IUnauthroizedComponentInstantiationListener implementation), A > RestartResponseAtInterceptPageException is throwed. > - the user is redirect to the login page > - after the user has logon, the browser is redirected to the report > page, but all the parameter in the form is empty > > I tried the debug tool for tracing the operation. > > - in the RestartResponseAtInterceptPageException constructor, the > original request, the submit of form in report page has been translated to > a URL and stored in a PageMap object's interceptContinuationURL var, for > later using after user logon. but here the setting on > interceptContinuationURL, only contains the pathinfo and queryString of > httpreqeust, the post data has been abandoned. > - the redirection after the user logon has actually triggered the submit > form, since the url contains the 'IformSubmitListener' > but as post data has been abandoned, the submitting has no valid > parameter. > > What I am expecting is to have the form submitting result consistent no > matter the user's session has been timeout or not. > > Or is it a nature feature for Wicket treating redirection logic, to abandon > the post data? > > Can anyone help me for this issue? > > Thanks & Regards, > Liwei --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org