jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes Using tiles, can I extend definitions which are defied in other tiles-defs.xml file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using tiles, can I extend definitions which are defied in other tiles-defs.xml file?" Watch "Using tiles, can I extend definitions which are defied in other tiles-defs.xml file?" New topic
Author

Using tiles, can I extend definitions which are defied in other tiles-defs.xml file?

Hao Zhang
Greenhorn

Joined: May 10, 2004
Posts: 4
In the default module, I defined this:


I have some sub-modules, such as sysuser module, in struts-config-user.xml, I wrote this:


in tiles-defs-user.xml, I want to define a definition "userLayout" extend the definition "classicLayout" which is defined in tiles-defs.xml, but It doesn't work when I tried to forward to "userLayout" in user module.

I want to do this because several members will work on this project, and the central tiles-defs.xml will cause a lot of merge.

thanks.
[ August 22, 2004: Message edited by: Hao Zhang ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Using tiles, can I extend definitions which are defied in other tiles-defs.xml file?
 
Similar Threads
Stuts config plug-in element
Need a special servlet for Tiles in Struts?
can we have multiple tile-def file ?
Struts modules and tiles
Tiles problem