I have got a “comparison with null allways evaluates to false” validation error in the visuaj jsf designer.
I post a sample code:
<h:inputText id=’idNumerico1′ value=”#{camionSessionBean.param1}”
onchange=”document.getElementById(‘formFiltro:idNumerico2′).disabled=(this.value == ”); this.form.submit();”>
</h:inputText>
<h:outputText value=’Y’></h:outputText>
<h:inputText id=’idNumerico2′ value=”#{camionSessionBean.param2}” disabled=’#{camionSessionBean.param1 == null || camionSessionBean.param1 == “”}’ >
</h:inputText>
<h:commandLink action=”#{camionSessionBean.actualizarDatos}”>
<f:param id=’nombrecampoNumerico’ value=”#{camionSessionBean.itemFiltro.itemValue}”></f:param>
<h:outputText value=”Consultar”></h:outputText>
</h:commandLink >
the part that shows the error is the underlined one, that all, thanks, the code bahave correctlly