filterRow.updateRowModelFromCriterion(criterion, filter);
}
private void encodeNoFilterRow(FacesContext context, CompositeFilter compositeFilter) throws IOException {
HtmlPanelGroup rowContainer = (HtmlPanelGroup) Components.getChildBySuffix(compositeFilter, NO_FILTER_ROW_SUFFIX);
if (rowContainer == null) {
rowContainer = (HtmlPanelGroup) Components.createChildComponent(context, compositeFilter, HtmlPanelGroup.COMPONENT_TYPE, NO_FILTER_ROW_SUFFIX);
rowContainer.setLayout("block");
rowContainer.setStyleClass(FilterRow.DEFAULT_ROW_CLASS);
//rowContainer.setValueExpression("rendered", compositeFilter.getNoFilterRowRendererExpression());
HtmlOutputText noFilterText = (HtmlOutputText) Components.createChildComponent(context, rowContainer, HtmlOutputText.COMPONENT_TYPE, NO_FILTER_TEXT_SUFFIX);
noFilterText.setStyleClass(DEFAULT_NO_FILTER_TEXT_CLASS);
noFilterText.setValue(compositeFilter.getNoFilterMessage());
HtmlPanelGroup addButtonContainer = (HtmlPanelGroup) Components.createChildComponent(context, rowContainer, HtmlPanelGroup.COMPONENT_TYPE, FilterRow.ADD_BUTTON_CONTAINER_SUFFIX);
addButtonContainer.setStyleClass(FilterRow.DEFAULT_ROW_ITEM_CLASS);
HtmlCommandButton addButton = (HtmlCommandButton) Components.createChildComponent(context, addButtonContainer, HtmlCommandButton.COMPONENT_TYPE, FilterRow.BUTTON_SUFFIX);
addButton.setValue("+");
addButton.setStyleClass(FilterRow.DEFAULT_ADD_BUTTON_CLASS);
}
rowContainer.encodeAll(context);