Re: How do I embed Seaside html into a Sea side table?

"[email protected]" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
David,

try it with a Block as parameter to #tableData: and things should look 
much better.

html tableData: [self rightHand: htm]


Joachim




Am 19.09.17 um 19:44 schrieb David Pennington:
> I have created this page that has some data on it. However, this is 
> only some of the content that I need.
>
> I would like to make a two column table with one set of content on the 
> left and one on the right. The only way I know to do this is to use a 
> table. However, the Seaside table code doesn't want me to embed 
> Seaside code as in:
>
> leftHand: html
>
> html text: 'Left hand side data'
>
> rightHand: html
>
> html text: 'Right hand side data'.
>
>
> Simplistically, I tried:
>
> makePage: html
>
> html table: [ html tableRow: [ html tableData: (self leftHand: html).
>      html tableData: (self rightHand: html)]] .
>
> but this doesn't work, of course. Can anyone suggest a nice Seaside 
> way of doing this without having to resort to making the html for each 
> table cell myself?
> David
>
> ------------------------------------------------------------------------
> Message sent using Winmail Mail Server
>
>
> _______________________________________________
> seaside mailing list
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          mailto:[email protected]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.