[richfaces-issues] [JBoss JIRA] Created: (RF-1944) ToolTip: : js error

Aleksej Yanul (JIRA) jira-events at lists.jboss.org
Thu Jan 17 12:54:19 EST 2008


ToolTip: : js error
-------------------

                 Key: RF-1944
                 URL: http://jira.jboss.com/jira/browse/RF-1944
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: Aleksej Yanul
         Assigned To: Nick Belaevski


line 167
missing ; before statement
[Break on this error] new ToolTip({'delay':0,'showEvent':'mouseover','hideDelay':0,'hideEvent':''} ,{'...

it is missed ";"
code:
new ToolTip({'showEvent':'mouseover','hideEvent':'','hideDelay':0,'delay':0} ,{'onhide':function(event){showEvent('onhideInputID', 'onhide work!')return true;},'onshow':function(event){showEvent('onshowInputID', 'onshow work!')return true;},'oncomplete':null} ,"formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3","formID:tooltipSubviewID:inp1","client",false,"bottom-right",false,10,10,"A4J.AJAX.Submit('j_id_jsp_1792437080_0','formID',event,ajaxOptions)",{'parameters':{'formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3':'formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3'} ,'actionUrl':'/jsp/pages/Rich/Rich.jsf?javax.portlet.faces.DirectLink=true','oncomplete':function(request,event,data){showEvent('oncompleteInputID', 'oncomplete work!');{var _toolTip = $('formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3').component;_toolTip.toolTipContent = $('formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3content');_toolTip.displayDiv();}},'control':this,'onbeforedomupdate':function(request,showEvent,data){;{ var _toolTip = $('formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3').component;_toolTip.toolTip.style.display = 'none'; }}} );;
168

//my code:
			<rich:toolTip value="toolTip for input text" onclick="showEvent('onclickInputID', 'onclick work!')"
				oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
				onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
				onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
				onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
				onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
				onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')" onshow="showEvent('onshowInputID', 'onshow work!')">
				<f:facet name="defaultContent">
					<f:verbatim>DEFAULT VALUE</f:verbatim>
				</f:facet>
			</rich:toolTip>

-- 
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