Hi,

I am currently trying to convert a custom application to Wicket and hit an issue regarding URL mappings.

We have the requirement for URL-to-page mappings as follows:

1) http://localhost/app/                           -> WelcomePage.java
2) http://localhost/app/info                       -> InfoPage.java
3) http://localhost/app/<e>/<entry>/               -> EntryPage.java
4) http://localhost/app/<category>/                  -> CategoryPage.java
5) http://localhost/app/<category>/<subcategory>/  -> SubCategoryPage.java

The problem is that I would need to mount the /app/ four times but Wicket throws an exception.

An additional difficulty is that for URL mapping 3) the parameter <e> is always the first character of <entry>. <category> can never be only one character, thus the URLs 3) and 4)/5) are - from a logical point - distinguishable based on the URL pattern.

Which URL encoding strategies would I need to configure how to achieve such a mapping? Is it possible at all with Wicket?

Thanks in advance,

Seb


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to