Author: Alex.Kolonitsky
Date: 2009-07-23 08:58:03 -0400 (Thu, 23 Jul 2009)
New Revision: 14980
Modified:
branches/community/3.3.X/ui/contextMenu/src/main/java/org/richfaces/renderkit/html/ContextMenuRendererDelegate.java
Log:
contextMenu: onmousemove, onmouseout and onmouseover attributes don't work
https://jira.jboss.org/jira/browse/RF-7497
Modified:
branches/community/3.3.X/ui/contextMenu/src/main/java/org/richfaces/renderkit/html/ContextMenuRendererDelegate.java
===================================================================
---
branches/community/3.3.X/ui/contextMenu/src/main/java/org/richfaces/renderkit/html/ContextMenuRendererDelegate.java 2009-07-23
12:00:23 UTC (rev 14979)
+++
branches/community/3.3.X/ui/contextMenu/src/main/java/org/richfaces/renderkit/html/ContextMenuRendererDelegate.java 2009-07-23
12:58:03 UTC (rev 14980)
@@ -130,6 +130,10 @@
styleClass = "";
}
+ writer.writeAttribute(HTML.onmousemove_ATTRIBUTE,
layer.getAttributes().get("onmousemove"), null);
+ writer.writeAttribute(HTML.onmouseout_ATTRIBUTE,
layer.getAttributes().get("onmouseout"), null);
+ writer.writeAttribute(HTML.onmouseover_ATTRIBUTE,
layer.getAttributes().get("onmouseover"), null);
+
writer.writeAttribute(HTML.class_ATTRIBUTE, "rich-menu-list-border " +
styleClass, null);
writer.writeAttribute(HTML.style_ATTRIBUTE, "display: none; z-index: 2; " +
style, null);
}