Hi,
I have a cell in the menubar like below:
<e:menucell value="Login" action="#{horizontalNavigatorBean.login}" ajax="false"/>
and in horizontalNavigatorBean login is declared as follows:
public String login()
{
return "login";
}
In faces-config.xml I have the following navigation rule to direct the user to login.jsp.
Code:
<navigation-rule>
<description>Global navigation rules.</description>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>login</from-outcome>
<to-view-id>/login.jsp</to-view-id>
</navigation-case>
</navigation-rule>
but still it does not carry out the navigation to another page.
|