Package org.openfaces.component.table

Examples of org.openfaces.component.table.CheckboxColumn


        return true;
    }

    @Override
    public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
        CheckboxColumn checkboxColumn = (CheckboxColumn) component;
        if (!component.isRendered() || !checkboxColumn.getVisible())
            return;

        ResponseWriter writer = context.getResponseWriter();
        writer.startElement("input", component);
        writer.writeAttribute("type", "checkbox", null);
        if (checkboxColumn.isDisabled()) {
            writer.writeAttribute("disabled", "disabled", null);
        }
        Styles.renderStyleClasses(context, component);
        writer.endElement("input");
    }
View Full Code Here

TOP

Related Classes of org.openfaces.component.table.CheckboxColumn

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.