4 Replies Latest reply on Sep 11, 2007 7:08 AM by Sergio R Pantano

    Updating data with cancelled button

    Sergio R Pantano Newbie

      When I click in this button:

      <p class="botao_cancelar">
       <s:link action="#{userHome.cancel}">
       <h:outputText style="vertical-align:middle;" value="#{messages['Cancel']}"/>

      that calls the method:

      public String cancel(){
       return "";

      and in pages.xml has:

      <navigation from-action="#{userHome.cancel}">
       <redirect view-id="/user/view.xhtml"/>

      but before redirect the data is always updated, why?