[Seaside] SC tutorial question / Seaside 2.8 / html attributeAt: 'border' put: 1. problem

barry10 barry_davis10 at hotmail.com
Wed Oct 3 10:49:35 UTC 2007


Hi Oleg,

Thanks for your reply. I now know how attributes work.

I can now do succesfully: html table style: 'font-family: Verdana,
sans-serif;'; with:

Althought html table style: 'border: 1'; with: for some very strange reason
still don't work,
could it be modern browsers does not render borders anymore??

Thanks,

Barry



Oleg Richards 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#a13016532
Sent from the Squeak - Seaside mailing list archive at Nabble.com.



More information about the Seaside mailing list