Package org.apache.struts.faces.util

Examples of org.apache.struts.faces.util.SupportedComponent


        if (name == null) {
            // FIXME - i18n
            throw new NullPointerException("No attribute name specified");
        }

        SupportedComponent supported = (SupportedComponent)
            components.get(componentType);
        if (supported == null) {
            // FIXME - i18n
            throw new IllegalArgumentException("Component type '" +
                                               componentType +
                                               "' is not supported");
        }
        AttributeDescriptor descriptor =
            supported.getAttributeDescriptor(name);
        if (descriptor == null) {
            // FIXME - i18n
            throw new IllegalArgumentException("Attribute name '" +
                                               name +
                                               "' is not supported");
View Full Code Here


        if (componentType == null) {
            // FIXME - i18n
            throw new NullPointerException("No component type specified");
        }

        SupportedComponent supported = (SupportedComponent)
            components.get(componentType);
        if (supported == null) {
            // FIXME - i18n
            throw new IllegalArgumentException("Component type '" +
                                               componentType +
                                               "' is not supported");
        }
        return (supported.getAttributeNames());

    }
View Full Code Here

TOP

Related Classes of org.apache.struts.faces.util.SupportedComponent

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.