Package org.apache.myfaces.trinidad.component.core.data

Examples of org.apache.myfaces.trinidad.component.core.data.CoreColumn


      l.add(new Integer(i));
    table.setValue(l);

    for (int i = 0 ; i < 3; i++)
    {
      CoreColumn col = new CoreColumn();

      /*
      col.setHeaderText("Header " + i);
      // Use headerText instead of adding the facet; easier and faster.
      //CoreOutputText header = new CoreOutputText();
      //header.setValue("Header " + i);
      //col.setHeader(header);
      //CoreOutputText text = new CoreOutputText();
      CoreInputText text = new CoreInputText();
      text.setSimple(true);
      text.setValue("Column " + i);
      col.getChildren().add(text);
      */
      col.setHeader(new NullComp());
      col.getChildren().add(new NullComp());
      table.getChildren().add(col);
    }

    UIViewRoot root = createTestTree(table, "testTable()", 500);
    renderRoot(root);
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidad.component.core.data.CoreColumn

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.