[richfaces-svn-commits] JBoss Rich Faces SVN: r4641 - in branches/3.1.x/ui/dropdown-menu/src/main: templates/org/richfaces and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Sat Dec 8 11:47:40 EST 2007


Author: maksimkaszynski
Date: 2007-12-08 11:47:40 -0500 (Sat, 08 Dec 2007)
New Revision: 4641

Modified:
   branches/3.1.x/ui/dropdown-menu/src/main/java/org/richfaces/renderkit/html/DropDownMenuRendererBase.java
   branches/3.1.x/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1566
Adaptation to Prototype 1.6

Modified: branches/3.1.x/ui/dropdown-menu/src/main/java/org/richfaces/renderkit/html/DropDownMenuRendererBase.java
===================================================================
--- branches/3.1.x/ui/dropdown-menu/src/main/java/org/richfaces/renderkit/html/DropDownMenuRendererBase.java	2007-12-08 16:47:34 UTC (rev 4640)
+++ branches/3.1.x/ui/dropdown-menu/src/main/java/org/richfaces/renderkit/html/DropDownMenuRendererBase.java	2007-12-08 16:47:40 UTC (rev 4641)
@@ -91,6 +91,7 @@
 			  menuOptions.addEventHandler("onexpand");
 			  menuOptions.addEventHandler("onitemselect");
 			  menuOptions.addEventHandler("ongroupactivate");
+			  menuOptions.addOption("disabled");
 			  function.addParameter(menuOptions);
 			  function.appendScript(buffer);
 

Modified: branches/3.1.x/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx
===================================================================
--- branches/3.1.x/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx	2007-12-08 16:47:34 UTC (rev 4640)
+++ branches/3.1.x/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx	2007-12-08 16:47:40 UTC (rev 4641)
@@ -19,8 +19,8 @@
     </jsp:scriptlet>
 	<div id="#{clientId}" style=""
 		class="#{component.attributes['styleClass']} dr-menu-label dr-menu-label-unselect rich-ddmenu-label rich-ddmenu-label-unselect"
-		onmouseover="this.className='dr-menu-label dr-menu-label-select rich-ddmenu-label rich-ddmenu-label-select' ; #{component.attributes['onmouseover']}"
-		onmouseout="this.className='dr-menu-label dr-menu-label-unselect rich-ddmenu-label rich-ddmenu-label-unselect'; #{component.attributes['onmouseout']}"
+		onmouseover="#{component.attributes['onmouseover']}"
+		onmouseout="#{component.attributes['onmouseout']}"
 		onmousemove="#{component.attributes['onmousemove']}">
 	<jsp:scriptlet>	
 		<![CDATA[ } else { ]]> 




More information about the richfaces-svn-commits mailing list