• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

navigation problem in jsf

 
Marembo Ochieng'
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

What can be the problem?
 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marembo Ochieng'
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks man. actually, i found out that my included pages contained a littler errors. they had un-opened form tag
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic