[Seaside] Seaside 2.6 Example?

Philippe Marschall philippe.marschall at gmail.com
Tue Jan 24 22:37:44 CET 2006


> WAComponent>>renderContentOn: html
>   (html div) with: [
>     html text: 'Hello World!'
>   ]

oh no, you can still do
html div: 'Hello World!'

the basic idea is that you have a tag instance to which you can cascade massages

html div
    id: 'smapleID';
    class: 'smapleClass';
    with: [
        html span ......  ]

and this api is the same for basically any html element (list, form,
...) not only div and span.

so you can also do

html anchor
    id: 'smapleID';
    class: 'smapleClass';
    with: [
        html span ......  ]

It was made especially with #on:of in mind.


More information about the Seaside mailing list