[
http://jira.jboss.com/jira/browse/RF-2202?page=all ]
Mikhail Vitenkov reopened RF-2202:
----------------------------------
Assignee: Nick Belaevski (was: Viktor Volkov)
onmouseout rich:menuItem event doesn't work for dropDownMenu menuItems.
See code:
<rich:dropDownMenu id="ddmId"...>
<rich:menuItem icon="#{dDMenu.icon}"
onclick="showEvent('onclickInputID', 'onclick work (item)!')"
oncomplete="showEvent('oncompleteInputID', 'oncomplete work
(item)!')" onmousedown="showEvent('onmousedownInputID',
'onmousedown work (item)!')"
onmousemove="showEvent('onmousemoveInputID', ' work
(item)!')" onmouseout="alert('Hi!');"
onmouseover="showEvent('onmouseoverInputID', 'onmouseover work
(item)!')" onmouseup="showEvent('onmouseupInputID', 'onmouseup
work (item)!')"
onselect="showEvent('onselectInputID', 'onselect work
(item)!')">
<h:outputText value="Item1(test events)" />
</rich:menuItem>
</rich:dropDownMenu>
dropDownMenu javascript error in Opera
--------------------------------------
Key: RF-2202
URL:
http://jira.jboss.com/jira/browse/RF-2202
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: Opera 9.25, Windows
Reporter: Soul Spirit
Assigned To: Nick Belaevski
Fix For: 3.2.0
Triggering mouseout javascript event on any menu item, generates visual glitches
reflected by the following javascript error:
Event thread: mouseout
Error:
name: TypeError
message: Statement on line 95: Type mismatch (usually a non-object value used where an
object is req
uired)
Backtrace:
Line 95 of linked script http://***/a4j_3_1_4.GAscripts/menu.js.faces
var within = false;
Event.extend(event);
var targetElement = event.relatedTarget;
var srcElement = Event.element(event);
if (targetElement)
Line 79 of linked script http://***/a4j_3_1_4.GAscripts/menu.js.faces
if (options.disabled == false && ! RichFaces.Menu.isWithin(e, $(topLevel)))
Line 82 of linked script http://***/a4j_3_1_4.GAscripts/menu.js.faces
menuOff.call(this, e);
mouseout.call(this, e);
Line 18 of linked script
http://***/a4j_3_1_4.GAorg.ajax4jsf.javascript.PrototypeScript.faces
return __method.apply(object, [event || window.event].concat(args));
Line 242 of linked script
http://***/a4j_3_1_4.GAorg.ajax4jsf.javascript.PrototypeScript.faces
return false;
Event.extend(event);
handler.call(element, event);
At unknown location
[statement source code not available]
--
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