Re: How can I get the page before the current one?

2012-05-14 Thread cosmindumy
Hello, 
I also have a question. I hope is the right place here for it. I didn't
wrote that code, so I don't know exactly what happen there, 
but the main idea is that a link is created like this.
link.append(RequestCycle.get().urlFor(pageMap, Upload.class, new
PageParameters(? 
I want to get a reference from the redirect page to the page that created
the link. How can this be made?
Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Redirect-to-Wicket-page-with-301-Moved-Permanently-tp4631888p4632051.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How can I get the page before the current one?

2012-05-14 Thread Martin Grigorov
you can use request header 'Referrer'

On Mon, May 14, 2012 at 1:54 PM, cosmindumy cosmind...@yahoo.com wrote:
 Hello,
 I also have a question. I hope is the right place here for it. I didn't
 wrote that code, so I don't know exactly what happen there,
 but the main idea is that a link is created like this.
 link.append(RequestCycle.get().urlFor(pageMap, Upload.class, new
 PageParameters(?
 I want to get a reference from the redirect page to the page that created
 the link. How can this be made?
 Thanks.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Redirect-to-Wicket-page-with-301-Moved-Permanently-tp4631888p4632051.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org