This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Selection tag in JSF

 
Palaninathan Arumugam
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am looking for a JSF tag to choose the file from the system.
In HTML we have <input type="file"> tag which will show the file selection with browse button , whether the user can select the file.
I am wondering whether is there any tag similar to that in JSF.If there is
no standard tag , how can I do that ?
Please help me.

Regards
palani
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like Sun left that out of it's implementation. MyFaces provides a component h:inputFileUpload. I am sure most other implementations do as well.
 
Palaninathan Arumugam
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.
It would be helpful for me if you can share a example for the same.
I am new to JSF.
Thanks again
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might depend on what implementation you are using.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic