for (int i = 0; i < listeners.size(); i++) {
IComponentSpecification listener = (IComponentSpecification)listeners.get(i);
IComponent target = null;
ComponentEventProperty props = null;
if (listener.isPageSpecification()) {
target = component.getPage();
props = listener.getComponentEvents(component.getId());
} else {
target = findComponent(component.getPage().getComponents().values(), listener);
props = target.getSpecification().getComponentEvents(component.getId());
}
List clisteners = props.getEventListeners(event.getName());
for (int e=0; e < clisteners.size(); e++) {
EventBoundListener eventListener = (EventBoundListener)clisteners.get(e);
_invoker.invokeListener(target.getListeners().getListener(eventListener.getMethodName()), target, cycle);