Hello all

How come the contrib:Table can't be combined with a @For component properly?

<table jwcid="[EMAIL PROTECTED]:Table" id="conversationsPlaceHolder" source="ognl:posts" columns="Subject:title, Comments:childPosts, Posted:createdDate, Posted by:authorId, Tags"
                                 class="tableheader" >
                <tr jwcid="[EMAIL PROTECTED]">
<span jwcid="@For" source="ognl:posts" value="ognl:post"> <span jwcid="@For" source="ognl:getTags(post.id)" value="ognl:tag">
                                         </span>
<span jwcid="@Insert" value="ognl:tag.name"></span>
                                    </span>
</tr> </table>

This will insert three lines of <span jwcid="@Insert" value="ognl:tag.name"></span> per @For loop instead of one because the number of objects returned from the collection of posts in the contrib:Table is three. Is there a work around for iterating through collections in
overridden blocks which works correctly?

Thanks!

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

Reply via email to