Hi,
I 'm currently having 2 problems with a spring form:
1. I 'm using this line
However, theCode:<form:form name="invitationDetails" commandName="invitation" action="<c:url value='${requestUrl}'/>" method="POST">is not translated to the actual URI mapped in the dispatcher servlet. Of course I have included the core jstl library.Code:<c:url value='${requestUrl}'/>
Isnot working with <form:form> ? Is it only working with <form> ?Code:<c:url value='${requestUrl}'/>
2. I 've been using checkboxes to display information. It was a bit tricky to realise where should I map the items and path attributes. However, I need to display some of the checkboxes pre-checked. The reference documentation mentions:
What does this mean exactly?Approach Two - When the bound value is of type array or java.util.Collection, the input(checkbox) is marked as 'checked' if the configured setValue(Object) value is present in the bound Collection.
Thanks in advance for your replies...
J


Reply With Quote