Package org.richfaces.cdk.model

Examples of org.richfaces.cdk.model.TagModel


            // log.error("No short defined for taglib");
        }
        // Verify tags. If we have renderer-specific component, it should have a tag ?
        for (ComponentModel component : library.getComponents()) {
            if (null != component.getRendererType() && component.getTags().isEmpty()) {
                TagModel tag = new TagModel();
                verifyTag(tag, component.getId(), DEFAULT_COMPONENT_HANDLER);
                component.getTags().add(tag);
            }
        }
    }
View Full Code Here


                if (null == component.getFamily()) {
                    component.setFamily(namingConventions.inferUIComponentFamily(component.getId()));
                }
                // add facelet tag if missing
                if (component.getTags().isEmpty()) {
                    TagModel tag = new TagModel();
                    component.getTags().add(tag);
                    tag.setName(namingConventions.inferTagName(component.getId()));
                    tag.setGenerate(false);
                    tag.setType(TagType.Facelets);
                }
            } catch (RuntimeException e) {
                throw new CdkException("Caught error when verifying component " + component, e);
            }
        }
View Full Code Here

TOP

Related Classes of org.richfaces.cdk.model.TagModel

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.