1 Reply Latest reply on Nov 4, 2007 4:57 PM by Pete Muir

    commandButton and pageflow transition....

    Francisco Philip Newbie

      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?