Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1, 2.3.10, 2.3-next-M7, 4.0.0-RC3
-
None
Description
Currently if you have an InputTExt with no `value` the MyFaces BeanValidator logs a WARN.
ValueExpression valueExpression = component.getValueExpression("value"); if (valueExpression == null) { log.warning("cannot validate component with empty value: " + component.getClientId(context)); return; }
PrimeFaces always throws this when using Custom Filters that have no `value` attribute like on the Showcase here: https://www.primefaces.org/showcase/ui/data/datatable/filter.xhtml
<f:facet name="filter"> <p:selectOneMenu onchange="PF('customersTable').filter()" styleClass="ui-custom-filter"> <f:selectItem itemLabel="All" itemValue="#{null}" noSelectionOption="true" /> <f:selectItems value="#{dtFilterView.representatives}" /> </p:selectOneMenu> </f:facet>
I wonder if we should only LOG.WAR if in JSF Stage Development but just let it go in PRODUCTION mode