4 Replies Latest reply on Sep 26, 2007 4:48 AM by Ilya Shaikovsky

    validateLength and ajax4jsf don't work together?

    nabil nabil Newbie

      Hi All...
      I m newbie on Ajax4jsf and jboss
      My environment:
      MyFaces 1.1.5
      Tomahawk 1.1.6
      ajax4jsf 1.1.1
      jboss Aplication Server 4.0.5
      IDE: netbeans 5.5.1
      I try to develop a small application to learn more about jsf and ajax4jsf.
      I faced an unexplainable problem.
      When I use AJAX4JSF and

      <f:validateLength maximum="250" minimum="5" />
      in the same JSP, AJAX4JSF dosen't work.
      It works when I use <f:validateLength maximum="250" /> (without minimum attribute).
      Heer my JSP snippet:
      ....
      <h:inputText value="#{user.textxyt}" >
       <a4j:support event="onkeyup" reRender="rep"/>
       </h:inputText>
       <h:outputText value="#{user.textxyt}" id="rep"/>
      
       <h:outputLabel id="labelBez" for="Label" value="Label" />
       <t:inputText id="Bezeichnungs" value="#{beanProc.name}" readonly="#{!beanProc.beditable}" styleClass="textbox">
       <f:validateLength maximum="250" />
       </t:inputText>

      ....
      I can't understand what is the problem heer?
      If anyone understand what the problem could be, please for a statment!
      thanks...
      orisun :-)

      PS: there is not any server-output like error or warns!!