The status field is showing for selectOne in the showcase.
But; I have to add "filterBy="#{eachWeek.jetSizeKind}"" to see the selectOne turn up.
Code: Select all
<p:column headerText="Jet Size" sortable="true" sortBy="#{eachWeek.jetSizeKind}" filterable="true" filterBy="#{eachWeek.jetSizeKind}" filterMatchMode="exact">
<f:facet name="filter">
<p:selectOneMenu onchange="PF('weeksTableWV').filter()" styleClass="custom-filter">
<f:selectItem itemLabel="All" itemValue="#{null}" noSelectionOption="true" />
<f:selectItems value="#{weeksController.jetSizeKindOptions}" />
</p:selectOneMenu>
</f:facet>
<h:outputText value="#{eachWeek.jetSizeKind}"/>
</p:column>
2021-07-21 09:12:42,685 WARNING [jav.fac.val.BeanValidator] (executor-thread-25) cannot validate component with empty value: weeksForm:weeksTable:j_id_3f
The Table in the demo is also sortable; yet there is no sorting enabled (or am I missing soemthing)?
Is that the right code shown in the showcase?
This is a Quarkus project.