aspose file tools*
The moose likes Struts and the fly likes Tiles 411 Help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles 411 Help!" Watch "Tiles 411 Help!" New topic
Author

Tiles 411 Help!

Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401
Tiles 2.0. Cool. It's out of struts!

But the docs are not monkey-friendly. Not even human-friendly

I'm getting frustrated at guessing.

I wish I could post UML on the forum. That would make it easy to explain what I want to do.

Nevertheless, I'll try and explain my best.

I want to have a master-layout that has a head and a body (attributes, or decorated content). These attributes, head and body, are also templates that have attributes (decorated content).

Main layout works, but I don't know how to set the pageCSS, et c.


tiles-defs.xml
main-layout.jsp


index.jsp:

The result:

What happened to the index.css file that I invoked in index.jsp (using <tiles utAttribute name="pageCSS")? The value is a valid URL -- I checked it in the browser.

I'm super frustrated with this. Been working on it with no help, just the tlddoc.

TIA

Garrett


comp.lang.javascript FAQ: http://jibbering.com/faq/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiles 411 Help!