Examples of AbstractComponentTag


Examples of org.openfaces.taglib.internal.AbstractComponentTag


    protected void setAttributes(FaceletContext faceletContext, Object object) {
        super.setAttributes(faceletContext, object);
        UIComponent component = (UIComponent) object;
        AbstractComponentTag tag = (AbstractComponentTag) metaRule.getTag();
        FacesContext facesContext = faceletContext.getFacesContext();
        tag.setFacesContext(facesContext);
        tag.setExpressionCreator(new FaceletsExpressionCreator(faceletContext) {
            protected TagAttribute getAttribute(String attributeName) {
                return AbstractFaceletsComponentHandler.this.getAttribute(attributeName);
            }
        });
        try {
            tag.setComponentProperties(facesContext, component);
        } finally {
            tag.removeFacesContext();
        }
    }
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.