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
; 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.
>
>
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
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
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
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?
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
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
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
...@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
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
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
12 matches
Mail list logo