Hi list, I've got an entity "Area" which can have child-Areas asf. I want to implement a component "AreaDisplay" that renders an actionLink for each area that shall update a zone with children. The tml is as follows:
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter"> <div> <a href="#" t:type="ActionLink" t:id="toggleChildren" t:zone="childrenZone" t:disabled="${toggleChildrenDisabled}"> ${area.name} (${childrenSize}) </a> </div> <ul t:type="zone" t:id="childrenZone" t:visible="childrenVisible"> <li t:type="loop" t:id="childEntries" t:value="childEntry"> <t:AreaDisplay area="area" /> </li> </ul> </t:container> I get an exception telling me that components must not contain themselves. Could someone give me a hint how to implement this. Thanks in advance, nillehammer