[richfaces-svn-commits] JBoss Rich Faces SVN: r5743 - trunk/sandbox/ui/combobox/src/main/templates.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Jan 30 14:55:30 EST 2008


Author: abelevich
Date: 2008-01-30 14:55:30 -0500 (Wed, 30 Jan 2008)
New Revision: 5743

Modified:
   trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
Log:
add support for shadow image

Modified: trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx	2008-01-30 19:55:00 UTC (rev 5742)
+++ trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx	2008-01-30 19:55:30 UTC (rev 5743)
@@ -16,7 +16,8 @@
 	<h:scripts>
 			new org.ajax4jsf.javascript.PrototypeScript(),
 			scripts/comboboxUtils.js,
-			scripts/combobox.js
+			scripts/combobox.js,
+			/org/richfaces/renderkit/html/scripts/utils.js
 	</h:scripts>
  
 	<f:clientid var="clientId" />
@@ -227,7 +228,7 @@
 	
 	<div id="listParent#{clientId}" class="rich-combobox-list-cord #{listClass}" style="display:none; #{listStyle};z-index: 3;position:absolute;">
 		<div class="rich-combobox-shadow">
-			<table cellpadding="0" cellspacing="0" border="0" width="255" height="109">
+			<table id="shadow#{clientId}" cellpadding="0" cellspacing="0" border="0">
 				<tr>
 					<td class="rich-combobox-shadow-tl">
 						<img src="#{spacer}" width="10" height="1" alt="" border="0"></img><br></br>
@@ -304,6 +305,7 @@
 											   "comboboxField#{clientId}", 
 											   "comboboxButton#{clientId}", 
 											   "comboBoxButtonBG#{clientId}",
+											   "shadow#{clientId}",
 											   Richfaces.ComboBox.CLASSES, 
 											   "#{listWidth}", "#{listHeight}",
 											   #{this:getItemsTextAsJSArray(context, component)}, 




More information about the richfaces-svn-commits mailing list