i was wondering if it should be a default behavior for
Session.setResponsePage( Page page ) to add the page to the front of the session, since i obviously really want to go to that page.. without worrying about a page expired error. currently, i have to added another method to the base page class of my app to add the page to the session before calling setResponsePage since setResponsePage is final. thanks again, > > --- Eelco Hillenius <[EMAIL PROTECTED]> > wrote: > > The cdapp example (you can find it in > > http://wicket-stuff.sourceforge.net , project > > wicket-contrib-examples), > > reuses the page to redirect to. And that works > quite > > good, though there > > is one issue to solve (actually I forgot about > that > > one, thanks for > > reminding me): when you reuse such a page, you > want > > to put it in front > > of the session page list again. > > > > So, I think there is some other problem you have. > > Could you give us more > > details, like which Wicket version you use, and > some > > more code? > > > > Eelco > > > > bin zhu wrote: > > > > >in the wicket examples, the "go back" link uses > > >BookmarkablePageLink. I also trying to do "go > back" > > >link except i would like the "return page" to > keep > > >state, not create a new page. so instead i used > > > > > >add( new Link("backLink") { > > > public void onClick() { > > > setResponsePage( returnPage ); > > > } > > >} > > > > > >this method successfully keep the return page > > state. > > >however, when i try to go to any page via the > > return > > >page, i get an page expired error. > > > > > >anyone else have a better solution to my problem? > > >hopefully i described my problem adequately > > > > > >thanks, > > > > > > >__________________________________________________ > > >Do You Yahoo!? > > >Tired of spam? Yahoo! Mail has the best spam > > protection around > > >http://mail.yahoo.com > > > > > > > > > >------------------------------------------------------- > > >SF.Net email is sponsored by: Tell us your > software > > development plans! > > >Take this survey and enter to win a one-year sub > to > > SourceForge.net > > >Plus IDC's 2005 look-ahead and a copy of this > > survey > > >Click here to start! > > http://www.idcswdc.com/cgi-bin/survey?id=105hix > > >_______________________________________________ > > >Wicket-user mailing list > > >Wicket-user@lists.sourceforge.net > > > >https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Tell us your > software > > development plans! > > Take this survey and enter to win a one-year sub > to > > SourceForge.net > > Plus IDC's 2005 look-ahead and a copy of this > survey > > Click here to start! > > http://www.idcswdc.com/cgi-bin/survey?id=105hix > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user