[Seaside] Re: createRoot

Otto Behrens 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>
asApplicationAt: ...

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
> ^true
>
>
>
>
>
>
> otto wrote
>> Hi,
>>
>> 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
>> properly?
>>
>> Thanks
>> Otto
>> _______________________________________________
>> seaside mailing list
>
>> seaside at .squeakfoundation
>
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
>
> --
> 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
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list