Detach / Unload question - more generic

A more generic question.

My masterlayout is a dhtmlLayout. In the b area I attach otherother layouts (i.e. a and b). In this a an accordion or tabbar is attached incl. div. eventhandlers.

If I unload this layout from the b area of the masterlayout is it needed to detach the events and the objects (accordion or tabbar) first before unload the layout or is this done automatically while unloading the layout

Hi

You content was attached via cell().attachTabbar() or like this - its unload() will triggered automatically by parent, you only need to clear all events from custom divs and objects and call mainLayout.unload() once.

Here is an example:

[code] [/code]