Reply To: [solved] How do I use the outcome parameter with Rewrite? (Ans: use annotations)

Splash Forums Rewrite Users [solved] How do I use the outcome parameter with Rewrite? (Ans: use annotations) Reply To: [solved] How do I use the outcome parameter with Rewrite? (Ans: use annotations)

#25882

You have to use the plain JSF view for the outcome like this:

<p:button value="Register" outcome="/Register.xhtml" />

And to get nice redirects, you should do this:

<p:button value="Register" outcome="/Register.xhtml?faces-redirect=true" />