CommandLink

Usaremos los <p:commandLink> para desplazarnos entre las paginas

en list.xhtml agregar

 <p:commandLink value="new" action="new"/>
                <br></br>
  <p:commandLink value="index" action="index"/>

en new.xhtml agregar

 <p:commandLink value="list" action="list"/>
                <br></br>
                <p:commandLink value="index" action="index"/>

Last updated

Was this helpful?