I'm trying to set the restrictionLogicOperator property in the EntityQuery class and have hit a snag. The problem that I'm experiencing is that when I select or
for the first time when entering the page, the query executes with an and.
If I subsequently switch back to and
and then back to or
, everything works fine. It's only on my initial selection of or
that the query executes with and.
My code snippet is as follows:
<s:decorate template="layout/display.xhtml">
<ui:define name="label">Match</ui:define>
<h:selectOneRadio id="logic" value="#{employeeList.restrictionLogicOperator}" styleClass="radio">
<f:selectItem itemLabel="All" itemValue="and" />
<f:selectItem itemLabel="Any" itemValue="or" />
<a:support event="onblur" />
</h:selectOneRadio>
</s:decorate>