This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File Upload  RSS feed

 
Bhaskar GR
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to upload the file using jsf component can any body post the code of custom component. Thanking you in advance.


Bhaskar.G.r
9900924608.
 
Darryl Nortje
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Bhaskar,

I am using myFaces with tomahawk.

I use the tomahawk <t:inputFileUpload tag for this.

cheers
Darryl
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need a custom component. Just look around for existing component libraries first. Tomahawk for example has a t:inputFileUpload component, as mentioned before. You can find here an useful article about how to integrate and use it in a Sun JSF Mojarra environment: http://balusc.blogspot.com/2008/02/uploading-files-with-jsf.html It is actually relatively simple.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!