It's all about the answers!

Ask a question

Hover not working within Birt report


Erwin Kunz (94687086) | asked Jan 16 '13, 8:18 a.m.
edited Jan 16 '13, 8:21 a.m.
I would like to be able to enable the hover on a birt report
Based on https://jazz.net/wiki/bin/view/Main/ReportsBIRTFAQ  I have put following code in a HTML cell


&lta target="_self" class="jazz-app-ResourceLink"
id="jazz_app_ResourceLink_&ltVALUE-OF>row["WI_ID"]&lt/VALUE-OF>"
href="/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/&ltVALUE-OF>row["WI_ID"]&lt/VALUE-OF>">&ltVALUE-OF>row["SUMMARY"]&lt/VALUE-OF>&lt/a>
&ltcode style="display:none">
&ltscript>titleLink=document.getElementById("jazz_app_ResourceLink_&ltVALUE-OF>row["WI_ID"]&lt/VALUE-OF>"); new jazz.ui.ResourceLink ({retainLinkText: true},titleLink);
if (titleLink.lastChild.nodeName == "IMG"){titleLink.removeChild(titleLink.lastChild);};
&lt/script>
&lt/code>


The hyperlink is working but not the hover.
But after I run the following command (with hardcoded id) using firebug
 
titleLink=document.getElementById("jazz_app_ResourceLink_13009"); new jazz.ui.ResourceLink ({retainLinkText: true},titleLink);
 
the hover works fine.
 
Any Idea why the code is not executed during the load of the Birt report?
 


Comments
Guido Schneider commented Feb 05 '13, 3:43 p.m.

Any news here?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.