Hi again,

> I think the COMPONENT_REATTACHED is the proper place to change the menus
> again.

well, this is not the right place to redo the changes: at the time this
event is fired, I cannot retrieve the menubar, it is null. When changing
to the page view I can perform the changes when the CONTEXT_CHANGED
event is fired and this works well.

But going back to normal view, as I wrote the events CONTEXT_CHANGED,
then COMPONENT_DETACHING and COMPONENT_REATTACHED are fired. I can
perform the the changes when the CONTEXT_CHANGED event is fired, but
that won't help, because the component is detached soon and the changes
are lost. Thus I want to perform the changes when the last event is
fired: COMPONENT_REATTACHED. But again, I cannot retrieve the menu bar,
because at that time it is null.

Is the XFrameActionListener really the right listener? Is there an other
listener telling me about the proper events?

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to