Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we have multiple tile-def file ?

 
Nakata kokuyo
Ranch Hand
Posts: 471
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 471
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Seetesh Hindlekar for guidance, i do search around using google, i can't find related resources
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic