diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/tags/form/AbstractHtmlElementTag.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/tags/form/AbstractHtmlElementTag.java
index 2062110b087..74eb84c8dcc 100644
--- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/tags/form/AbstractHtmlElementTag.java
+++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/tags/form/AbstractHtmlElementTag.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2007 the original author or authors.
+ * Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,7 +18,6 @@ package org.springframework.web.servlet.tags.form;
import java.util.HashMap;
import java.util.Map;
-
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.DynamicAttributes;
@@ -40,7 +39,7 @@ import org.springframework.util.StringUtils;
* @author Jeremy Grelle
* @since 2.0
*/
-public abstract class AbstractHtmlElementTag extends AbstractDataBoundFormElementTag implements DynamicAttributes{
+public abstract class AbstractHtmlElementTag extends AbstractDataBoundFormElementTag implements DynamicAttributes {
public static final String CLASS_ATTRIBUTE = "class";
diff --git a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java
index db73d23e0f0..aa1258577a5 100644
--- a/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java
+++ b/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2008 the original author or authors.
+ * Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ import javax.servlet.jsp.JspException;
* @author Juergen Hoeller
* @since 2.0
*/
-public class HiddenInputTag extends AbstractDataBoundFormElementTag {
+public class HiddenInputTag extends AbstractHtmlElementTag {
/**
* Writes the HTML 'input' tag to the supplied {@link TagWriter} including the
diff --git a/org.springframework.web.servlet/src/main/resources/META-INF/spring-form.tld b/org.springframework.web.servlet/src/main/resources/META-INF/spring-form.tld
index 953476bf59b..a2806a77e7d 100644
--- a/org.springframework.web.servlet/src/main/resources/META-INF/spring-form.tld
+++ b/org.springframework.web.servlet/src/main/resources/META-INF/spring-form.tld
@@ -1,14 +1,14 @@
-
-
+
+
Spring Framework JSP Form Tag Library
3.0
form
http://www.springframework.org/tags/form
-
+
Renders an HTML 'form' tag and exposes a binding path to inner tags for binding.
form
@@ -192,7 +192,7 @@
true
-
+
Renders an HTML 'input' tag with type 'text' using the bound value.
input
@@ -386,7 +386,7 @@
true
-
+
Renders an HTML 'input' tag with type 'password' using the bound value.
password
@@ -586,7 +586,7 @@
true
-
+
Renders an HTML 'input' tag with type 'hidden' using the bound value.
hidden
@@ -610,8 +610,111 @@
false
true
+
+ Equivalent to "class" - HTML Optional Attribute
+ cssClass
+ false
+ true
+
+
+ Equivalent to "class" - HTML Optional Attribute. Used when the bound field has errors.
+ cssErrorClass
+ false
+ true
+
+
+ Equivalent to "style" - HTML Optional Attribute
+ cssStyle
+ false
+ true
+
+
+ HTML Standard Attribute
+ lang
+ false
+ true
+
+
+ HTML Standard Attribute
+ title
+ false
+ true
+
+
+ HTML Standard Attribute
+ dir
+ false
+ true
+
+
+ HTML Standard Attribute
+ tabindex
+ false
+ true
+
+
+ HTML Event Attribute
+ onclick
+ false
+ true
+
+
+ HTML Event Attribute
+ ondblclick
+ false
+ true
+
+
+ HTML Event Attribute
+ onmousedown
+ false
+ true
+
+
+ HTML Event Attribute
+ onmouseup
+ false
+ true
+
+
+ HTML Event Attribute
+ onmouseover
+ false
+ true
+
+
+ HTML Event Attribute
+ onmousemove
+ false
+ true
+
+
+ HTML Event Attribute
+ onmouseout
+ false
+ true
+
+
+ HTML Event Attribute
+ onkeypress
+ false
+ true
+
+
+ HTML Event Attribute
+ onkeyup
+ false
+ true
+
+
+ HTML Event Attribute
+ onkeydown
+ false
+ true
+
+ true
-
+
Renders an HTML 'select' element. Supports databinding to the selected option.
select
@@ -799,7 +902,7 @@
true
-
+
Renders a single HTML 'option'. Sets 'selected' as appropriate based on bound value.
option
@@ -950,7 +1053,7 @@
true
-
+
Renders a list of HTML 'option' tags. Sets 'selected' as appropriate based on bound value.
options
@@ -1096,7 +1199,7 @@
true
-
+
Renders an HTML 'input' tag with type 'radio'.
radiobutton
@@ -1266,7 +1369,7 @@
true
-
+
Renders multiple HTML 'input' tags with type 'radio'.
radiobuttons
@@ -1454,7 +1557,7 @@
true
-
+
Renders an HTML 'input' tag with type 'checkbox'.
checkbox
@@ -1624,7 +1727,7 @@
true
-
+
Renders multiple HTML 'input' tags with type 'checkbox'.
checkboxes
@@ -1812,7 +1915,7 @@
true
-
+
Renders an HTML 'textarea'.
textarea
@@ -1994,7 +2097,7 @@
true
-
+
Renders field errors in an HTML 'span' tag.
errors
@@ -2132,14 +2235,14 @@
true
-
+
Renders a form field label in an HTML 'label' tag.
label
org.springframework.web.servlet.tags.form.LabelTag
JSP
- Path to errors object for data binding
+ Path to property for data binding
path
true
true
@@ -2266,5 +2369,5 @@
true
-
-
\ No newline at end of file
+
+
diff --git a/org.springframework.web.servlet/src/main/resources/META-INF/spring.tld b/org.springframework.web.servlet/src/main/resources/META-INF/spring.tld
index bea8012cf20..a0a8c6f7fc7 100644
--- a/org.springframework.web.servlet/src/main/resources/META-INF/spring.tld
+++ b/org.springframework.web.servlet/src/main/resources/META-INF/spring.tld
@@ -1,14 +1,14 @@
-
+
Spring Framework JSP Tag Library
3.0
spring
http://www.springframework.org/tags
-
+
Sets default HTML escape value for the current page.
@@ -25,7 +25,7 @@
true
-
+
Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping.
@@ -50,7 +50,7 @@
true
-
+
Retrieves the message with the given code, or text if code isn't resolvable.
@@ -133,7 +133,7 @@
true
-
+
Retrieves the theme message with the given code, or text if code isn't resolvable.
@@ -210,7 +210,7 @@
true
-
+
Provides Errors instance in case of bind errors.
@@ -240,7 +240,7 @@
true
-
+
Sets a nested path to be used by the bind tag's path.
@@ -261,7 +261,7 @@
true
-
+
Provides BindStatus object for the given bind path.
@@ -298,7 +298,7 @@
true
-
+
Provides transformation of variables to Strings, using an appropriate
@@ -341,7 +341,7 @@
true
-
+
URL tag based on the JSTL c:url tag. This variant is fully
backwards compatible with the standard tag. Enhancements include support
@@ -393,7 +393,7 @@
true
-
+
Parameter tag based on the JSTL c:param tag. The sole purpose is to
support params inside the spring:url tag.
@@ -413,7 +413,7 @@
true
-
+
Evaluates a Spring expression (SpEL) and either prints the result or assigns it to a variable.
eval
@@ -453,5 +453,5 @@
true
-
-
\ No newline at end of file
+
+