[jboss-user] [JBoss Seam] - Action method with parameter and JSF Navigation
terryb
do-not-reply at jboss.com
Wed Oct 3 14:04:24 EDT 2007
When a JSF page has action method with parameter, is it possible to use that method in pages.xml for navigation rule?
myjsf.xhtml:
...
...
<h:commandButton value="Change Password" action="#{orgUserAction.changePassword(identity.username)}"/>
This following navigation rule does not fire.
myjsf.page.xml:
[page login-required="true"]
[navigation from-action="#{orgUserAction.changePassword}"]
[rule if="#{orgUserAction.passwordChanged}"]
[redirect view-id="/member/password-changed.xhtml"/]
[/rule]
[/navigation]
[/page]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091179#4091179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091179
More information about the jboss-user
mailing list