Thanks. I kind wonder why "DirectLink" works after user relogin -- it can go to the page the link points to. It only doesn't work with the "Submit" button -- is that becuase it contains some persist data that needs to be sent back to the server and server has already lost all the information for this session? Ajit
> Date: Tue, 14 Aug 2007 16:29:39 -0400> From: [EMAIL PROTECTED]> To: > users@tapestry.apache.org> Subject: Re: You have clicked on a stale link > Error> > Ajit,> > You would have to actively store your trail, like > breadcrumbs in a> data structure that is still available even after the user > has timed> out. You might want to persist it to a database, instead of > keeping> track of it in memory.> > Then after login success, the login > page/component would look up the> last visited page and then try to send the > user there by sending that> page.> > So this is not something automatically > handled by Tapestry.> > On 8/14/07, Ajit Raj <[EMAIL PROTECTED]> wrote:> > > Hi,> >> > I got a error as following after I tried to relog in to the > application -- it happens when I cliecked a "Submit" button on one of the > page after session already timeout, and it redirect me back into the login > page.> >> > You have clicked on a stale link.> > Rewind of form > core/Example/SchoolReport expected only 0 form elements, but an additional id > was requested by component sure/DateSelect/CheckDateSelected.> > This is most > likely the result of using your browser's back button, but can also be an > application error.> > You may continue by returning to the application's home > page.> >> > I have to go to the home page first, then go to the page where I > clikced "submit" button.> >> > Is there a way to go back to the my last page > after relogin instead of go through the home page?> >> > Thanks,> >> >> > > Ajit> > _________________________________________________________________> > > Messenger Café — open for fun 24/7. Hot games, cool activities served daily. > Visit now.> > http://cafemessenger.com?ocid=TXT_TAGLM_AugWLtagline> > > ---------------------------------------------------------------------> To > unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: > [EMAIL PROTECTED]> _________________________________________________________________ Find a local pizza place, movie theater, and more….then map the best route! http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01