SPR-8755 Add Button tag.

This commit is contained in:
Rossen Stoyanchev
2011-10-21 23:36:41 +00:00
parent fd97c8d7a4
commit 57fe16e14b
3 changed files with 270 additions and 0 deletions

View File

@@ -2370,4 +2370,36 @@
<dynamic-attributes>true</dynamic-attributes>
</tag>
<tag>
<description>Renders an HTML 'button' tag.</description>
<name>button</name>
<tag-class>org.springframework.web.servlet.tags.form.ButtonTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>HTML Standard Attribute</description>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>The name attribute for the HTML button tag</description>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>The value attribute for the HTML button tag</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will disable the HTML element.</description>
<name>disabled</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<dynamic-attributes>true</dynamic-attributes>
</tag>
</taglib>