Re: URLMapping pattern vs query parameters

Splash Forums PrettyFaces Users URLMapping pattern vs query parameters Re: URLMapping pattern vs query parameters

#21208

Why not just call an action method that sets the value of ManageAccount.id and returns “pretty:managedAccount”?

That should perform a navigation whether you want to use either a commandButton or a commandLink.

http://ocpsoft.com/docs/prettyfaces/3.3.0/en-US/html_single/#navigation.actions

However, I do recommend using <pretty:link> or <h:link> instead, since those are more fitted toward this use-case. If you need to use a button, you could also consider <pretty:urlbuffer> and some JavaScript.