Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tiles 411 Help!

 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic