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']}"/>
       </s:link>
      </p>
      


      that calls the method:

      @End
      public String cancel(){
       return "";
      }
      


      and in pages.xml has:

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


      but before redirect the data is always updated, why?