1 Reply Latest reply on Dec 3, 2009 4:46 AM by Ilya Shaikovsky

    message for input text in table

    fabio di biase Newbie

      Hi to everyone,
      i've a richfaces:dataTable with input text for colum for example:

      <rich:dataTable id="posasList">
      .......
      <rich:column style="width: 70px">
      <f:facet name="header">
      <h:outputText styleClass="tableHeader" value="Head"/>
      </f:facet>
      <h:inputText id="posConiug"
      value="#{posas.posConiug}"
      styleClass="tableContent" >
      <a:support event="onchange" ajaxSingle="true"/>
      <a:support event="onblur" reRender="totParz0" />
      <f:convertNumber integerOnly="true" />
      <f:validateLongRange minimum="0"/>
      </h:inputText>
      </rich:column>

      ..........
      </rich:dataTable>

      So i want to show a message when the value of input text is <0 or is a character;

      How i can do it?

      Thanks,
      Fabio