You could add a feature request (and a patch?).

My point was don't let them start on the form until they are signed in if
being signed in is required for submitting the form.  This just makes sense.

Or, if what you're saying is that they are timing out while working on the
form, add an ajax update behavior that will keep them signed in / session
current.

On Wed, Nov 26, 2008 at 12:36 PM, kan <[EMAIL PROTECTED]> wrote:

> A user has started to work with the form, then was distracted for 20
> minutes, then he comes back and presses "submit".
> Is it difficult to store PageParameters too?
>
> 2008/11/26 Jeremy Thomerson <[EMAIL PROTECTED]>:
>  > They shouldn't be able to access the bookmarkable page with the form
> (or,
> > access the page, but have the form hidden until signed-in).  For
> > continueToOriginalDestination, IIRC, Wicket just stores the URL, so you
> > can't go back to a POST.
> >
> > On Wed, Nov 26, 2008 at 10:27 AM, kan <[EMAIL PROTECTED]> wrote:
> >
> >> I have a site which requires authentication. I've made it via
> >> @AuthorizeInstantiation.
> >> Works well. But if a bookmarkable page has a <form> with method POST,
> >> and user presses "submit" after timeout, it redirects him to SignIn
> >> screen. After successful login the site redirects back (usinig
> >> continueToOriginalDestination) to the page and happens not very good
> >> thing - method on form onSubmit is called but with no data on it,
> >> because POST is lost during that redirects. Is there any easy reliable
> >> solution of the problem?
> >>
> >> --
> >> WBR, kan.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > Jeremy Thomerson
> > http://www.wickettraining.com
> >
>
>
>
> --
>  WBR, kan.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jeremy Thomerson
http://www.wickettraining.com

Reply via email to