hello,
I'm very new to spring and webflow and stumble over my first problem.
I hope you have a minute or two and can help me :-)
My form object has a collection filled with CodedText items
pseudo code:
class CodedText {
code
text
}
At the (JSP) view I display this list:
<c:forEach var="type" items="${order.types}" varStatus="s">
<tr><td>
<spring:bind path="order.types[${s.index}].code">
<input type="checkbox"
name="${status.expression}"
value="${status.value}"/>
</spring:bind>
</td>
<td>
<c:out value="${type.text}"/> (<c:out value="${type.code}"/>)
</td>
</tr>
</c:forEach>
This list is prefixed with a checkbox. I want to collect to users choice, but can't get the binding to work proberly :cry:
Questions:
- How should I bind the users choice ?
- How could I redisplay the page and show the current users choice ?
TIA, leif


Reply With Quote