• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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
 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic