aspose file tools
The moose likes JSF and the fly likes tomahawk - Problem in replacing FileUpload browse button by hyperlink Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "tomahawk - Problem in replacing FileUpload browse button by hyperlink " Watch "tomahawk - Problem in replacing FileUpload browse button by hyperlink " New topic
Author

tomahawk - Problem in replacing FileUpload browse button by hyperlink

vennila Selvaraj
Greenhorn

Joined: Oct 10, 2007
Posts: 5
Hi All,

I am using <t:inputFileUpload> to upload files.
But I want a link to appear instead of Browse button.

Any assistance ?

Rgds,
Vennila
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
It is already not possible in plain HTML. As JSF just generates HTML, it already can't do anything for you here.

You may consider to use CSS and a shot of Javascript to simulate another file upload element which facades the original one. But either that, it isn't guaranteed to work in all circumstances. Google "css file upload" or something straightforward like that for information and examples.


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: tomahawk - Problem in replacing FileUpload browse button by hyperlink
 
Similar Threads
how to delete multiple browse
Browse Button Value
Browse Button in HTML For Directory Selection
How I can put a Browse button?
how to browse only folder