• 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
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

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
 
I love a good mentalist. And so does this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!