i am trying to navigate from my main.jsp jsf page to other pages through command buttons and links. i have defined the navigation s shown but it is not working. i simply come back to the main page as if page beans are returning null
There could be many reasons for your navigation not happening as expected.
1. Validation might be failing i.e., you would've given required="true", to some component.
2. If there's any rendered attribute for the commandbutton/link, then their state should be saved.
3. Each page should be enclosed within <f:view>. Is it declared properly?
4.If there are any html tags used in the jsf page, then they should be enclosed within <f:verbatim>
So check which one is causing problem for you.
Joined: Sep 12, 2009
thanks man. actually, i found out that my included pages contained a littler errors. they had un-opened form tag