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 Is this a correct approach to use subviews for partial page refresh? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Is this a correct approach to use subviews for partial page refresh?" Watch "Is this a correct approach to use subviews for partial page refresh?" New topic
Author

Is this a correct approach to use subviews for partial page refresh?

Wen Ping Fong
Greenhorn

Joined: Oct 31, 2009
Posts: 4
Hi everyone,

I would like to seek your advice, whether the following approach to implement partial page refresh using subviews is correct.

This is the main jsf page that holds a menu subview and a content subview:




The uncompleted menu.jsp in /modules/menu/pages folder looks something like this:




And the value of url in the c:import tag in contentForm is determined at the managed beans.

Basically the intention is to refresh only the content in



and keep the menu unrefreshed (partial page refresh).

Is this a correct approach?

* I noticed that this approach has a drawback where I will lose control of the navigation using the browser's Back and Forward buttons.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is this a correct approach to use subviews for partial page refresh?
 
Similar Threads
How to create Richfaces menus in Vertical?
Needing to build jsf page with three content panes (forms?), looking for template
rich:dropDownMenu fails in Chrome 6 and Safari 4/5
trying to use tomahawk and rich faces jar?
Onload script does not work in subview page