Reply To: how to use param of h:commandLink with rewrite module

Splash Forums Rewrite Users how to use param of h:commandLink with rewrite module Reply To: how to use param of h:commandLink with rewrite module

#26967

If your commandLink is calling an action method, then your action method must return a redirecting navigation string. We have a utility for this:

https://github.com/ocpsoft/rewrite/blob/master/integration-faces/src/main/java/org/ocpsoft/rewrite/faces/navigate/Navigate.java#L34

return Navigate.to("/some/other/page.xhtml")