This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Onload script does not work in subview page
rich:dropDownMenu fails in Chrome 6 and Safari 4/5
Needing to build jsf page with three content panes (forms?), looking for template
trying to use tomahawk and rich faces jar?
How to create Richfaces menus in Vertical?