1 Reply Latest reply on Aug 18, 2010 5:16 AM by Ilya Shaikovsky

    <rich:fileUpload> validator does not work

    mel r. Newbie



      just trying to add a validator to my file upload component.

      In API doc it says:

      <rich:fileUpload .... validator="#{bean.validator}">


      impl. of bean:

      public void validator(javax.faces.context.FacesContext ctx,
                               javax.faces.component.UIComponent comp,
                               java.lang.Object obj)

           ... do something.


      But the method is never called!


      Help please!