Skip to content

Commit

Permalink
Remove obsolete commandName attribute in spring-form.tld
Browse files Browse the repository at this point in the history
Since support for the commandName attribute was removed from the
implementation of FormTag in Spring Framework 5.0, the presence of the
commandName attribute in the spring-form.tld file is no longer valid
and can lead one to assume that the commandName attribute is still
supported -- for example when using code completion in a JSP editor.

This commit therefore removes the obsolete commandName attribute in
spring-form.tld.

Closes gh-26337
  • Loading branch information
sbrannen committed Jan 3, 2021
1 parent 91a6254 commit 44b29b6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions spring-webmvc/src/main/resources/META-INF/spring-form.tld
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,6 @@
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>DEPRECATED: Use "modelAttribute" instead.</description>
<name>commandName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>HTML Required Attribute</description>
<name>action</name>
Expand Down

0 comments on commit 44b29b6

Please sign in to comment.