[jboss-user] [JBoss Seam] - Updating data with cancelled button

srpantano do-not-reply at jboss.com
Mon Sep 10 10:14:58 EDT 2007


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082632#4082632

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082632



More information about the jboss-user mailing list