I'm using one of the newest daily builds of struts, and I am employing
modules within my app.  Each struts config file declares tiles as a plugin
and its associated tiles-XXX.xml mapping.  What is strange to me is that
while the struts actions are all relative to its module name, the tiles defs
are still relative to the context of the app, even tho they are being
declared on a per module basis.  Here's how I'm declaring it.. if anyone has
insight please help.

Example of the declaration within my struts-admin.xml module:
 <plug-in className="org.apache.struts.tiles.TilesPlugin">
  <set-property property="definitions-config"
value="/WEB-INF/tiles-defs/tiles-defs-admin.xml"/>
  <set-property property="moduleAware" value="true"/>
  <set-property property="definitions-parser-validate" value="true"/>
 </plug-in>

and yet within the definition i still have to specify /admin..
 <definition name=".admin.user.userList" extends=".base">
  <put name="body" value="/admin/user/userList.jsp"/>
 </definition>

Any ideas?
thanks,
David Erickson


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to