Package org.richfaces.component

Examples of org.richfaces.component.ListType


     */

    private void checkList(ListType type) {
        page.setType(type);
        String tag = page.getList().getRootElement().getTagName();
        ListType actual = null;
        if (tag.equals("dl")) {
            actual = ListType.definitions;
        } else if (tag.equals("ol")) {
            actual = ListType.ordered;
        } else if (tag.equals("ul")) {
View Full Code Here


                throw new IllegalArgumentException(type.toString());
        }
    }

    protected ListType getType(UIComponent component) {
        ListType type = ((AbstractList) component).getType();
        if (type == null) {
            String exceptionMessage = MessageFormat.format("Type for rich:list {0} is required!",
                RichfacesLogger.getComponentPath(component));
            throw new IllegalArgumentException(exceptionMessage);
        }
View Full Code Here

TOP

Related Classes of org.richfaces.component.ListType

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.