Would that be the same as clicking the browser's back button? And would there be any instance that that would cause a problem? Also, isn't the PageMap where all the previous pages are stored so that the back button will work? And if so, is there a way to access those pages from my page so that I can link to them if needed?
> -----Original Message----- > From: Martijn Dashorst [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 13, 2008 12:59 PM > To: [email protected] > Subject: Re: Link to last accessed page > > > you could use the following markup fragment: > > <a href="javascript:back();">Return to previous page</a> > > (not 100% sure about the back() method, but there is a javascript > function in the browser that does that. > > Martijn > > On 2/13/08, Warren <[EMAIL PROTECTED]> wrote: > > The link is on an Accessed denied page. I am not sure how to > pass anything > > to it other than thru the session. I thought maybe I could get > the last page > > from the PageMap from the Session or from the PageMap from the > Page. I have > > not looked at breadcrumbs, not sure how that would work. I > should be able to > > get a hold of the last accessed page from the current page and then set > > setResponsePage(...) to it. I am very new to Wicket and I am > just starting > > to figure things out, so bare with me. > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] Behalf Of James Carman > > > Sent: Wednesday, February 13, 2008 12:26 PM > > > To: [email protected] > > > Subject: Re: Link to last accessed page > > > > > > > > > How about using the breadcrumb component? Would that help? > > > > > > http://wicketstuff.org/wicket13/breadcrumb/ > > > > > > On 2/13/08, Warren <[EMAIL PROTECTED]> wrote: > > > > How do I create a link on a page that will go to the last > > > accessed page no > > > > matter what that page is? I see that WebPage has a method > > > homePageLink. Is > > > > there something simmilar that will return you to the last > > > accessed page? I > > > > also see that the class AccessStackPageMap has a method > > > lastAccessedEntry(), > > > > but I do not know how to get to that method from my page. > > > > > > > > Thanks, > > > > > > > > Warren > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Buy Wicket in Action: http://manning.com/dashorst > Apache Wicket 1.3.1 is released > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1 > > --------------------------------------------------------------------- > 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]
