[richfaces-svn-commits] JBoss Rich Faces SVN: r233 - in trunk/richfaces/dropdown-menu/src/main: resources/org/richfaces/renderkit/html/css and 1 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Apr 2 10:32:36 EDT 2007


Author: d.bulahov
Date: 2007-04-02 10:32:36 -0400 (Mon, 02 Apr 2007)
New Revision: 233

Modified:
   trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml
   trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss
   trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
Development (positioning of the menu of groups)

Modified: trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml
===================================================================
--- trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml	2007-04-02 08:27:15 UTC (rev 232)
+++ trunk/richfaces/dropdown-menu/src/main/config/component/dropdownmenu.xml	2007-04-02 14:32:36 UTC (rev 233)
@@ -44,6 +44,7 @@
 			<description>
 			  Set the submission mode for all menu items of the menu except ones where this attribute redefined. (ajax,server(Default),none)
 			</description>
+			<defaultvalue>"server"</defaultvalue>
 		</property>
 
 		<property>

Modified: trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss
===================================================================
--- trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss	2007-04-02 08:27:15 UTC (rev 232)
+++ trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/css/dropdownmenu.xcss	2007-04-02 14:32:36 UTC (rev 233)
@@ -27,7 +27,6 @@
 	white-space : nowrap; 
 	font-family : arial; 
 	font-size : 11px; 
-	position : relative; 
 	width : 75px; 
 	height : 18px;
 }

Modified: trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js	2007-04-02 08:27:15 UTC (rev 232)
+++ trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js	2007-04-02 14:32:36 UTC (rev 233)
@@ -387,10 +387,10 @@
 		var dim = Element.getDimensions(this.element);
 
 		// parent element
-//		var top	= screenOffset[1];
-//		var left	= screenOffset[0];
-		var top	= 0;
-		var left	= 0;
+		var top	= screenOffset[1];
+		var left	= screenOffset[0];
+		//var top	= 0;
+		//var left	= 0;
 
 		var bottom = top + dim.height;
 		var right = left + dim.width;




More information about the richfaces-svn-commits mailing list