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"
"http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>
<tiles-definitions>
        <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" />
        </definition>   
</tiles-definitions>

2008/6/27 Antonio Petrelli <[EMAIL PROTECTED]>:
> 2008/6/27 Marc Eckart <[EMAIL PROTECTED]>:
>> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to