« Return to Thread: devutils -- A child with id 'debug' already exists

Re: devutils -- A child with id 'debug' already exists

by Martijn Dashorst :: Rate this Message:

Reply to Author | View in Thread

On Sun, May 31, 2009 at 10:48 AM, Max Bowsher <maxb@...> wrote:
> DevUtilsPage is modifying the component hierarchy in onBeforeRender,
> which is not allowed IIUC.

You're remembering it wrong: in yea old days you weren't allowed to
modify component hierarchy in onAttach(). modifying component
hierarchy in onbeforerender is perfectly allowed, and the only option
to modify the hierarchy once a page has been rendered.

Martijn

 « Return to Thread: devutils -- A child with id 'debug' already exists