I posted a question earlier as to whether it was possible to have a module based web-app with each module having its own tiles defs configuration. The tiles-documentation web app is a working example of this. So that answers my first question. On looking at the details of the webapp the tiles-defs are within each module configuration as follows:
struts-tutorial-config module <plug-in className="org.apache.struts.tiles.TilesPlugin" > <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml, /WEB-INF/tiles-tutorial-defs.xml" /> <set-property property="moduleAware" value="true" /> </plug-in>
struts-doc-config module
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml, /WEB-INF/tiles-doc-defs.xml" />
<set-property property="moduleAware" value="true" />
</plug-in>
struts-config module <plug-in className="org.apache.struts.tiles.TilesPlugin" > <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" /> <set-property property="moduleAware" value="true" /> </plug-in>
etc.....
can someone explain to me the significance of specifying the tiles-defs in this way? is this to make paths defined in one tiles-defs file available to another module? Is there any other significance of having multiple tiles-defs declared within each module?
cheers Nathan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]