This content has been marked as final.
Show 1 reply
-
1. Re: pages.xml Navigation after parameterized action method
spoonman May 20, 2009 5:14 PM (in response to mrlueck)You need to have equal Strings (in terms of String#equals) for your action to work. For example:
mypage.xhtml:
<h:commandButton action="#{someAction.someMethod(product.id)}" value="Buy"/>
pages.xml:
<navigation from-action="#{someAction.someMethod(product.id)}" />