Class jakarta.faces.component.UISelectItems has no possibility to set attribute var programmatically. Call method items.setValueExpression("var", expFactory.createValueExpression(elContext, "item", String.class)); raise exception. This is similar behavior as class UIData, but class UIData has method setVar.
Class
jakarta.faces.component.UISelectItems
has no possibility to set attributevar
programmatically. Call methoditems.setValueExpression("var", expFactory.createValueExpression(elContext, "item", String.class));
raise exception. This is similar behavior as classUIData
, but classUIData
has methodsetVar
.