Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

download file using h:commandLink or h:graphicImage

 
Akash Singla
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a created a download Image on a page.
My requirement is that when the user clicks on the download image, he should be able to download the file associated with the Download link.

I'm not able to achieve this because h:commandLink and a4j:commandLink generate href="#"

I'm using JSF with facelets and richFaces

Please help

Thanks
Akash
 
Akash Singla
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found this link,
webpage

Very helpful.

Akash
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic