public abstract class ExpressionFilterTag extends FilterTag {
@Override
public void setComponentProperties(FacesContext context, UIComponent component) {
super.setComponentProperties(context, component);
ExpressionFilter filter = (ExpressionFilter) component;
String expression = getPropertyValue("expression");
if (expression != null) {
if (getExpressionCreator().isValueReference("expression", expression))
filter.setExpression(createValueExpression(context, "expression", expression));
else
filter.setExpression(expression);
}
String condition = getPropertyValue("condition");
if (condition != null)
setCondition(filter, condition);