Package javax.faces.event

Examples of javax.faces.event.ComponentSystemEventListener.processEvent()


    // processing on the wrapped renderer. This is necessary when wrapping the Mojarra ScriptRenderer or
    // StylesheetRenderer because they extend ScriptStyleBaseRenderer which attempts to add the component
    // associated with the specified event as a resource on the view root.
    if (wrappedRenderer instanceof ComponentSystemEventListener) {
      ComponentSystemEventListener wrappedListener = (ComponentSystemEventListener) wrappedRenderer;
      wrappedListener.processEvent(event);
    }
    else {
      logger.debug("Wrapped renderer=[{0}] does not implement ComponentSystemEventListener", wrappedRenderer);
    }
  }
View Full Code Here


    Renderer delegateRenderer = getDelegateRenderer(facesContext);

    if (delegateRenderer instanceof ComponentSystemEventListener) {
      ComponentSystemEventListener delegateComponentSystemEventListener = (ComponentSystemEventListener)
        delegateRenderer;
      delegateComponentSystemEventListener.processEvent(componentSystemEvent);
    }
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.