Madhav Bhargava schrieb: > > However I am stuck because I do not know how to get hold of the event > queue. Can anyone throw some light? > I won't comment on the general approach; I haven't got time at the moment to understand all of that.
Specifically about the event queue: The event-queue is held on the UIViewRoot class as a private member. The UIComponent.queueEvent method will add objects to the queue. The UIViewRoot then removes the events from the queue at the appropriate time and calls event.getComponent().broadcast(event) on each as it is removed. But I'm not aware of any way to "peek" at the event queue. The events do "bubble up" from the component that queued it to the UIViewRoot, so if you placed some other component in the ancestry that overrides the queueEvent method, then it will see the event being queued. Not very elegant though. Otherwise I think you'll need to try to solve your problem by some other way. Regards, Simon -- -- Emails in "mixed" posting style will be ignored -- (http://en.wikipedia.org/wiki/Posting_style)