Examples of FacesContextListener


Examples of com.ibm.xsp.event.FacesContextListener

        Application app = getApplicationUnchecked();
        // We initialize a temporary context
        ExternalContext extCtx = facesContext.getExternalContext();
        final XspContext newContext = ctx = (XspContext)initContext(app, extCtx.getRequest(), extCtx.getResponse());
        // we should clear the context when the JSF context is discarded
        facesContext.addRequestListener(new FacesContextListener() {
          public void beforeRenderingPhase(FacesContext facesContext) {
          }
          public void beforeContextReleased(FacesContext facesContext) {
            destroyContext(newContext);
          }
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.