Re: Move URL parameter position

Splash Forums PrettyFaces Users Move URL parameter position Re: Move URL parameter position

#20570

I should add that you are correct, the ‘cleaner’ way to do this would be to write a url-mapping for each page on which you wish to perform the operation.

There is currently no way to specify a global url-mapping, however, perhaps the parent URL-mapping functionality would be of interest:

http://ocpsoft.com/docs/prettyfaces/snapshot/en-US/html/Configuration.html#config.mapping.parents

The problem with global mappings is that they are not in fact a true mapping, they are more of a rewrite rule. It may however be beneficial to support the url/pattern/#{param} syntax in rewrite rules. I will add an issue for this:

http://code.google.com/p/prettyfaces/issues/detail?id=80