Hi

What you are describing works - I have several apps where I do this sort
of thing

Hermod

-----Original Message-----
From: Hauschel Fred [mailto:[EMAIL PROTECTED]
Sent: Friday, March 11, 2005 10:12 AM
To: Struts Users Mailing List
Subject: Tile in Tile -> possible?


Hey,

is it possible to extend a Definition and overload a tile by a new
definition?

 

What I want is:

My Base Struts Module should have a simple baseDefinition:



<tiles-definitions>

    <definition name=".cpfDefinition" path="/cpfLayout.jsp" >

      <put name="de.sagIchNich.cp.cpfextension"
value="/cpfdefault.jsp"/>

    </definition>

</tiles-definitions>

 

This base should be extended by another Module.

 

<tiles-definitions>

    <definition name="de.sagIchNich.cp.topmenue"
extends=".cpfDefinition">

      <put name="de.sagIchNich.cp.cpfextension"
value="de.sagIchNich.cp.topmenue.componen"/>

    </definition>

 

    <definition name="de.sagIchNich.cp.topmenue.component"
path="/plugins/topmenue/topmenueLayout.jsp" >

      <put name="de.sagIchNich.cp.topmenue.top"
value="/plugins/topmenue/start.jsp"/>

            <put name="de.sagIchNich.cp.topmenue.bottom"
value="/plugins/topmenue/start.jsp"/>

    </definition>

</tiles-definitions>

 

But I think that is not possible.

Is there another way to something like this?

 

Maybe:

<tiles-definitions>

    <definition name="de.sagIchNich.cp.topmenue"
extends=".cpfDefinition">

      <put name="de.sagIchNich.cp.cpfextension" value="subLayout.jsp"/>

<put name="sublayoutTile1" value="first.jsp"/>

<put name="sublayoutTile2" value="second.jsp"/>

    </definition>

</tiles-definitions>

 

 

Thanks Fredy



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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

Reply via email to