[Seaside] SC tutorial question / Seaside 2.8 / html attributeAt:
'border' put: 1. problem
Rajeev Lochan
lochan94 at gmail.com
Wed Oct 3 10:02:58 UTC 2007
Hi Barry,
Check out
http://lists.squeakfoundation.org/pipermail/seaside/2007-July/012773.html
The code in the SC tutorial should be edited a bit for Seaside 2.7 and 2.8.
The changes in the above mail holds good for 2.7 and should also work
on 2.8decently.
Hope that helps,
Rajeev
On 10/3/07, Oleg Richards <orichards at mail.ru> wrote:
>
>
> 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.
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Rajeev Lochan
Co-founder, AR-CAD.com
http://www.ar-cad.com
+91 9243468076 (Bangalore)
080 65355873
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071003/ee829a6f/attachment.htm
More information about the Seaside
mailing list