This content has been marked as final.
Show 2 replies
-
1. How to navigate to a page after bean is called
satyakatti Feb 12, 2011 2:28 PM (in response to satyakatti)Otherwise I would like to put it this way :
When I click on the menuItem, I would like to initialise some List for dropdown values from DB before navigating to view where I make use of the the List for dropDown display.
How this could be done?
Regards,
Satya
-
2. How to navigate to a page after bean is called
satyakatti Feb 14, 2011 12:47 PM (in response to satyakatti)That seems to be pretty simple after I figured out how to do that.
I added action aswell as actionListener for the rich:menuItem and it worked as I wanted it to.
<rich:menuItem value="#{msgs.menuAddMember}" action="addMemberAction" actionListener="#{memberBean.addNew}"/>
With above code, 1st listener is invoked which will populate dropdown values and then move to view which makes use of those dropdowns.
Regards,
Satya