Passing redirect-param in faces-config in jsf-2.2
问题 In old jsf the following code was working <navigation-rule> <from-view-id>/page1.xhtml</from-view-id> <navigation-case> <from-outcome>true</from-outcome> <to-view-id>/page2.xhtml</to-view-id> <redirect> <view-param> <name>id</name> <value>#{myBean.id}</value> </view-param> </redirect> </navigation-case> </navigation-rule> page1.xhtml code : <f:metadata> <f:viewParam id="id" name="id" value="#{myBean.id}" /> <f:viewAction action="#{myBean.init()}"/> </f:metadata> Java code : public class