Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Dirk Forchel
arametersForProductPage( product ) ).toString(); } } private final Product product; public ProductPage(final PageParameters pageParameters, final Product product ) { } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redir

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Martin Grigorov
; good starting point. > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Redirect-to-Wicket-page-with-301-Moved-Permanently-tp4631888p4655468.html > Sent from the Users forum mailing list archive at Nabble.com. > >

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Dirk Forchel
ought, having both pages and let Wicket do the stuff for me would be a good starting point. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redirect-to-Wicket-page-with-301-Moved-Permanently-tp4631888p4655468.html Sent from the Users forum mailing list archive

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Martin Grigorov
sses. And for each request the mapper would > check > whether this request URL is contained in the map. But this means I have to > maintain two places for each pair of "legacy" and "new" Page classes. I'm > not sure whether this is a smart solution. > > &g

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Dirk Forchel
apper would check whether this request URL is contained in the map. But this means I have to maintain two places for each pair of "legacy" and "new" Page classes. I'm not sure whether this is a smart solution. -- View this message in context: http://apache-wicket.18

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Martin Grigorov
olution could be very annoying. > Is there another way to solve this. I would prefer something like a Map > which holds old and new mounth paths and a kind of "Mapper" which is > responsible to map obsolete URLs to new ones. > Exists such a solution which I'm not aware of?

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Dirk Forchel
nother way to solve this. I would prefer something like a Map which holds old and new mounth paths and a kind of "Mapper" which is responsible to map obsolete URLs to new ones. Exists such a solution which I'm not aware of? -- View this message in context: http://apache-wi

Re: Redirect to Wicket page with 301 Moved Permanently

2012-10-29 Thread Martin Grigorov
ly in wicket-core and then > make it configurable so that the web application can default to a 301 or 302 > redirect, based on the requirements of each web application. > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Redirect-to-Wick

Re: Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread Martin Makundi
the new URL.  You may want > to look into your app server to see if url rewriting is an option. > > > > -Original Message- > From: jarnis [mailto:jarnis.bertel...@exedio.com] > Sent: Monday, May 14, 2012 5:56 AM > To: users@wicket.apache.org > Subject: Redirect t

RE: Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread Jeffrey Schneller
...@exedio.com] Sent: Monday, May 14, 2012 5:56 AM To: users@wicket.apache.org Subject: Redirect to Wicket page with 301 Moved Permanently Hey guys I'm trying to make a redirect form an old url to a new one. The browser url should be changed to the new one and the response code for the original reques

Re: Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread Martin Grigorov
exactly is the problem with the urls ? You can take a look at org.apache.wicket.request.http.handler.RedirectRequestHandler#respond() and see what happens. > > What is the best way to solve this? > > Thanks in advance > > Jarnis > > -- > View this message in context: > h

Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread jarnis
I don't have to hard code it to a specific host name. What is the best way to solve this? Thanks in advance Jarnis -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redirect-to-Wicket-page-with-301-Moved-Permanently-tp4631888.html Sent from the Users forum mai