[Seaside] Seaside: children problem

Randal L. Schwartz merlyn at stonehenge.com
Sat Dec 29 16:33:10 UTC 2007


>>>>> "Randal" == Randal L Schwartz <merlyn at stonehenge.com> writes:

>>>>> "an" == an organic <seasidebeginner at gmail.com> writes:
an> Hello,
an> i am new with seaside and i want make this demo:

an> class Site root component:

an> children
an> ^ Array with: self menu

an> renderContentOn: html
an> html div class: 'site'; with: [
an> html div class: 'menu'; with: self menu.
an> ]

Randal> If you have a child component, from what I understand so far,
Randal> you want to call:

Randal>     html render: self menu

Randal> not

Randal>     html with: self menu

Randal> because #render: sets up additional framework things for the child.

And I was wrong in that description as well.  You're sending
with: to a brush, not the canvas.  But my original intention applies. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the seaside mailing list