File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!