facebook

Just a Little null validation bug in jsf visual designer

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #280015 Reply

    bilis
    Member

    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

    #280049 Reply

    Loyal Water
    Member

    bilis,
    Can you go to MyEclipse > Installation Summary > Installation Details and paste your installation details here as well. I’ll get this checked right away.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Just a Little null validation bug in jsf visual designer

You must be logged in to post in the forum log in