[richfaces-svn-commits] JBoss Rich Faces SVN: r11793 - trunk/ui/pickList/src/main/templates.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Dec 15 14:48:41 EST 2008


Author: vmolotkov
Date: 2008-12-15 14:48:41 -0500 (Mon, 15 Dec 2008)
New Revision: 11793

Modified:
   trunk/ui/pickList/src/main/templates/htmlPickList.jspx
Log:
https://jira.jboss.org/jira/browse/RF-2239

Modified: trunk/ui/pickList/src/main/templates/htmlPickList.jspx
===================================================================
--- trunk/ui/pickList/src/main/templates/htmlPickList.jspx	2008-12-15 19:39:52 UTC (rev 11792)
+++ trunk/ui/pickList/src/main/templates/htmlPickList.jspx	2008-12-15 19:48:41 UTC (rev 11793)
@@ -160,9 +160,7 @@
 	
 		<script type="text/javascript">
 				
-			var clientId = '#{clientId}';
-			RichShuttleUtils.execOnLoad(
-				function(){
+					var clientId = '#{clientId}';
 					new Richfaces.PickList(
 						new Richfaces.PickList.Target('#{clientId}', '#{clientId}tlInternal_tab', '#{clientId}tlInternal_header_tab', '#{clientId}tlFocusKeeper', undefined, Richfaces.PickList.Target.SelectItem, #{this:getColumnClassesAsJSArray(context, component)}, #{this:getRowClassesAsJSArray(context, component)}),
 						new Richfaces.PickList.Source('#{clientId}', '#{clientId}internal_tab', '#{clientId}internal_header_tab', '#{clientId}focusKeeper', undefined, Richfaces.PickList.Source.SelectItem, #{this:getColumnClassesAsJSArray(context, component)}, #{this:getRowClassesAsJSArray(context, component)}), 
@@ -171,9 +169,6 @@
 											 onfocus:#{this:getAsEventHandler(context, component, "onfocus")},
 											 onblur:#{this:getAsEventHandler(context, component, "onblur")}},
 						"#{clientId}valueKeeper");
-					},
-						RichShuttleUtils.Condition.ElementPresent("#{clientId}"), 100
-				);
 		</script>
 	</span>
 </f:root>
\ No newline at end of file




More information about the richfaces-svn-commits mailing list