James and Dan turned me on to tiles. I love them - as I love any tool that
simplifies what I was already doing via brute force. :-)

I feel I'm on the verge of a new level of understanding, but sadly, haven't
quite crossed over.

In my tiles structure, I want to have my pages get their titles from the
application resource.

So I dutifully created a titleKey attribute in my tile-description.xml, like
so:
<definition name="StandardLayout" path="/Jsps/Templates/TemplateMain.jsp">
  <put name="titleKey" value="some.resource.key"/>
  <put name="header" value="/Jsps/Tiles/TileHeader.jsp"/>
  <put name="content" value="/Jsps/Tiles/TileWelcome.jsp"/>
  <put name="menu" value="/Jsps/Tiles/TileMenu.jsp"/>
</definition>

In my TemplateMain.jsp, I want to take that titleKey and look up the proper
title string from my application resource file.

But I can't figure out how to access the value of the titleKey attribute
into the key field of the bean:message tag.

Is this possible?

One day a light will go on in my head, and I won't feel so confused by all
this. :-)

Jefficus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to