Hi friends,
I am using JSF/Rich Faces with Spring Webflow. I am implementing a functionality where in I have a drop down menu, where with each selection I need to trigger different transition in the webflow.
For Example I have a drop down with values [Admin, Home, Logout, Search]
On select of any of these items I should fire an appropriate transition from Spring webflow.
Eg:
<transition on="admin">
<evaluate expression="testProgram.getAdminDetails" result="flowScope.adminList"/>
<evaluate expression="testProgram.getUserInfo" result="flowScope.userInfo"/>
</tansition>
<transition on="home">
<evaluate expression="testProgram.clearMyInfo" />
</tansition>
Here i have seperate transitions on for each of the menu items; how can I call appropriate transitions on select of a specific field from dropdown.
Thanks.