Eclipse da warning em #{component.valid} no SryleClass, Com obs que o imputText está dentro de um Composite Component. <div class="labelledInput" style="overflow: hidden; padding: 2px 5px 0 0; margin-right: 4px; width: calc(100% - 185.5px)"> <p:inputText id="txtPesqLot" style="width: 100%" readonly="true" onclick="#{cc.id}showPesqLotDlg();" tabindex="1" required="#{cc.attrs.requiredLotacao}" value="#{cc.attrs.beanReference.descLotacoes}" styleClass="labelledInput-input #{component.valid?'':'validation-failed'}"/>