Examples of ComponentConfig


Examples of javax.faces.view.facelets.ComponentConfig

            Resource compositeComponentResourceWrapped = resourceHandler.createResourceFromId(resourceId);
            if (compositeComponentResourceWrapped != null)
            {
                Resource compositeComponentResource
                        = new CompositeResouceWrapper(compositeComponentResourceWrapped);
                ComponentConfig componentConfig = new ComponentConfigWrapper(cfg,
                        "javax.faces.NamingContainer", null);

                return new CompositeComponentResourceTagHandler(componentConfig,
                                                                compositeComponentResource);
            }
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

                                = _resourceHandler.createResource(resourceName, libraryName);
                        if (compositeComponentResourceWrapped != null)
                        {
                            Resource compositeComponentResource
                                    = new CompositeResouceWrapper(compositeComponentResourceWrapped);
                            ComponentConfig componentConfig = new ComponentConfigWrapper(tag,
                                    "javax.faces.NamingContainer", null);

                            return new CompositeComponentResourceTagHandler(componentConfig,
                                                                            compositeComponentResource);
                        }
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

                        Resource compositeComponentResource = new CompositeResouceWrapper(
                            _resourceHandler.createResource(resourceName, _compositeLibraryName));
                       
                        if (compositeComponentResource != null)
                        {
                            ComponentConfig componentConfig = new ComponentConfigWrapper(tag,
                                    "javax.faces.NamingContainer", null);
                           
                            return new CompositeComponentResourceTagHandler(
                                    componentConfig, compositeComponentResource);
                        }
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

            this.renderType = renderType;
        }

        public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException
        {
            ComponentConfig ccfg = new ComponentConfigWrapper(cfg, this.componentType, this.renderType);
            return new ComponentHandler(ccfg);
        }
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

        public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException
        {
            try
            {
                ComponentConfig ccfg = new ComponentConfigWrapper(cfg, componentType, renderType);
                return constructor.newInstance(new Object[] { ccfg });
            }
            catch (InvocationTargetException e)
            {
                throw new FaceletException(e.getCause().getMessage(), e.getCause().getCause());
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

    @SuppressWarnings("unchecked")
    public ComponentTagHandlerDelegate(ComponentHandler delegate)
    {
        _delegate = delegate;
        ComponentConfig delegateComponentConfig = delegate.getComponentConfig();
        _componentType = delegateComponentConfig.getComponentType();
        _rendererType = delegateComponentConfig.getRendererType();
        _id = delegate.getTagAttribute("id");     
       
        ComponentHandler handler = _delegate;
        boolean found = false;
        while(handler != null && !found)
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

        else
        {
            _relocatableResourceHandler = null;
        }
       
        ComponentConfig delegateComponentConfig = delegate.getComponentConfig();
        _componentType = delegateComponentConfig.getComponentType();
        _rendererType = delegateComponentConfig.getRendererType();
        _id = delegate.getTagAttribute("id");
    }
View Full Code Here

Examples of javax.faces.view.facelets.ComponentConfig

                Resource compositeComponentResource = new CompositeResouceWrapper(
                    _resourceHandler.createResource(resourceName, _compositeLibraryName));
               
                if (compositeComponentResource != null)
                {
                    ComponentConfig componentConfig = new ComponentConfigWrapper(tag,
                            "javax.faces.NamingContainer", null);
                   
                    return new CompositeComponentResourceTagHandler(componentConfig, compositeComponentResource);
                }
            }
View Full Code Here

Examples of org.auraframework.instance.ComponentConfig

    @Override
    public ComponentConfig provide() throws QuickFixException {
        BaseComponent<?, ?> component = Aura.getContextService().getCurrentContext().getCurrentComponent();
       
        ComponentConfig config = new ComponentConfig();
        config.setDescriptor(Aura.getDefinitionService().getDefDescriptor("markup://ui:outputText", ComponentDef.class));
        String text = (String)component.getAttributes().getValue("providedAttribute");
        Map<String, Object> attributes = Maps.newHashMap();
        attributes.put("value", text);
        config.setAttributes(attributes);
       
        //Tamper the current component and remove unwanted attributes
        removeAttribute(component, "providedAttribute");
        return config;
    }
View Full Code Here

Examples of org.exoplatform.webui.config.annotation.ComponentConfig

    * @return The array of Component
    * @throws Exception
    */
   Component[] annotationToComponents(Class<?> clazz) throws Exception
   {
      ComponentConfig annotation = clazz.getAnnotation(ComponentConfig.class);
      if (annotation != null)
      {
         return new Component[]{toComponentConfig(annotation, clazz)};
      }

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.