Hi,
I'm still trying to migrate this to Wicket 6 without success. Would
someone give me a hand please, or point me to the documentation that I
could refer to. Thanks a lot!
Kind regards,
Yuci
On 15/01/2013 16:14, Eusie wrote:
Hello,
Wonder how to make URLs (i.e. mount paths) case insensitive for Wicket
6? For example, make these two URLs do the same thing:
localhost/AboutUs and localhost/aboutus
I understand for Wicket 1.4.x, you could achieve it in the way below:
public class DemoApplication extends WebApplication
{
@Override
protected IRequestCycleProcessor newRequestCycleProcessor() {
return new WebRequestCycleProcessor() {
@Override
protected IRequestCodingStrategy newRequestCodingStrategy() {
WebRequestCodingStrategy.Settings strategySettings =
new WebRequestCodingStrategy.Settings();
strategySettings.setMountsCaseSensitive(false);
return new WebRequestCodingStrategy(strategySettings);
}
};
}
}
Many thanks,
Eusie
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]