2 Replies Latest reply on Oct 13, 2008 6:06 AM by Tony Lee

    rich:beanValidator issue

    Tony Lee Newbie

       

      <h:inputText value="#{personHome.instance.addr}">
       <rich:beanValidator/>
      </h:inputText>
      


      @Column(length = 50) @Length(min=3, max = 50)
      private String addr;
      


      version:
      richfaces 3.2.2GA
      seam 2.1.0CR1

      problem:
      the value is not required
      but if I keep the inputText empty
      then click submit button
      it always check the value and ask for 3-50 letters

      is this a bug?

      thanks for any reply