Hi,
 
in wicket 1.x you can do following:
 
 mount("/de/", new IndexedParamUrlCodingStrategy("",Katalog.class));
 mount("/en/", new IndexedParamUrlCodingStrategy("",Katalog.class));
 
while in wicket 2.0 you only can do:
 
mount(new IndexedParamUrlCodingStrategy("/de",Katalog.class));
mount(new IndexedParamUrlCodingStrategy("/en",Katalog.class));
 
wich then means that you cant switch by the 0 - Param the path... meaning if
you enter /IndexA/Foo/Bar you cant have a link to /IndexB/Foo/Bar by just
using PageParams("0=Foo,1=Bar") (similar..)
 
(the /de and /en here is the language for example)
 
 
is there a way to do this? else i would make a Jira featurerequest as this
behaviour is vital for me... i need to be able to have at least N paths that
are mounted to a single class and can then be switched by the first request
param.
 
Best Regards
 
Korbinian
 
 

Reply via email to