[Seaside] html brush chaining messages

Lukas Renggli renggli at gmail.com
Wed Oct 27 05:49:16 UTC 2010


You can find it here

    http://book.seaside.st/book/fundamentals/rendering-components/brush-structure

but I am sure that it is mentioned in any other introductory Seaside text too.

Lukas

On 27 October 2010 04:32, Tony Fleig <tony.fleig at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list