aspose file tools*
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
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
 
Similar Threads
How are tiles different than include?
struts tiles: would you recommend it?
What is the best to achieve this sort of layouts ? (Newbie)
doubts realted to include directive
tiles:insert vs jsp:include - Templates?