> > 2 (nearly the same, but with a form)
> > ---
> > User Sarah logs in, searches a song "Anton aus Tirol" and starts editing the
> > song data, but doesn't submit the data. She gets away from her desk and when
> > she returns everyting seems fine to her. She continues editing the data of
> > "Anton aus Tirol" and submits. Her session has expired, so she gets
> > redirected to the login page. She logs in again and the data she wanted to
> > submit get submitted by the application. Sarah is shown the new data of
> > "Anton aus Tirol", which she submitted.
>
> Yeah, this is only possible with stateless forms, or using
> bookmarkable pages and code the forms yourself (this might be an
> option for 1.2).
>
Actually even statelessforms are not going to save you in this case
because you wanted to have the user login first. This is most commonly
achieved by throwing a RestartResponseAtInterceptPage. But that does
not save form postdata in the request, so even though you will get
back to the form you don't have the postdata to save.

Maurice

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to