wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikulicic, Vladimir" <Vladimir.Mikuli...@br.de>
Subject Redirect to mounted Page
Date Fri, 25 Apr 2014 09:03:37 GMT
Hi,

I'am using Wicket v6.14.

In my MainApplication.java  in the init Method I've got something like this:  mountPage("/weather/${region}/",
RegionPage.class);
My Question is: "How to redirect to that mounted Page, when a user uses a url like this: 
  http://mydomain.com/weather  -> redirect to -> http://mydomain.com/weather/europe
?"
(region parameter should be an default e.g. "europe")
Thanks,
Vladimir
--------------------------------------------------------------------------------------------------
Bayerischer Rundfunk; Rundfunkplatz 1; 80335 M√ľnchen
Telefon: +49 89 590001; E-Mail: info@BR.de; Website: http://www.BR.de
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message