[Seaside] Re: createRoot
otto at finworks.biz
Thu Jun 18 05:56:00 UTC 2015
I don't override this method, but as far as I can see, it is ok
because we use WAAdmin register: <our root component class>
If I understand this correctly, the override of canBeRoot is to select
a default root class in case there is none set?
On Wed, Jun 17, 2015 at 11:11 PM, Paul DeBruicker <pdebruic at gmail.com> wrote:
> Its created once per session. Have you defined #canBeRoot in your main
> component on the class side?
> MainComponent class>>#canBeRoot
> otto wrote
>> In my seaside application, I find that createRoot is called several
>> times by the WAInitialRenderLoopContinuation. rootComponentIfAbsent:
>> seem to expect that the rootComponent is set somewhere. But nothing
>> sets the rootComponent as far as I can see. So the effect is that our
>> rootComponent is re-created a lot.
>> Is this expected behaviour? Or am I not setting up my seaside app
>> seaside mailing list
>> seaside at .squeakfoundation
> View this message in context: http://forum.world.st/createRoot-tp4832848p4832901.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside