Package org.richfaces.application.configuration

Examples of org.richfaces.application.configuration.ConfigurationService


        @Override
        public Object getValue(ELContext context) {
            FacesContext facesContext = getFacesContext(context);

            ConfigurationService configurationService = ServiceTracker.getService(ConfigurationService.class);

            boolean controls = configurationService.getBooleanValue(facesContext,
                CoreConfiguration.Items.standardControlsSkinning);
            boolean classes = configurationService.getBooleanValue(facesContext,
                CoreConfiguration.Items.standardControlsSkinningClasses);

            if (controls && classes) {
                return BOTH_SKINNING;
            }
View Full Code Here


        @Override
        public Object getValue(ELContext context) {
            FacesContext facesContext = getFacesContext(context);

            ConfigurationService configurationService = ServiceTracker.getService(ConfigurationService.class);

            return configurationService.getBooleanValue(facesContext, CoreConfiguration.Items.standardControlsSkinning)
                || configurationService.getBooleanValue(facesContext, CoreConfiguration.Items.standardControlsSkinningClasses);
        }
View Full Code Here

    /**
     * A factory method for creating {@link JMSTopicsContextImpl} initialized from context
     */
    public static JMSTopicsContextImpl getInstanceInitializedFromContext(ThreadFactory threadFactory, FacesContext facesContext)
            throws NamingException {
        ConfigurationService configurationService = ServiceTracker.getService(ConfigurationService.class);

        InitialContext initialContext = new InitialContext();

        NameParser nameParser = initialContext.getNameParser("");

View Full Code Here

TOP

Related Classes of org.richfaces.application.configuration.ConfigurationService

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.