struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Eckart" <>
Subject Re: OT: Tiles and Tags
Date Fri, 27 Jun 2008 11:21:19 GMT
Sorry :-)
I want to set the attributes of the menu tag like menuBar or
menuItemKey from a tiles.xml

I tried to set the attribute with:

	<menu:menu menuBar="<tiles:useAttribute name="menuBar"/>"
menuItemKey="menu.item.customersearch" />

I get then /> in the menuBar member. I think nesting tiles tags in
custom tags does not work? But how can I do this?

My tiles definition is this:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD
Tiles Configuration 2.0//EN"
  	<definition name="schufa.HelloWorldPage" extends=".mainLayout" >
  		<put-attribute name="titleKey" value="title.schufa"/>
  		<put-attribute name="menuItemKey" value="menu.item.customersearch"/>
  		<put-attribute name="menuBar" value="Main"/>
  		<put-attribute name="body"
value="/de/seb/schufa/view/HelloWorldTiles.ftl" type="template" />

2008/6/27 Antonio Petrelli <>:
> 2008/6/27 Marc Eckart <>:
>> Now we want to make the attributes of the menu tag configurable with tiles.
>> I have no clue how to do this.
> What are you trying to accomplish? Be clearer please.
> Antonio
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message