Hello All,

I am trying to pass a string (defined in tiles-defs.xml) to my main layout, to be used as a key in a tag.


My Setup:

In main-layout.jsp
===================
...
<div class="crumb">
<presentation:crumb key="<tiles:getAsString name="crumbTitleKey"/>" link="<%=(String)request.getAttribute("page") %>"/>
</div>
...

In tiles-defs.xml
==================
... page 1 ...
<put name="crumbTitleKey" value="crumbs.home" />
...

... page 2 ...
<put name="crumbTitleKey" value="crumbs.browse" />
...

Problem
========
This doesn't work because I can't nest the tiles:getAsString tag within the presentation tag (or any other tag like c:set).

Do you guys have any ideas on how I can accomplish what I'm trying to do here?

Thanks.
Aladin


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

Reply via email to