File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes how to call different JSF page without refreshing the page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "how to call different JSF page without refreshing the page" Watch "how to call different JSF page without refreshing the page" New topic
Author

how to call different JSF page without refreshing the page

Harini nataraj
Greenhorn

Joined: Jan 10, 2012
Posts: 10

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

Joined: Apr 12, 2011
Posts: 200

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.
 
 
subject: how to call different JSF page without refreshing the page