Custom HandleNavigation
Hi,
I am new to JSF and i have one requirement which needs to be fulfilled. Here is the scenario:
Whenever a user submits a URL, i want to follow my custom navigation handling mechanism (This mechanism is based on Spring WebFlow). For which I have a xml which states how the flow should happen.
This is Sample XML:
<?xml version="1.0" encoding="utf-8" ?>
<n:page-flow
xmlns:n="http://FIC.Framework.UI.Navigation/Schema/NavigationSpecification"
start-state="Login">
<!-- ***************** Login Action ******************* -->
<view-state id="Login" page="Login">
<transition on="submit" to="authenticateUser"/>
<transition on="cancel" to="Login"/>
</view-state>
<action-state id="authenticateUser" action="authenticateUser">
<transition on="4201" to="Login"/>
<transition on="0" to="HomePage"/>
</action-state>
<end-state id="HomePage"/>
</n:page-flow>
I have written the code to handle navigation but now I want to replace that with current JSF Navigation mechanism.
I have a class NavigationHandler in which handleNavigation is specified which takes my custom NavigationContext(and not the FacesContext).
Can anyone help me in this please..
Regards
Pankaj

