Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10971

JSF 2 and Richfaces 4 - fileUpload

From Hollow Quincy <hollow.quincy@gmail.com>
Newsgroups comp.lang.java.programmer
Subject JSF 2 and Richfaces 4 - fileUpload
Date 2011-12-23 04:09 -0800
Organization http://groups.google.com
Message-ID <f3a3034d-66dc-4559-b9dd-be3b2ff043b0@v13g2000yqc.googlegroups.com> (permalink)

Show all headers | View raw


Hi,

I am trying to create application with EJB3.1, JSF2.0 and RichFaces
4.1.0 Final.

Generally I managed to run ajax action on web page. I would like to
use rich:fileupload.
When I write:
 public void listener(FileUploadEvent event) throws Exception {
        UploadedFile item = event.getUploadedFile();
and run maven 3 I have error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-
plugin:2.3.1:compile (default-compile) on project xxx: Compilation
failure
[ERROR] class file for javax.faces.event.FacesEvent not found

I can see that
public class FileUploadEvent extends FacesEvent
but it is true, that I cannot find class:
javax.faces.event.FacesEvent

Is it a bug ? what should I do ?

Thanks for help !

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

JSF 2 and Richfaces 4 - fileUpload Hollow Quincy <hollow.quincy@gmail.com> - 2011-12-23 04:09 -0800
  Re: JSF 2 and Richfaces 4 - fileUpload Frank Langelage <frank@lafr.de> - 2011-12-23 14:14 +0100
    Re: JSF 2 and Richfaces 4 - fileUpload Hollow Quincy <hollow.quincy@gmail.com> - 2011-12-27 00:47 -0800
      Re: JSF 2 and Richfaces 4 - fileUpload Frank Langelage <frank@lafr.de> - 2011-12-27 12:42 +0100
        Re: JSF 2 and Richfaces 4 - fileUpload Hollow Quincy <hollow.quincy@gmail.com> - 2011-12-27 05:47 -0800

csiph-web