Note that if the specified URL-mapping ID requires any parameters, the current values found in the required managed bean locations will be used when navigating.
<h:commandLink action="pretty:home"> Go home. </h:commandLink>
Navigating directly from a command component is most commonly used for refreshing a page:
<h:commandLink action="pretty:"> Refresh this page. </h:commandLink>