4
votes

Hi I use JSF and PrimeFaces and I'd like to make button called back which will do the same as back button in browser. Can someone tell a method how to achive this?

1

1 Answers

5
votes
<p:commandButton value="GO BACK!" onclick="window.history.back();"/>