I have an object with a List type attribute called parts and a few plain ones. I want to display this list and allow the user to add and remove entries from this list. The problem is when the form gets submitted only the plain attributes get bound. The list attribute remains null. To illustrate what I'm looking for, in JSF they have a "datatable" tag that automatically binds the item table to the "parts" attribute:
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
.........
In spring I don't see any equivalent of "datatable". Of course, I can easily display the table using the JSTL foreach but the items are not bound when the form is submitted:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>