[Seaside] Question about div

Brian Brown rbb at techgame.net
Sun Oct 8 19:32:32 UTC 2006


Hi Keith :)

Yes, I figured that out... I had erroneously assumed that  
WARenderCanvas was the default these days, so it works great now that  
I'm using the right renderer!

Thanks!

Brian

On Oct 7, 2006, at 7:02 PM, Keith Hodges wrote:

> Dear Brian,
>
> this has to be the most common gotcha for us new seasiders...
>
> The new API with all the "withs: [ ] "is available to components  
> that implement this instance method.
>
> rendererClass
>    ^ WARenderCanvas
>
> otherwise it defaults to the previous incarnation of the  renderer  
> WAHtmlRenderer.
>
> hope this helps
>
> Keith
>
>> Hello all,
>>
>> I'm using div like so:
>>
>> html div
>>     class: 'foo';
>>     with: [html render: widget].
>>
>>
>> which gives me my widget html embedded:
>>
>> <div></div>
>> <class>foo</class>
>> <with>
>>     ... widget html in here.
>> </with>
>>
>>
>> Methinks that is not correct; can I not do a render: in a with:[]?
>>
>> Brian
>>
>> _
>
> 	
> 	
> 		
> ___________________________________________________________ Yahoo!  
> Messenger - NEW crystal clear PC to PC calling worldwide with  
> voicemail http://uk.messenger.yahoo.com
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the Seaside mailing list