[richfaces-issues] [JBoss JIRA] Created: (RF-2074) rich:toolTip produces Javascript error
Juergen Zimmermann (JIRA)
jira-events at lists.jboss.org
Sun Jan 27 07:59:21 EST 2008
rich:toolTip produces Javascript error
--------------------------------------
Key: RF-2074
URL: http://jira.jboss.com/jira/browse/RF-2074
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: JBossAS 4.2.2, JSF RI 1.2_07, Facelets 1.1.14, RichFaces 3.1.4CR3, Eclipse 3.3.1.1, WTP 2.0.1, JBossTools nightly 20080107, JDK 6u4, WinXP SP2
Reporter: Juergen Zimmermann
I get a Javascript error window with the message:
Line: 29
Error: 'Tooltip' is undefined
Surprisingly this error happens with WTP's web browser, but not with IE 7.
Hmm, in the past I already reported a similiar issue regarding Javascript and rich:tooltip
for WTP's webbrowser which was gone with RF 3.1.3.
Before the error pops up I had a JSF page with a rich:dataTable containing
<a4j:support event="onRowDblClick" action="..."/>.
When double-clicking the error window above pops up.
Here is the fragement of the generated HTML/Javascript code:
24: <h:scripts>
25: new org.ajax4jsf.framework.resource.PrototypeScript(),
26: new org.ajax4jsf.framework.ajax.AjaxScript(),
27: /org/richfaces/renderkit/html/scripts/utils.js,
28: /org/richfaces/renderkit/html/scripts/tooltip.js
29: </h:scripts--><span class="dr-rich-tool-tip rich-tool-tip " id="j_id8:j_id20" style="position: absolute; display : none;z-index:99; "><span id="j_id8:j_id20content">Sprache auf englisch umstellen</span><span id="j_id8:j_id20script" style="display:none"><script type="text/javascript" id ="scriptj_id8:j_id20">
30: new ToolTip({'hideDelay':0,'onhide':'','oncomplete':'','delay':0,'onshow':'','event':'mouseover'} ,"j_id8:j_id20","j_id8:j_id19","client",false,"bottom-right",false,10,10,"A4J.AJAX.Submit('_viewRoot','j_id8',event,ajaxOptions)",{'control':this,'oncomplete':function(request,event,data){;{var _toolTip = $('j_id8:j_id20').component;_toolTip.toolTipContent = $('j_id8:j_id20content');_toolTip.displayDiv();}},'parameters':{'j_id8:j_id20':'j_id8:j_id20'} ,'onbeforedomupdate':function(request,event,data){;{ var _toolTip = $('j_id8:j_id20').component;_toolTip.toolTip.style.display = 'none'; }},'actionUrl':'/hska/faces/kundenverwaltung/tabPanelDetails.xhtml?javax.portlet.faces.DirectLink=true'} );;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list