I'm still struggling with this. I tried to extract all request parameters and then re-add them back as parameters to the Link I return back from a successful login but they disappear somewhere before I get to the actual form post. I can see that the request is a POST but the t:formdata is missing (along with any other parameters).
I have tried to trace through the request handling but I can't really see where the parameters are dropped. I'll go for the next best thing for the moment and at least get the user back to the correct page but with some lost data. Regards, Joakim On Tue, Sep 6, 2011 at 6:46 AM, Joakim Olsson <[email protected]> wrote: > You got it right. Then I would have to save all request parameters and > re-populate the form when the user gets back to the page. > > My problem-case is when the session has terminated due to inactivity > and then the bean in the session is lost as well. Maybe it's not > possible in that case. > > Thanks, > Joakim > > > On Tue, Sep 6, 2011 at 1:17 AM, nillehammer > <[email protected]> wrote: >> Did I get it right? The user enters data into a form and submits. If he were >> logged in, you would forward to success page. But not being logged in you >> would like to do a round trip via login page and after sucessfull login >> forward to success page? >> >> You could store the values entered by the user in the bean that is bound to >> the form in the session. After sucessfull login you could forward to the >> form-page again. Not a full solution, but at least the user would not have >> to enter data again. >> >> ----- >> http://www.winfonet.eu >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/Is-it-possible-to-perform-form-submit-after-being-redirected-via-a-loginform-tp4771930p4772413.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
