[Seaside] SC tutorial question / Seaside 2.8 / html
attributeAt: 'border' put: 1. problem
Oleg Richards
orichards at mail.ru
Wed Oct 3 09:42:00 UTC 2007
Hello Barry!
I think that you should do following instead your attributeAt:
html table style: 'border: 1'; with: [
html tableRow: [....].
html tableRow: [....].
html tableRow: [....].
]
Cheers, Oleg
barry10 wrote:
>
> hi,
>
> i'm a seaside newby doing the
> http://www.shaffer-consulting.com/david/Seaside/RenderingBasics/index.html
> tutorial in seasdie 2.8 and can't get the following code work:
>
> html attributeAt: 'border' put: 1 (see also below for full code context)
>
>
> can you help?
> Thanks,
>
> Barry
>
>
> btw is there a webpage with up to date syntax info ?
>
>
> ______________________________
>
> the context of my code problem is:
>
> renderContentOn: html
> html heading: 'Hello world' level: 1.
> html paragraph: 'Welcome to my Seaside web site. In the future you
> will find all sorts of applications here such as:'.
> html attributeAt: 'border' put: 1.
> html table:
> [html tableRow:
> [html tableData: 'Calendars'.
> html tableData: '1/1/2006'.
> html tableData: 'Track events, holidays etc'].
> html tableRow:
> [html tableData: 'Todo lists'.
> html tableData: '5/1/2006'.
> html tableData: 'Keep track of all the things you have to remember to
> do.'].
> html tableRow:
> [html tableData: 'Shopping carts'.
> html tableData: '8/1/2006'.
> html tableData: 'Enable your customers to shop online.']]
>
--
View this message in context: http://www.nabble.com/SC-tutorial-question---Seaside-2.8---html-attributeAt%3A-%27border%27-put%3A-1.-problem-tf4560487.html#a13015253
Sent from the Squeak - Seaside mailing list archive at Nabble.com.
More information about the Seaside
mailing list