Eclipse Error #{Component.Valid} "Valid cannot be resolved as a Member of Component"

Asked

Viewed 352 times

1

Eclipse of Warning in #{Component.Valid} in Sryleclass, With Obs that imputText is inside a Composite Component.

<div class="labelledInput">
        <p:inputText id="txtPesqLot" ...
            styleClass="labelledInput-input #{component.valid?'':'validation-failed'}"/> 
</div>
  • he is not finding the Valid attribute within Component...

1 answer

0


The problem is with older versions of Eclipse as in my case. there are 2 solutions that solved. the first is to exchange #{Component.Valid} for #{Uicomponent.Valid} .

Second solution :Configuração

Browser other questions tagged

You are not signed in. Login or sign up in order to post.