aspose file tools
The moose likes JSF and the fly likes File Selection tag in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

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

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
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

It might depend on what implementation you are using.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: File Selection tag in JSF
 
Similar Threads
File upload filter for displaying files
File select with restictions
How can I integrate htmlDesigner with Eclipse.
restricting the length of a display string in a page
How to show a panel or any other GUI object in OpenFaces 3.00 Datatable upon row selection?