2 Replies Latest reply on Oct 3, 2007 2:20 PM by Terry

    Action method with parameter and JSF Navigation

    Terry Apprentice

      When a JSF page has action method with parameter, is it possible to use that method in pages.xml for navigation rule?


      <h:commandButton value="Change Password" action="#{orgUserAction.changePassword(identity.username)}"/>

      This following navigation rule does not fire.

      [page login-required="true"]
      [navigation from-action="#{orgUserAction.changePassword}"]
      [rule if="#{orgUserAction.passwordChanged}"]
      [redirect view-id="/member/password-changed.xhtml"/]