• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Upload Component.  RSS feed

 
nitin kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to use the the ui:upload tag to upload files.But the expression , for example UploadedFile uploadedFile = fileUpload1.getUploadedFile(); gives java.lang.ClassCastException.Has anybody encountered this error?.Can anyone reply in short how they used the File Upload component.Also I tried the using the documentation given for com.sun.rave.web.ui.component.UploadBase.


Regards
Nitin
 
Jeremy Wilson
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use the file upload component from the myfaces apache extensions. There is an example included with the Examples as well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!