Announcement Announcement Module
No announcement yet.
Spring 3.0 tags remove brackets from form names Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    Fixed in 3.0.2