Deprecated FormTag's "commandName" in favor of "modelAttribute"

Issue: SPR-14094
This commit is contained in:
Juergen Hoeller
2016-03-29 12:09:16 +02:00
parent 26bbb6e767
commit 2dae4d8134
4 changed files with 12 additions and 17 deletions

View File

@@ -5,7 +5,7 @@
version="2.0">
<description>Spring Framework JSP Form Tag Library</description>
<tlib-version>4.0</tlib-version>
<tlib-version>4.3</tlib-version>
<short-name>form</short-name>
<uri>http://www.springframework.org/tags/form</uri>
@@ -131,8 +131,7 @@
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>Name of the model attribute under which the form object is exposed.
Defaults to 'command'.</description>
<description>DEPRECATED: Use "modelAttribute" instead.</description>
<name>commandName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>