Package javax.faces.component

Examples of javax.faces.component.UIData.visitTree()


    int originalRows = table.getRows();
    table.setRows(0); // We want to visit all rows.

    FacesContext context = FacesContext.getCurrentInstance();
    UniqueColumnValueChecker checker = new UniqueColumnValueChecker(table, input);
    table.visitTree(VisitContext.createVisitContext(context), checker);
    table.setRows(originalRows);

    if (checker.isDuplicate()) {
      input.setValid(false);
      context.validationFailed();
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.