0 Replies Latest reply on Apr 8, 2010 8:40 AM by marcel.m.vielsack.cluetec.de

    validate doesn't work

    marcel.m.vielsack.cluetec.de

      Hi folks!


      I'm trying to validate an user input. I hope someone can help me.
      Here is my code:



      <h:inputText value="#{box.text}" required="true">
         <a:support id="myInput" event="onblur" reRender="output" ajaxSingle="true" bypassUpdates="true"/>
         <s:validate/>
      </h:inputText>





      @Length(max = 40)
      @NotEmpty
      private String text;




      Is anything missing? Any annotations, configs or something else?


      An other thing just came to my mind: Is it possible that the validation works and I just don't notice it? is there a console output or anything else?


      Cheers Marcel