SyntaxFix
Write A Post
Hire A Developer
Questions
You can do it using Primefaces like this :
<p:button outcome="/page2.xhtml?faces-redirect=true&id=#{myBean.id}"> </p:button>