[Seaside] html brush chaining messages

Tony Fleig tony.fleig at gmail.com
Wed Oct 27 02:32:04 UTC 2010


I had a similar problem. The secret is that the with: parameter must be the
last in the chain. Once the with: parameter is found, no further methods are
processed.

This is documented in some book or article -- I don't remember where I saw
it.

TF

On Tue, Oct 26, 2010 at 7:05 PM, Jeff Gray <jeff at rogerthedog.com> wrote:

>
> Hi all. Proud day - my first post :-)
>
> In my renderContentOn: method I have the following line:
>
> html tableData with: (account balance printShowingDecimalPlaces: 2); align:
> 'right'
>
> I get the data out ok but it doesn't add the align attribute to the <td>
> tag.
> If I switch around the order of the messages then the alignment works:
>
> html tableData align: 'right'; with: (account balance
> printShowingDecimalPlaces: 2)
>
> What's going on there?
> --
> View this message in context:
> http://forum.world.st/html-brush-chaining-messages-tp3014769p3014769.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101026/8ef1d7ba/attachment.htm


More information about the seaside mailing list