got it

  | <h:commandButton action="#{controller.cancel}" value="Cancel" 
immediate="true" type="submit"/>
  | 

Now I can...


  | 
  | controller
  | 
  |     @End
  |     public String cancel() {
  |             log.info("Cancelled request");
  |                 // Other cleanup; release resource etc.
  |             return "mainMenu";
  |     }
  | 
  | 


End.
Thx.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985388
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to