Author: nbelaevski
Date: 2008-01-24 18:43:22 -0500 (Thu, 24 Jan 2008)
New Revision: 5609
Modified:
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleRendererBase.java
Log:
http://jira.jboss.com/jira/browse/RF-2000
Modified:
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleRendererBase.java
===================================================================
---
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleRendererBase.java 2008-01-24
23:42:22 UTC (rev 5608)
+++
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleRendererBase.java 2008-01-24
23:43:22 UTC (rev 5609)
@@ -319,7 +319,7 @@
String substring = string.substring(0, idx);
idx = 0;
- boolean target = false;
+ boolean source = true;
boolean selected = false;
@@ -334,13 +334,13 @@
}
if (substring.charAt(idx) == 't') {
- target = true;
+ source = false;
idx++;
}
substring = substring.substring(idx);
- Object key = new ListShuttleRowKey(new Integer(substring), target, facadeSource);
+ Object key = new ListShuttleRowKey(new Integer(substring), source, facadeSource);
map.put(key, value);
}
listShuttle.setSubmittedStrings(map, sourceSelection, targetSelection,
activeItem);