Author: alessio.soldano(a)jboss.com
Date: 2013-01-29 00:49:56 -0500 (Tue, 29 Jan 2013)
New Revision: 470
Modified:
webgui/branches/cdi-jsf/src/main/java/org/jboss/wise/gui/ClientConversationBean.java
Log:
Allow sending "null" parameters
Modified:
webgui/branches/cdi-jsf/src/main/java/org/jboss/wise/gui/ClientConversationBean.java
===================================================================
---
webgui/branches/cdi-jsf/src/main/java/org/jboss/wise/gui/ClientConversationBean.java 2013-01-29
05:49:14 UTC (rev 469)
+++
webgui/branches/cdi-jsf/src/main/java/org/jboss/wise/gui/ClientConversationBean.java 2013-01-29
05:49:56 UTC (rev 470)
@@ -116,7 +116,7 @@
Map<String, Object> params = new HashMap<String, Object>();
for (Iterator<Object> it = inputTree.getChildrenKeysIterator(); it.hasNext();
) {
WiseTreeElement wte = (WiseTreeElement)inputTree.getChild(it.next());
- params.put(wte.getName(), wte.toObject());
+ params.put(wte.getName(), wte.isNil() ? null : wte.toObject());
}
outputTree = convertOperationResultToGui(wsMethod.invoke(params), client);
} catch (Exception e) {
Show replies by date