Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to call different JSF page without refreshing the page

 
Harini nataraj
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have an scenario where i have to call different JSF page based on some criteria, but each time when I make a call the page should not be refreshed. Keeping everything in one page seems to have huge code. I m really wondering if it is possible or not!!! some help or suggestion appreciated.
 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just have the main view in one file. Take the different "pages" as separate view files and use an include tag for each of them them on the main view. If each included view is on a separate panel, you can set them to render when they're needed, and not render when they aren't.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic