[ http://issues.apache.org/jira/browse/WICKET-82?page=all ]
Igor Vaynberg closed WICKET-82.
-------------------------------
Resolution: Fixed
for demo see NiceUrlApplication, namely
class NiceUrlApplication extends WicketExampleApplication {
...
/**
* Sets up a request coding strategy that uses case-insensitive mounts
*
* @see wicket.protocol.http.WebApplication#newRequestCycleProcessor()
*/
protected IRequestCycleProcessor newRequestCycleProcessor()
{
WebRequestCodingStrategy.Settings stratSettings = new
WebRequestCodingStrategy.Settings();
stratSettings.setMountsCaseSensitive(false);
WebRequestCodingStrategy strat = new
WebRequestCodingStrategy(stratSettings);
return new CompoundRequestCycleProcessor(strat);
}
...
}
> Support case insensitive mount paths
> ------------------------------------
>
> Key: WICKET-82
> URL: http://issues.apache.org/jira/browse/WICKET-82
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.2.3
> Reporter: Igor Vaynberg
> Assigned To: Igor Vaynberg
> Fix For: 1.3, 2.0
>
>
> http://www.nabble.com/Non-case-sensitive-nice-URL-tf2643746.html
> I use nice URL to mount some page in the usual way :
> mountBookmarkablePage("/Organization", Organization.class);
> That is great, but it will make an error if a user enter the url by hand and
> decide to not use case sensitive. I mean, I can mount organization without
> the capital letter, but it would make the same error if the user use Capital
> after that.
> Is there a way of using Nice URL that is not case sensitive?
> Thanks
> Marc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira