Greetings,
I am trying to add a DataTable object to my custom component as a child. I have made UIColumn objects to add to the datatable but can not find the Facet class to add facets to UIColumn. Any help or example reference would help a lot.
There is no "Facet class" as such ... a facet is just a UIComponent that plays a particular role with respect to the component it is attached to. For example, you might set up the column header like this:
UIColumn column = new UIColumn();
HtmlOutputText columnHeader = new HtmlOutputText();
columnHeader.setValue("Column Header Value");
column.getFacets().put("header", columnHeader);
Thanx
Ali
Craig

