Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5930293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:32:09+00:00 2026-05-22T14:32:09+00:00

I am using JSF 2.0 & Richfaces 4.0 for my project.There is one model

  • 0

I am using JSF 2.0 & Richfaces 4.0 for my project.There is one model as download file and for that purpose I used
h:outputlink to download file.The file downloads properly.But i used icon to show download option & attached rich:tooltip to show tooltip when mouse hover on that icon but it is not showing.If I used a4j:commandlink then tooltip shows but i cant implelement download functionality using a4j:commandlink. Can anybody tell me what is the reason that tooltip is not working for h:outputlink? Here is my code…

<h:outputLink rendered="#{docList.docType=='FILE' and not empty docList.docName}" value="/FileDownload" title="Download Documents">
                            <f:param name="fileId" value="#{docList.docId}"/>
                            <f:param name="fileName" value="#{docList.docName}"/>
                            <f:param name="fileSize" value="#{docList.docLength}"/>
                        <h:graphicImage library="images" name="doc_save_icon.png" style="border:0;"/>
                        <rich:tooltip styleClass="tooltip" layout="block" mode="ajax" value="Download Documents">
                                 Download Documents
                        </rich:tooltip>
                    </h:outputLink>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:32:10+00:00Added an answer on May 22, 2026 at 2:32 pm

    Oh you missed sth the for attribute and id example

    <h:commandLink value="TEST12" action="STH" **id="cmdlnk"** />
    <rich:toolTip **for="cmdlnk"**>This is test CMD Link</rich:toolTip>
    <a4j:commandLink value="TEst" id="cmdlnka4j"></a4j:commandLink>
    <rich:toolTip for="cmdlnka4j">This is test A4j LInk</rich:toolTip>
    

    Your New Code :

    <h:outputLink id="fileDld" rendered="#{docList.docType=='FILE' and not empty docList.docName}" value="/FileDownload" title="Download Documents">
                            <f:param name="fileId" value="#{docList.docId}"/>
                            <f:param name="fileName" value="#{docList.docName}"/>
                            <f:param name="fileSize" value="#{docList.docLength}"/>
                        <h:graphicImage library="images" name="doc_save_icon.png" style="border:0;"/>
                        <rich:tooltip for="fileDld" styleClass="tooltip" layout="block" mode="ajax" value="Download Documents">
                                 Download Documents
                        </rich:tooltip>
                    </h:outputLink>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using a commandButton in a jsf Page to download a file. Using: JSF &
I'm using JSF (Mojarra 1.2) with Richfaces (3.3.2) within some facelets which are used
I am doing a project where I am using JSF 2.0 & Primefaces UI
Im using JSF time ago, and i see that the concept of MODEL is
I'm using jsf 1.2. When a particular jsp has more than one form with
I am using JSF validation to simply check that the length of a field
I'm using JSF 1.2 with Richfaces and Facelets. I have an application with many
I'm using Richfaces JSF and I want to iterate over an Map<Object,Object> . I
I am using JSF tags within an XHTML file. My intention is to enable
I am using jsf reach faces in one application. I am using rich:modalPanel for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.