> Hi!
> 
> Thx Martin!
> How can I integrate Shale into JSF (Sun RI)? Is there a tutorial about this?
> 
> Stefan Gesigora
> 
> 

Shale sits on top of JSF so it will run with the Sun RI and also runs on 
MyFaces.

You can find more on the Shale view controller here: 
http://struts.apache.org/shale/features.html#view

After reading this description, many people still don’t understand how to 
configure a ViewController outside of extending the abstract class or 
implementing the interface.

The key to the view controller is that it assumes a one to one mapping between 
the JSF viewId and the managed bean.  For example, if you name your JSP 
"pages/mypage.jsp", your view controller (special managed bean) must be 
registered in the faces config with an managed bean name of  
"pages$mypage.jsp".  

You of course are not limited to a single managed bean but only one view 
controller per JSF view.  

The use case examples are a good place to start.  The only problem is that each 
use case focuses on a specific feature.  We don't have an example that pulls it 
all together yet.

We can talk more on the Struts mailing list.

Gary
  



Reply via email to