• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

navigation problem in jsf

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 101
Spring Flex Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic