[Seaside] Seaside 2.6 Example?
Jeremy Shute
shutej at crazilocks.com
Tue Jan 24 22:56:34 CET 2006
I know. :-) I was looking for an example that allowed me to talk about
the "with:" message as brushing to the screen... So, hello world ended up
in a div.
Jeremy
>> 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.
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
GPG PUBLIC KEY: 0xA2B36CE5
More information about the Seaside
mailing list