I am trying to use a jsf component in jbpm's 3.2 webapp which requires an Array
or a List as output variable.
| <h:selectManyCheckbox id="cars"
value="#{taskBean.variables['testvariable']}">
| <f:selectItem itemLabel="test1" itemValue="test1"/>
| <f:selectItem itemLabel="test2" itemValue="test2"/>
| </h:selectManyCheckbox>
|
If I define testvariable as an ArrayList
context.setVariable("testvariable", new ArrayList(), token);
it's possible to access the taskform page. But trying to save it results in an
error (java.lang.IllegalArgumentException: ValueBinding for UISelectMany must
be of type List or Array).
Can anyone give me a hint how to bring the webapp to accept an ArrayList from
the jsf component?
Thanks in advance,
Patrick
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950504#3950504
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950504
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user