• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to get action for menu options while using rich:menuItem tag of rich faces  RSS feed

 
pavani durga
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used rich faces tags rich:dropDownMenu and rich:menuItem to get a menu.I am able to get a menu like option1 with 3 suboptions but unable to get action while click on them.

my code is..

menu.jsp:

<rich:dropDownMenu value="Option1" submitMode="none"
direction="bottom-right" jointPoint="tr" >
<rich:menuItem submitMode="none" value="Suboption1-1" action="menu"></rich:menuItem>
<rich:menuItem value="Suboption1-2" action="menu"></rich:menuItem>
<rich:menuItem value="Suboption1-3" action="menu"></rich:menuItem>
</rich:dropDownMenu>

I have following navigation rule in faces-config.xml

faces-config.xml

<navigation-rule>
<display-name>menuBean.menuAction</display-name>
<from-view-id>/menu.jsp</from-view-id>
<navigation-case>
<from-outcome>menu</from-outcome>
<to-view-id>/result.jsp</to-view-id>
</navigation-case>
</navigation-rule>


Can anybody please help me to get action for menu.
 
Srinivas Kasani
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you find the solution for the problem.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!