Package org.apache.tapestry

Examples of org.apache.tapestry.EnumSelectModel


        if (valueType == null)
            return null;

        if (Enum.class.isAssignableFrom(valueType))
            return new EnumSelectModel(valueType, _resources.getContainerMessages());

        return null;
    }
View Full Code Here


    /** Provide a select mode for an enum type. */
    @SuppressWarnings("unchecked")
    public SelectModel getSelectModelForProperty()
    {
        return new EnumSelectModel(_propertyEditModel.getPropertyType(), _resources
                .getContainerMessages());
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.EnumSelectModel

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.