Hi,

Is it possible to do this:

/user
/user/{id}
/user/list

The problem comes from the app thinking list is just a {id} variable. I thought router.setRoutingMode(Router.FIRST) sounded like it would pick the route I wished by the order they were attached.
In which case this would work:

/user
/user/list
/user/{id}

However, it seems to not work like that. No matter what order I attach the routes they seem to end up in the same order in a RouteList. I also need to have optional parameters attached to all of the urls.


Any ideas?

Best Regards,

Jon

Reply via email to