Recursive components are not supported in Tapestry 3.x.  Here's an
explanation and a potential solution:

http://www.behindthesite.com/blog/C1931765677/E923478269/index.html

Thanks,
Mark

On 5/23/05, pepone pepone <[EMAIL PROTECTED]> wrote:
> I have a TreeItem component and i want that if TreeItemModel hasChilds
> render it in a Foreach component but allways i get a
> java.lang.StackOverFlow exception
> 
> here is the component
> 
> <span jwcid="$content$">
>         <div class="Label">
>                 <div jwcid="@Insert" value="ognl:model.getLabel(0)"/>
>     </div>
>     <div jwcid="@Conditional" condition="ognl:model.hasChilds()">
>             <div class="Childs">
>                <div jwcid="@Foreach" source="ognl:model.iterator" 
> value="ognl:item">
>                            <div jwcid="@TreeItemView" model="ognl:object"/>
>                 </div>
>             </div>
>     </div>
> </span>
> 
> ---------------------------------------------------------------------
> 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