0 Replies Latest reply on Oct 17, 2008 3:06 PM by Chris Simons

    Using UploadEvent (RichFaces) - deployment problems

    Chris Simons Expert

      All,


      Currently we're having issues implementing the RichFaces FileUpload component.  We have used some guidelines on the RichFaces site with its usage of UploadEvent and UploadItem.  However, these class defs throw a ClassNotFoundException upon deployment - specifically for UploadEvent.  Does anyone have any suggestions?


      Background:
      jBoss 4.2.2
      Seam 2.0.0.GA
      Richfaces 3.2.2.GA


      We've double-checked and the proper RichFaces jars are where they should be.  We've posted this same question/concern to the RichFaces forum but haven't gotten a response there so I am reaching out to you all.


      Example
      Code:


      import org.richfaces.event.UploadEvent;

      @Name("fileUploadBean")
      @Scope(ScopeType.SESSION)
      public class FileUploadBean implements FileUploadBeanLocal
      {

      public void listener(UploadEvent event) throws Exception {
      // code
      UploadItem item = event.getUploadItem();
      // more code
      }

      }