Splash › Forums › PrettyFaces Users › Navigation Issue › Re: Navigation Issue
No, there is no button component in PrettyFaces. But if you want a button you could do something like this:
<h:commandButton action="pretty:home" .... />
But clicking this button will create a postback to the old view followed by a redirect to the new page. So this will lead to two requests instead of only one.
If you find our tools useful, please consider making a donation to help us stay online and building software!