Back Forum Reply New

Input a list of integers into flow

I currently have a situation in which spring MVC controller calls a flow on a form submission, thereby providing all the attributes of the backing object for that form to the flow as input. The two attributes of this form backing object are an integer, which is input to the flow just fine, and a list of Integers. My problem is that I can't find any way to input the list of integers list into the flow, and everything I've tried simply results in a input mapping error. Is there any way to do this?

Here's my flow and the error for referenceCode:
lt;?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?gt;
lt;flow xmlns=quot;schema/webflowquot;     xmlns:xsi=quot;2001/XMLSchema-instancequot;     xsi:schemaLocation=quot;schema/webflow schema/webflow/spring-webflow-2.0.xsdquot;gt;

lt;input name=quot;moduleIdquot; required=quot;truequot; /gt;
lt;input name=quot;sequenceIdsListquot; type=quot;java.util.Listquot; required=quot;truequot; /gt;

lt;action-state id=quot;moduleSelectionquot;gt;
lt;evaluate expression=quot;flowScope.moduleIdquot; /gt;
lt;transition on=quot;1quot; to=quot;statusUpdatequot; /gt;
lt;transition on=quot;2quot; to=quot;fooquot; /gt;
lt;/action-stategt;

lt;view-state id=quot;statusUpdatequot; view=quot;testquot;gt;

lt;/view-stategt;
lt;/flowgt;

Code:
org..webflow.engine.FlowInputMappingException: Errors occurred during input mapping on startup of the 'module' flow; errors = [[RequiredError@164d4e8 mapping = sequenceIdsList -gt; flowScope.sequenceIdsList, code = 'required', error = true, errorCause = [null], originalValue = [null], mappedValue = [null]]]
¥
Back Forum Reply New