-
Mar 12th, 2010, 01:37 PM
#1
Spring 3.0 tags remove brackets from form names
I have a form backing command object which uses arrays and maps. I used to be able to use form tags to populate this data like so:
<form:hidden path="list[0].text" />
It would generate html that looked something like:
<input id="list0.text" name="list[0].text" type="hidden" value="value" />
With Spring 3.0, I'm now getting the following with brackets removed from the name:
<input id="list0.text" name="list0.text" type="hidden" value="value" />
This breaks the binding in my command object. I assume that this change was made to produce valid html, but I'm not sure how to get around this problem. Is there some other way to bind the form data to my command object?
-
Mar 12th, 2010, 04:36 PM
#2
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules