• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Tiles 411 Help!

 
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
reply
    Bookmark Topic Watch Topic
  • New Topic