I’ve run into a slight problem with my URL structure. The following patterns are defined in my URL configuration:
The second pattern is always matched for both these URLs. This means when a user visits /foo/search/by-name, the second pattern applies: fooBean.fooType is set to "search" and fooBean.fooId is set to "by-name".
Is there some way of forcing the pattern matcher to distinguish between these URLs? The second pattern expects an integer as the last part of the URL. Can this be done with regular expressions or something (similar to Django)?
Enjoying using the library. Thanks for the great work!