Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Wen Ping Fong
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic