Simplica

ProductsLearnPurchaseSupportDemoDownload
  [Search] Search   [Recent Topics] Recent Topics  
Messages posted by: caroline
Profile for caroline -> Messages posted by caroline [1]
Author Message
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.
 
Profile for caroline -> Messages posted by caroline [1]
Go to:   
Powered by JForum 2.1.7 © JForum Team
Home   |  News   |  Contact   |  About   |  License   |  Privacy   |  Documentation
Copyright © 2009 Simplica Corporation. All rights reserved.