This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Multiple Inheritance in Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple Inheritance in Tiles" Watch "Multiple Inheritance in Tiles" New topic
Author

Multiple Inheritance in Tiles

Subir Kumar Sinha
Greenhorn

Joined: Mar 31, 2010
Posts: 2
Hi,

Probably the answer to this question is no,but is it possible for a page to inherit for more than one layout JSPs in tiles?

Actually what I'm trying to achieve is this - I want to have more than one layout JSP file for the site for different styles. A set of pages will use one layout JSP and other sets will use other. I also have a javascript file that I want to include on all pages irrespective of what layout the pages use. I was thinking of including all global javascript imports in one parent layout JSP and other layout JSP to extend from this parent, so that global javascript files become available to all pages irrespective of what layout they follow. Is it possible to achieve or is there a better way to do this.

Thanks,
Subir.
Subir Kumar Sinha
Greenhorn

Joined: Mar 31, 2010
Posts: 2
Guys, if somebody has an idea please reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Inheritance in Tiles