0 Replies Latest reply on May 23, 2011 3:11 AM by gopal krishna

    RichFaces FileUpload Listener Not getting called

    gopal krishna Newbie

      Hi All,

       

      I am working on JSF 2.0 with RichFaces 3.3.3

       

      I got problem with rich file upload tag given below:

       

      <rich:fileUpload

       

                          fileUploadListener="#{unitsAndFacilitiesBean.fileuploadListner}"

       

                          acceptedTypes="jpg, gif, png, bmp,xml" allowFlash="false"

       

                          id="upload" immediateUpload="false"

       

                          />

       

      My problem is the lister of Fileupload is not getting called

       

      I have done the poc by help of following link of jboss

       

      http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf?c=fileUpload&tab=usage

       

      and i have also added two init-paqram tags  tags inside  web.xml inside filter tag that is given below:

       

      <init-param>

       

      <param-name>createTempFiles</param-name>

       

      <param-value>false</param-value>

       

      </init-param>

       

      <init-param>

       

      <param-name>maxRequestSize</param-name>

       

      <param-value>800000</param-value>

       

      </init-param>

       

      Please help me that why this fileupload listener is not calling.

       

      Thanks in Advance,

       

      Gopal.