return ANY_COLUMN_VALUE_EXPRESSION;
}
@Override
public List<UIComponent> getChildren() {
BaseColumn actualCol = getCurrentlyRenderedColumn();
if (actualCol instanceof ContextDependentComponent) {
if (!((ContextDependentComponent) actualCol).isComponentInContext()) {
// This method is expected to be called only from within the encodeAll method of this instance, and this
// method sets up column's context. If this check fails then it means that this method is invoked from
// somewhere else, and if that invocation is rightful then this cell's enterComponentContext method has
// to be invoked prior to this
throw new IllegalStateException("The current column is supposed to be in context when its children are retrieved");
}
}
UIComponent headerOrFooterComponentFromFacet = actualCol.getFacet(getFacetName());
if (headerOrFooterComponentFromFacet != null)
return Collections.singletonList(headerOrFooterComponentFromFacet);
else {
// Returning an empty string output-text here...
// A non-empty child list is required even when rendering a per-column group header cell for a column that