Author: vmolotkov
Date: 2007-11-22 13:23:14 -0500 (Thu, 22 Nov 2007)
New Revision: 4209
Modified:
branches/3.1.x/sandbox/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx
Log:
controls for shuttle
Modified:
branches/3.1.x/sandbox/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx
===================================================================
---
branches/3.1.x/sandbox/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx 2007-11-22
18:21:18 UTC (rev 4208)
+++
branches/3.1.x/sandbox/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx 2007-11-22
18:23:14 UTC (rev 4209)
@@ -132,7 +132,7 @@
document.body.onselectstart = function() {return false;};
document.body.className = "body";
function init() {
- var cotrolsIdPrefix = [['up', 'disup'], ['down',
'disdown'], ['last', 'dislast'],
['first','disfirst']];
+ var cotrolsIdPrefix = [['copy', 'disCopy'], ['copyAll',
'disCopyAll'], ['remove', 'disRemove'],
['removeAll','disRemoveAll']];
var listShuttle = new Richfaces.ListShuttle(new
Richfaces.OrderingList('#{cId}targetList', '#{cId}internal_tab',
'#{cId}internal_header_tab', '#{cId}focusKeeper',
'#{cId}valueKeeper', cotrolsIdPrefix, '#{cId}sortLabel', function()
{#{component.attributes['onorderchanged']}}),
new Richfaces.ListBase('#{cId}sourceList',
'#{cId}tlInternal_tab', '#{cId}tlInternal_header_tab',
'#{cId}tlFocusKeeper', '#{cId}tlValueKeeper', cotrolsIdPrefix,
'#{cId}tlSortLabel', function()
{#{component.attributes['onorderchanged']}}),
"#{cId}", cotrolsIdPrefix);
Show replies by date