This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JSF and the fly likes My RIA approach Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "My RIA approach" Watch "My RIA approach" New topic

My RIA approach

Krystian Gor
Ranch Hand

Joined: Jan 11, 2011
Posts: 30
I want to build RIA using JSF2 (with ICEfaces2), but my question is about RIAs in general. As far as I know one of the requirements of RIA is one page UI, where most of the page is constant and only regions of page are changed. My approach is to have one index.xhtml page where I mask many elements by using rendered attribute to show and hide contents of pages while "header" never changes.

This way all of my action methods return null, but during execution I only change state of boolean variables to toggle dynamic content.
I doubt it's a good attempt. Any tips on how to do it the right way?
I agree. Here's the link:
subject: My RIA approach
jQuery in Action, 3rd edition