aspose file tools*
The moose likes Struts and the fly likes can we have multiple tile-def file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "can we have multiple tile-def file ?" Watch "can we have multiple tile-def file ?" New topic
Author

can we have multiple tile-def file ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 437
good day, can we have multiple tiles definition file , in practical, is multiple tiles definition file necessary ?

thank you for guidance
Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
Hello,

I managed to create a user plugin and add the same to a new tiles-defs.xml.

struts-config.xml
=================
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<!-- Path to XML definition file -->
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
<set-property property="seet-definitions-config" value="/WEB-INF/seet-tiles-defs.xml" />

<!-- Set Module-awareness to true -->
<set-property property="moduleAware" value="true" />
</plug-in>


No issues faced.

rgds,

Seetesh
Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 437
thanks Seetesh Hindlekar for guidance, i do search around using google, i can't find related resources
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we have multiple tile-def file ?
 
Similar Threads
Tiles question
JSF and tiles
struts validator and tiles
Multiple Tiles Definition files OR passing parameters to tiles.xml at runtime
confusion on struts tile