Hi Christian,

OK. Is it possible to use Struts + Tiles and JSF + Facelets togehter in one 
application? Is there any example or Tutorial?

Yes. I did the same.
I have parts of my demo with "legacy Struts/Tiles duo" and the
*overhauled* part was done in JavaServer(tm) Faces with Facelets.

I also have a *Legacy(Tiles)RequestProcessor* which creates a
FacesContext for each request.

With that you can get *easy* access to the managed bean facility. I
added a method like

 protected Object getManagedBean(String ref)
 {
   FacesContext context = FacesContext.getCurrentInstance();
   return context.getApplication().getVariableResolver().
     resolveVariable(context, ref);
 }


to my *base* action class.

Let me know where to send the demo (a maven2 project).

Greetz,
Matthias

Reply via email to