GeeCON Prague 2014*
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.

 
GeeCON Prague 2014
 
subject: Is this a correct approach to use subviews for partial page refresh?