I would like to get outcome value from navigation rules into a request scoped JSF 2 bean. How can I do that?
For example, when I press on a <h:link outcome="contacts">
and end up in the contacts page, then I would like to get the outcome "contacts"
in the backing bean associated with the navigation menu.
faces-config.xml
<navigation-rule>
...
<navigation-case>
<from-outcome>contacts</from-outcome>
<to-view-id>/pages/contacts.xhtml</to-view-id>
</navigation-case>
...
</navigation-rule>