<div>Newbie to Newbie,</div>
<div> </div>
<div>Here is a format David Shaffer set me up with (I hope I have interpreted correctly David?). Don't pay any attention to the input syntax as apparently you should be using canvas but I don't know how to yet. - Note if anyone does have some worked examples of canvas or knows where some thorough tutorials are that would be great.
</div>
<div> </div>
<div>Also - 'Is there any place set up where simple pieces of code like this are kept so that us Newbies can hunt around and see how things work - kind of like <font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.oswd.org/" target="_blank">http://www.oswd.org/</a></span></font> for style sheets. If not can we set one up? Even if we could mimic <font face="Arial" color="black" size="2">
<span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.oswd.org/" target="_blank">http://www.oswd.org/</a> just on the style sheet side it might help encourage more people to use Smalltalk and Seaside.
</span></font></div>
<div><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"></span></font> </div>
<div><strong><em>Anyway code is as follows - Any comments from the Pro's would be awesome:</em></strong> </div>
<div> </div>
<div><strong>renderContentOn: html</strong> <br> html divClass: 'contents'<br> with: <br> [html heading: 'Table Examples'.<br> html table: <br> [html tableRow: <br> [html<br> cssClass: 'col1';
<br> tableData: 'Name:'.<br> html<br> cssClass: 'col2';<br> tableData: [html textInputWithValue: [] callback: []].<br> html<br> cssClass: 'col3';<br> tableData: [html anchorWithAction: [] text: 'Edit']].
<br> html html tableRow: <br> [html<br> cssClass: 'col1';<br> tableData: 'Gender:'.<br> html<br> cssClass: 'col2';<br> tableData: <br> [| group |
<br> group := html radioGroup.<br> html <br> radioButtonInGroup: group<br> selected: []<br> callback: [].<br> html text: 'Male'.<br> html <br> radioButtonInGroup: group
<br> selected: []<br> callback: [].<br> html text: 'Female'].<br> html<br> cssClass: 'col3';<br> tableData: [html anchorWithAction: [] text: 'Edit']]]]
</div>
<div> </div>
<div><strong><em>With the following Style Sheet:</em></strong></div>
<div> </div>
<div><strong>style<br> ^'</strong></div>
<div>
<p> .contents {<br> float: left;<br> width: 100%;<br> font-family: verdana;<br> }</p>
<p> .contents table{<br> border-color: #BBBBBB;<br> border-width: 1px;<br> border-style: solid;<br> background-color: ##DDDDDD;<br> border-spacing: 3px;<br> }</p>
<p> .contents td.col1{<br> text-align: right;<br> font-family: verdana;<br> font-size: 12px;<br> border-right: 1px solid black;<br> border-bottom: 1px solid black;<br> width: 80px;<br> background-color: #EEEEEE; <br>
padding: 5px 5px 5px 5px;<br> }</p>
<p> .contents td.col2{<br> text-align: left;<br> font-family: verdana;<br> font-size: 12px;<br> border-left: 1px solid black;<br> border-bottom: 1px solid black;<br> width: 300px;<br> background-color: #EEEEEE; <br>
padding: 5px 5px 5px 5px;<br> }</p>
<p> .contents td.col3{<br> text-align: center;<br> font-family: verdana;<br> font-size: 12px;<br> border-left: 1px solid black;<br> border-bottom: 1px solid black;<br> width: 60px;<br> background-color: #EEEEEE; <br>
padding: 5px 5px 5px 5px;<br> }</p>
<p> .contents input.text{<br> width: 100%;<br> }</p>
<p> .contents imput.radio{<br> } <br>'</p></div>
<div> </div>
<div> </div>
<div> </div>
<div><span class="gmail_quote">On 4/27/07, <b class="gmail_sendername">John Brochan Collison</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:john@collison.ie" target="_blank">john@collison.ie
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">Thanks, that works perfectly.
<div><br> </div>
<div>John</div>
<div><br>
<div>
<div><span>
<div>On 27 Apr 2007, at 13:50, Peter Osburg wrote:</div><br></span></div>
<blockquote type="cite">
<div><span>using html as the renderer, you should do:<br><br>html table with:[ html tableRow with: [ html tableData with: [] ] ]<br><br>of course you can leave out the "with" messag but for having the code ready for further purposes you should use "with". later on you could do the following (if necessary)
<br>html table <br> id: 'any_id'; <br> class: 'any_class'; <br> with: [ anything ].<br><br>John Brochan Collison schrieb:
<blockquote cite="http://mid87E8FA12-2103-4F9B-AB77-BBE089AE71D8@collison.ie" type="cite">Newbie question: <br><br>What's the correct syntax for creating html tables in Seaside? I've seen a few ways floating around, not sure if they're up to date.
<br><br>John <br>_______________________________________________ <br>Seaside mailing list <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seaside@lists.squeakfoundation.org" target="_blank">Seaside@lists.squeakfoundation.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br><br></blockquote><br clear="all"><br>-- <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.peter-osburg.de/" target="_blank">www.peter-osburg.de</a></span></div>
<div style="MARGIN: 0px">_______________________________________________</div><span>
<div style="MARGIN: 0px">Seaside mailing list</div>
<div style="MARGIN: 0px"><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seaside@lists.squeakfoundation.org" target="_blank">Seaside@lists.squeakfoundation.org</a></div>
<div style="MARGIN: 0px"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a></div></span></blockquote></div><br> </div></div><br>_______________________________________________<br>Seaside mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seaside@lists.squeakfoundation.org" target="_blank">
Seaside@lists.squeakfoundation.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br><br></blockquote></div><br>