[Seaside] How to open a new window/tab with a new root component within the same session?

Johan Brichau johan at inceptive.be
Thu Feb 7 06:39:21 UTC 2019


Hi Esteban,

I would think the following is sufficient:

html anchor
   target: ‘_blank’;
   callback: [ …. ];
   with: ’Open another tab’

This opens the component on another tab/window using the same session.
Both pages are different application states (aka continuations) within the same session.

Johan

> On 6 Feb 2019, at 21:56, Esteban Maringolo <emaringolo at gmail.com> wrote:
> 
> What would be the proper way to open a new browser window/tab with a
> selected component as root component but using the same session?
> 
> E.g. I have a main app component and want to open "viewers" (a new
> component on a particular model) as root component on the new tab. I
> expect the user to interact with this new component, and then likely
> to close the tab, the component tree in the main tab should remain
> unchanged.
> 
> I could see WAInitialRenderLoopContinuation seems to have what I need,
> but the whole WARenderLoopContinuation hierarchy is something that I
> could never understand and never could find documentation about it
> either (e.g. WAPluggableActionContinuation doesn't have any references
> in my image).
> 
> I'll appreciate any pointer here.
> 
> Regards,
> 
> Esteban A. Maringolo
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list