0 Replies Latest reply on Oct 17, 2011 1:39 PM by Ivan Costa

    How to browse back after jsFunction action

    Ivan Costa Newbie

      Hi,

       

      I have a datatable in PageA and I use a a4j:jsFunction on onRowClick to render PageB:

       

      <rich:dataTable id="datatable1"

           var="item"

           onRowClick="cliqueLinha('#{item.id}');"

      >

       

      <a4j:jsFunction name="cliqueLinha" action="#{viveiroSaida.editar}" >

           <f:param name="idViveiroSaida">

           </f:param>

      </a4j:jsFunction>

       

      This just works fine. My problem is I would like to come back from PageB to PageA with the browser's back button, but jsFunction sends an Ajax request and navigation becomes wrong.

      How can I solve this?

       

      Using RichFaces 3.3.3

       

      Thanks in advance

      Ivan