• Post Reply Bookmark Topic Watch Topic
  • New Topic

tomahawk - Problem in replacing FileUpload browse button by hyperlink  RSS feed

 
vennila Selvaraj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!