[richfaces-svn-commits] JBoss Rich Faces SVN: r6322 - in trunk/sandbox/ui/inplaceSelect/src/main: templates and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Feb 25 09:02:41 EST 2008


Author: abelevich
Date: 2008-02-25 09:02:41 -0500 (Mon, 25 Feb 2008)
New Revision: 6322

Modified:
   trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
   trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
add IE6 check than displaying buttons shadow

Modified: trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js	2008-02-25 14:02:18 UTC (rev 6321)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js	2008-02-25 14:02:41 UTC (rev 6322)
@@ -1,9 +1,7 @@
 if(!window.Richfaces) window.Richfaces = {};
 Richfaces.InplaceSelectList = Class.create(Richfaces.ComboBoxList, {
-	initialize : function($super, listId, parentListId, selectFirstOnUpdate, classes, width, height, itemsText, onlistcall, fieldId, shadowId,
-						  showDelay, hideDelay) {
-		$super(listId, parentListId, selectFirstOnUpdate, classes, width, height, itemsText, onlistcall, fieldId, shadowId,
-			   showDelay, hideDelay);
+	initialize : function($super, listId, parentListId, selectFirstOnUpdate, classes, width, height, itemsText, onlistcall, fieldId, shadowId, showDelay, hideDelay) {
+		$super(listId, parentListId, selectFirstOnUpdate, classes, width, height, itemsText, onlistcall, fieldId, shadowId, showDelay, hideDelay);
 	},
 	
 	setPosition : function($super, fieldTop, fieldLeft, fieldHeight) {

Modified: trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx	2008-02-25 14:02:18 UTC (rev 6321)
+++ trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx	2008-02-25 14:02:41 UTC (rev 6322)
@@ -74,7 +74,7 @@
 		   class="rich-inplace-select-field"/>
 	<input id='#{clientId}inplaceValue' name='#{clientId}inplaceValue' type='hidden' value='#{fieldValue}'/>
 	<div id="#{clientId}bar" class="rich-inplace-select-btn-set" style="display:none;">
-		<div class="rich-inplace-select-shadow">
+		<div class="rich-inplace-select-shadow" id="#{clientId}btns_shadow">
 			<table cellpadding="0" cellspacing="0" border="0" class="rich-inplace-select-shadow-size">
 				<tr>
 					<td class="rich-inplace-select-shadow-tl">
@@ -178,7 +178,7 @@
 	var richInplaceSelect = new Richfaces.InplaceSelect(richInplaceList, '#{clientId}', '#{clientId}inplaceTmpValue', 
 														'#{clientId}inplaceValue', '#{clientId}tabber', '#{clientId}inplaceStrut', 
 														richInplaceSelAttributes, richInplaceSelEvents, Richfaces.InplaceSelect.CLASSES, 
-														['#{clientId}bar', '#{clientId}ok', '#{clientId}cancel', '#{clientId}buttons']);
+														['#{clientId}bar', '#{clientId}ok', '#{clientId}cancel', '#{clientId}buttons', '#{clientId}btns_shadow']);
 </script>
 	
 </f:root>	 
\ No newline at end of file




More information about the richfaces-svn-commits mailing list