[Seaside] Bicephale -- style / forms

Dmitry Dorofeev dima-sender-3c337a at yasp.com
Mon Oct 17 09:29:12 UTC 2005



Michal wrote:
>>1. How I can use Standard Script and Style libraries with Bicephale 
>>application ?
> 
> 
> They are used automatically -- see WAStaticComponent>>renderOn: which
> calls the usual #updateRoot:
> 
> 
Hi Mike,

I meant libraries, not #script and #style selectors.
I changed method in WABicephaleHtml to read:

renderInContext: aContext rootComponent: component
	context := aContext.
	component application libraries do: [:ea | ea updateRoot: self root].
	component renderAsRootOn: self.
	self close.

So now libraries are included. But i am not sure it is the right place to do it.
But works for me. More feedback soon.

-Dmitry.


More information about the Seaside mailing list