[Seaside] Iterations

Markus Fritsche Fritsche.Markus@gmx.net
Mon, 17 Jun 2002 10:33:22 +0100


Hi!

seaside-0.9.3

I do not understand completely how I could use an iteration. Following 
example: I have a class WebBookmarks with

html
    ^ '
    <link rel=stylesheet 
href="http://mfritsche.dyndns.org/phpbm/style.css" type="text/css">

    <table><tr sea:id="each/categories"><wbcategory 
sea:id="each"></wbcategory></tr><table>

    '
"categories is a collection of WBCategory s"

addBindingsTo: template
    (template elementNamed: 'each/categories') set: #list toPath: 
'categories'

and simply, in WBCategory:

html
    ^ '[name]'

What is missing/ what should I change?

Thanks for your help,
            Markus