File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes File Selection tag in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "File Selection tag in JSF" Watch "File Selection tag in JSF" New topic
Author

File Selection tag in JSF

Palaninathan Arumugam
Greenhorn

Joined: Apr 25, 2005
Posts: 4
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

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.


GenRocket - Experts at Building Test Data
Palaninathan Arumugam
Greenhorn

Joined: Apr 25, 2005
Posts: 4
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

Joined: Jul 11, 2001
Posts: 15299
    
    6

It might depend on what implementation you are using.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Selection tag in JSF