Examples of PushContextInitializationException


Examples of org.richfaces.application.push.PushContextInitializationException

    private static PushContext createInstance() {
        FacesContext facesContext = FacesContext.getCurrentInstance();

        if (facesContext == null) {
            throw new PushContextInitializationException(
                    "FacesContext is not available when trying to initialize PushContext - use startup initialization (web.xml context-param org.richfaces.application.push.initializeOnStartup = true)");
        }

        String pushHandlerMapping = (String) facesContext.getExternalContext().getApplicationMap()
                .get(PUSH_HANDLER_MAPPING_ATTRIBUTE);
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.