Author: vmolotkov
Date: 2008-05-03 11:11:38 -0400 (Sat, 03 May 2008)
New Revision: 8441
Modified:
trunk/ui/pickList/src/main/templates/htmlPickList.jspx
Log:
http://jira.jboss.com/jira/browse/RF-3342
Modified: trunk/ui/pickList/src/main/templates/htmlPickList.jspx
===================================================================
--- trunk/ui/pickList/src/main/templates/htmlPickList.jspx 2008-05-03 15:03:46 UTC (rev
8440)
+++ trunk/ui/pickList/src/main/templates/htmlPickList.jspx 2008-05-03 15:11:38 UTC (rev
8441)
@@ -157,11 +157,12 @@
var clientId = '#{clientId}';
RichShuttleUtils.execOnLoad(
function(){
- 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)}),
- "#{clientId}", [['copy', 'discopy'],
['copyAll', 'discopyAll'], ['remove', 'disremove'],
['removeAll','disremoveAll']],
- "#{switchByClick}", #{this:getAsEventHandler(context,
component, "onlistchanged")},
- "#{clientId}valueKeeper");
+ 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)}),
+ "#{clientId}", [['copy', 'discopy'], ['copyAll',
'discopyAll'], ['remove', 'disremove'],
['removeAll','disremoveAll']],
+ "#{switchByClick}", {onlistchanged: #{this:getAsEventHandler(context,
component, "onlistchanged")}},
+ "#{clientId}valueKeeper");
},
RichShuttleUtils.Condition.ElementPresent("#{clientId}"), 100
);