Package org.richfaces.application.push

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

Related Classes of org.richfaces.application.push.PushContextInitializationException

Copyright © 2018 www.massapicom. 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.