form tags path attribute leaving square brackets out of id attribute of html tag [SPR-4698] #9375
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: declined
A suggestion or change that we don't feel we should currently apply
spring-projects-issues commentedApr 14, 2008
•
edited
Matthew Tatum opened SPR-4698 and commented
I have a problem that since moving from Spring 2.0 to Spring 2.5 form tags that render collections are working slightly differently.
<form:input path="myCollection[${index}].myValue" />
previously rendered as:
<select id="myCollection[0].myValue" name="myCollection[0].myValue" />
and is now rendering:
<select id="myCollection0.myValue" name="myCollection[0].myValue" />
Notice the lack of square brackets in the id attribute. This may not seem like much but we have a lot of javascript that relies on it rendering the first way!
Affects: 2.5.3
Issue Links:
The text was updated successfully, but these errors were encountered: