I believe Mike Nash is planning to do some work on this on the Expresso side as well.
John Menke wrote: > > I would like to use Expresso with Tiles. Looking into the Struts resources > section I found an entry for Multiple Controllers. This appears to be what > is needed to get Expresso and Tiles working together. As per another > previous post on the list: > > ------------------------------- > From: Peter Georgiou > Subject: Using tiles and expresso > Date: Sun, 18 Nov 2001 09:14:50 -0800 > > Hi > > My question regards using struts with tiles and expresso. For tiles I need > to define in web.xml: > > org.apache.struts.tiles.ActionComponentServlet and for expresso I need > to define in web.xml: > > com.jcorporate.expresso.core.controller.ExpressoActionServlet. > > If I want to use both Tiles and Expresso what can I do to include both of > the required Action classes. The only way I can think of is to include the > implementation of one within the other. I'm ion.assuming that I can only > use one Action servlet within an applicat > > Thanks > > Peter > > --------------------- > > Can the "multiple controllers" strategy be used to handle this: > > Here is an excerpt from the README on Multiple Controllers > > ---- > > Include the context attribute with the value of an action servlet name (from > the <servlet-name> tag in the web.xml file) in the Struts custom tags that > are affected by the fact that there are more than one action servlet in the > web application. For simplicity, you can make sure to use the > <struts-html:html> tag in all of your JSP pages and specify the context > attribute for just that tag so that it will be global to all Struts tags > inside the pages (e.g., <struts-html:html context="TestActionServlet">). > > ----- > > So maybe for tiles tags I could use > > <tiles: insert context="ActionComponentServlet"> > > And the expresso tags would be the default context. > > Using this I think all the Tiles tags would have to be made multiple context > aware. It might be better to create an Action Servlet that combines the > properties of both ActionComponentServlet and ExpressoActionServlet as > stated by others on the list. > > Anyone have any ideas on how to achieve this integration? > > -john > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>