how i do to makes that commandButton works without java code in pageflow

<h:commandButton id="cancel" value="#{messages.cancel}" 
action="#{actionName.cancel}"/>

and in java
public String cancel(){
return "cancel";
}

this works, but
<h:commandButton id="cancel" value="#{messages.cancel}" action="cancel"/>

dosen't works.. any idea?

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

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

Reply via email to