Re: Boolean Return Values in Custom Component Events

2012-03-21 Thread Steve Eynon
Food for future thought - the way the event return value is used for multiple purposes and may, or may not be passed to your callback seems a little messy. Currently we have - in ComponentPageElementImpl: ComponentEventCallback wrapped = new ComponentEventCallback() { public boolean handleR

Boolean Return Values in Custom Component Events

2012-03-20 Thread Steve Eynon
Hi, I wish to raise an event from a component and abort further processing if true is returned from any event handlers - only I don't know how! ComponentResources.triggerEvent() returns true if *any* event handler was invoked, regardless of what it returns. Passing a ComponentEventCallback doesn