This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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