[Seaside] Recursion

Markus Fritsche Fritsche.Markus@gmx.net
Mon, 17 Jun 2002 16:42:07 +0100


How do I handle recursion? My first, naive try:

WBCategoryViewer:

html
    ^ '<table>
        <tr>
            <td>[name]</td>
            <td>[comment]</td>

            <table><tr sea:id="each/subcategories">
            <page sea:id="category"></page>
            </tr></table>

        </tr>
    </table>
    '

addBindingsTo: template
    (template elementNamed: 'category') class: WBCategoryViewer;
         set: #category toPath: 'each'

subcategories
    ^category subcategories

doesn't work (as expected :).

Btw.: How can I stop execution in such a case?

Thanks, Markus