private List getColumns(HtmlDataTable table) { List columns = new ArrayList(); for(int i=0; i < table.getChildCount(); i++) { UIComponent child = (UIComponent) table.getChildren().get( i ); if(child instanceof UIColumn) { columns.add( child ); } } return columns; }
private static List getColumns(HtmlDataTable table) { List columns = new ArrayList(); for (int i = 0; i < table.getChildCount(); i++) { UIComponent child = (UIComponent) table.getChildren().get(i); if (child instanceof UIColumn) { columns.add(child); } } return columns; }
private static List getColumns(HtmlDataTable table) { List columns = new ArrayList(); for (int i = 0; i < table.getChildCount(); i++) { UIComponent child = (UIComponent) table.getChildren().get(i); if (child instanceof UIColumn) { columns.add(child); } } return columns; }
public static List getHTMLDataTableColumns(HtmlDataTable table) { List columns = new ArrayList(); for (int i = 0; i < table.getChildCount(); i++) { UIComponent child = (UIComponent) table.getChildren().get(i); if (child instanceof UIColumn) { columns.add(child); } } return columns; } }
public static List getHTMLDataTableColumns(HtmlDataTable table) { List columns = new ArrayList(); for (int i = 0; i < table.getChildCount(); i++) { UIComponent child = (UIComponent) table.getChildren().get(i); if (child instanceof UIColumn) { columns.add(child); } } return columns; } }