Author: nbelaevski
Date: 2008-12-06 00:22:03 -0500 (Sat, 06 Dec 2008)
New Revision: 11600
Modified:
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleRendererBase.java
Log:
https://jira.jboss.org/jira/browse/RF-2073
Modified:
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleRendererBase.java
===================================================================
---
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleRendererBase.java 2008-12-06
05:21:31 UTC (rev 11599)
+++
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleRendererBase.java 2008-12-06
05:22:03 UTC (rev 11600)
@@ -308,16 +308,15 @@
String clientId = listShuttle.getBaseClientId(context);
ExternalContext externalContext = context.getExternalContext();
- Map requestParameterMap = externalContext
- .getRequestParameterMap();
+ Map<String, String[]> requestParameterValuesMap = externalContext
+ .getRequestParameterValuesMap();
+ String[] strings = (String[]) requestParameterValuesMap.get(clientId);
-
- if (requestParameterMap.containsKey(clientId)) {
+ if (strings != null && strings.length != 0) {
Set sourceSelection = new HashSet();
Set targetSelection = new HashSet();
Object activeItem = null;
- String[] strings = (String[])
externalContext.getRequestParameterValuesMap().get(clientId);
Map map = new LinkedHashMap();
boolean facadeSource = true;