2 Replies Latest reply on Apr 18, 2008 2:23 AM by Marcos Sousa

    Problems with RichFaces and Seam

    Marcos Sousa Newbie

      Hello,


      I'm updated RichFaces to 3.2.0GA to use rich:fileUpload.But it doesn't work with seam.


      I have made debugs and I found that UploadEvent doesn't bean created. This code doesn't execute.



       if (e instanceof UploadEvent) {
                  FacesContext facesContext = FacesContext.getCurrentInstance();
                  MethodBinding binding = getFileUploadListener();
                  if (binding != null) {
                       binding.invoke(facesContext, new Object[] { e });
                  }
      
              }



      Have have richfaces configured in my components.xml look:


       <web:multipart-filter create-temp-files="true" max-request-size="20485760" url-pattern="*.xhtml" />
            <web:ajax4jsf-filter force-parser="true" enable-cache="false" url-pattern="*.xhtml" />



      What can be the problem?


      Thanks!