diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolver.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolver.java index e919b23e07a..fa9c853e4fe 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolver.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolver.java @@ -61,78 +61,78 @@ import org.springframework.web.util.WebUtils; *

This exception resolver is enabled by default in the common Spring * {@link org.springframework.web.servlet.DispatcherServlet}. * + *

Supported Exceptions

* - * * * - * - * + * + * * * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * - * - * - * + * + * + * * * *
Supported Exceptions
ExceptionHTTP Status CodeExceptionHTTP Status Code

HttpRequestMethodNotSupportedException

405 (SC_METHOD_NOT_ALLOWED)

HttpRequestMethodNotSupportedException
405 (SC_METHOD_NOT_ALLOWED)

HttpMediaTypeNotSupportedException

415 (SC_UNSUPPORTED_MEDIA_TYPE)

HttpMediaTypeNotSupportedException
415 (SC_UNSUPPORTED_MEDIA_TYPE)

HttpMediaTypeNotAcceptableException

406 (SC_NOT_ACCEPTABLE)

HttpMediaTypeNotAcceptableException
406 (SC_NOT_ACCEPTABLE)

MissingPathVariableException

500 (SC_INTERNAL_SERVER_ERROR)

MissingPathVariableException
500 (SC_INTERNAL_SERVER_ERROR)

MissingServletRequestParameterException

400 (SC_BAD_REQUEST)

MissingServletRequestParameterException
400 (SC_BAD_REQUEST)

MissingServletRequestPartException

400 (SC_BAD_REQUEST)

MissingServletRequestPartException
400 (SC_BAD_REQUEST)

ServletRequestBindingException

400 (SC_BAD_REQUEST)

ServletRequestBindingException
400 (SC_BAD_REQUEST)

ConversionNotSupportedException

500 (SC_INTERNAL_SERVER_ERROR)

ConversionNotSupportedException
500 (SC_INTERNAL_SERVER_ERROR)

TypeMismatchException

400 (SC_BAD_REQUEST)

TypeMismatchException
400 (SC_BAD_REQUEST)

HttpMessageNotReadableException

400 (SC_BAD_REQUEST)

HttpMessageNotReadableException
400 (SC_BAD_REQUEST)

HttpMessageNotWritableException

500 (SC_INTERNAL_SERVER_ERROR)

HttpMessageNotWritableException
500 (SC_INTERNAL_SERVER_ERROR)

MethodArgumentNotValidException

400 (SC_BAD_REQUEST)

MethodArgumentNotValidException
400 (SC_BAD_REQUEST)

BindException

400 (SC_BAD_REQUEST)

BindException
400 (SC_BAD_REQUEST)

NoHandlerFoundException

404 (SC_NOT_FOUND)

NoHandlerFoundException
404 (SC_NOT_FOUND)

NoResourceFoundException

404 (SC_NOT_FOUND)

NoResourceFoundException
404 (SC_NOT_FOUND)

AsyncRequestTimeoutException

503 (SC_SERVICE_UNAVAILABLE)

AsyncRequestTimeoutException
503 (SC_SERVICE_UNAVAILABLE)
diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/BindTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/BindTag.java index 5268a3a9ce0..837c9b38e07 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/BindTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/BindTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -43,32 +43,32 @@ import org.springframework.web.servlet.support.BindStatus; * as the bean property that this errors object applies to. Nested tags * such as the {@link TransformTag} can access those exposed properties. * + *

Attribute Summary

* - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ButtonTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ButtonTag.java index 805adeefb16..ff59f33d980 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ButtonTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ButtonTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -27,38 +27,37 @@ import org.springframework.web.servlet.support.RequestDataValueProcessor; * It is provided for completeness if the application relies on a * {@link RequestDataValueProcessor}. * - *

+ *

Attribute Summary

*
Attribute Summary
AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

htmlEscape

false

true

Set HTML escaping for this tag, as boolean value. Overrides the default * HTML escaping setting for the current page.

ignoreNestedPath

false

true

Set whether to ignore a nested path, if any. * Default is to not ignore.

path

true

true

- * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java index 4369ffe3ceb..3fe86f903b6 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxTag.java @@ -39,176 +39,175 @@ import org.springframework.web.bind.WebDataBinder; * For any other bound value type, the '{@code input(checkbox)}' is marked as 'checked' * if the configured {@link #setValue(Object) value} is equal to the bound value. * - *

+ *

Attribute Summary

*
Attribute Summary
AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

disabled

false

true

HTML Optional Attribute. Setting the value of this attribute to 'true' * will disable the HTML element.

id

false

true

HTML Standard Attribute

name

false

true

The name attribute for the HTML button tag

value

false

true

- * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxesTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxesTag.java index ab7207a73a7..fd2bc223a71 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxesTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/CheckboxesTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -24,198 +24,197 @@ import org.springframework.web.bind.WebDataBinder; * The {@code } tag renders multiple HTML 'input' tags with type 'checkbox'. * Intended to be used with a Collection as the {@link #getItems()} bound value. * - *

+ *

Attribute Summary

*
Attribute Summary
AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

accesskey

false

true

HTML Standard Attribute

cssClass

false

true

HTML Optional Attribute

cssErrorClass

false

true

HTML Optional Attribute. Used when the bound field has errors.

cssStyle

false

true

HTML Optional Attribute

dir

false

true

HTML Standard Attribute

disabled

false

true

HTML Optional Attribute. Setting the value of this attribute to 'true' * will disable the HTML element.

htmlEscape

false

true

Enable/disable HTML escaping of rendered values.

id

false

true

HTML Standard Attribute

label

false

true

Value to be displayed as part of the tag

lang

false

true

HTML Standard Attribute

onblur

false

true

HTML Event Attribute

onchange

false

true

HTML Event Attribute

onclick

false

true

HTML Event Attribute

ondblclick

false

true

HTML Event Attribute

onfocus

false

true

HTML Event Attribute

onkeydown

false

true

HTML Event Attribute

onkeypress

false

true

HTML Event Attribute

onkeyup

false

true

HTML Event Attribute

onmousedown

false

true

HTML Event Attribute

onmousemove

false

true

HTML Event Attribute

onmouseout

false

true

HTML Event Attribute

onmouseover

false

true

HTML Event Attribute

onmouseup

false

true

HTML Event Attribute

path

true

true

Path to property for data binding

tabindex

false

true

HTML Standard Attribute

title

false

true

HTML Standard Attribute

value

false

true

- * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java index a1c1c978d66..f2e9ec6865a 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2023 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. @@ -41,141 +41,140 @@ import org.springframework.util.StringUtils; *
  • All errors - set '{@code path}' to '{@code *}'
  • * * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    accesskey

    false

    true

    HTML Standard Attribute

    cssClass

    false

    true

    HTML Optional Attribute

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used when the bound field has errors.

    cssStyle

    false

    true

    HTML Optional Attribute

    delimiter

    false

    true

    Delimiter to use between each 'input' tag with type 'checkbox'. * There is no delimiter by default.

    dir

    false

    true

    HTML Standard Attribute

    disabled

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to 'true' * will disable the HTML element.

    element

    false

    true

    Specifies the HTML element that is used to enclose each 'input' tag with * type 'checkbox'. Defaults to 'span'.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    itemLabel

    false

    true

    Value to be displayed as part of the 'input' tags with type 'checkbox'

    items

    true

    true

    The Collection, Map or array of objects used to generate the 'input' tags * with type 'checkbox'

    itemValue

    false

    true

    Name of the property mapped to 'value' attribute of the 'input' tags with * type 'checkbox'

    lang

    false

    true

    HTML Standard Attribute

    onblur

    false

    true

    HTML Event Attribute

    onchange

    false

    true

    HTML Event Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onfocus

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    path

    true

    true

    Path to property for data binding

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/FormTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/FormTag.java index b4178e69d2a..834da17878c 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/FormTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/FormTag.java @@ -47,19 +47,18 @@ import org.springframework.web.util.UriUtils; * populating the data for their view. The name of this form object can be * configured using the {@link #setModelAttribute "modelAttribute"} property. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    cssClass

    false

    true

    HTML Optional Attribute

    cssStyle

    false

    true

    HTML Optional Attribute

    delimiter

    false

    true

    Delimiter for displaying multiple error messages. * Defaults to the br tag.

    dir

    false

    true

    HTML Standard Attribute

    element

    false

    true

    Specifies the HTML element that is used to render the enclosing * errors.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    lang

    false

    true

    HTML Standard Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    path

    false

    true

    Path to errors object for data binding

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * @@ -69,165 +68,165 @@ import org.springframework.web.util.UriUtils; * list, i.e., the server is able to accept any single character encoding per * entity received.

    * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java index 9e1de82fb95..af4e273bb84 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/HiddenInputTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2023 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. @@ -27,31 +27,30 @@ import jakarta.servlet.jsp.JspException; * <form:hidden path="name"/> * * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    acceptCharset

    false

    true

    action

    false

    true

    HTML Required Attribute

    cssClass

    false

    true

    HTML Optional Attribute

    cssStyle

    false

    true

    HTML Optional Attribute

    dir

    false

    true

    HTML Standard Attribute

    enctype

    false

    true

    HTML Optional Attribute

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    lang

    false

    true

    HTML Standard Attribute

    method

    false

    true

    HTML Optional Attribute

    methodParam

    false

    true

    The parameter name used for HTTP methods other then GET and POST. * Default is '_method'.

    modelAttribute

    false

    true

    Name of the model attribute under which the form object is exposed. * Defaults to 'command'.

    name

    false

    true

    HTML Standard Attribute - added for backwards compatibility cases

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    onreset

    false

    true

    HTML Event Attribute

    onsubmit

    false

    true

    HTML Event Attribute

    servletRelativeAction

    false

    true

    Action reference to be appended to the current servlet path

    target

    false

    true

    HTML Optional Attribute

    title

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/InputTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/InputTag.java index 91834aea14e..c682c11f24a 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/InputTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/InputTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -26,201 +26,200 @@ import org.springframework.lang.Nullable; * The {@code } tag renders an HTML 'input' tag with type 'text' using * the bound value. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    path

    true

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/LabelTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/LabelTag.java index 018c098473b..2ae52eb3513 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/LabelTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/LabelTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -28,139 +28,138 @@ import org.springframework.util.StringUtils; *

    See the "formTags" showcase application that ships with the * full Spring distribution for an example of this class in action. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    accesskey

    false

    true

    HTML Standard Attribute

    alt

    false

    true

    HTML Optional Attribute

    autocomplete

    false

    true

    Common Optional Attribute

    cssClass

    false

    true

    HTML Optional Attribute

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used when the bound field has errors.

    cssStyle

    false

    true

    HTML Optional Attribute

    dir

    false

    true

    HTML Standard Attribute

    disabled

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to * 'true' will disable the HTML element.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    lang

    false

    true

    HTML Standard Attribute

    maxlength

    false

    true

    HTML Optional Attribute

    onblur

    false

    true

    HTML Event Attribute

    onchange

    false

    true

    HTML Event Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onfocus

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    onselect

    false

    true

    HTML Event Attribute

    path

    true

    true

    Path to property for data binding

    readonly

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to * 'true' will make the HTML element readonly.

    size

    false

    true

    HTML Optional Attribute

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java index 3197706bc13..26f7853074f 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -43,147 +43,146 @@ import org.springframework.web.util.TagUtils; * then the {@link #setValue value} property will be used when rendering * the inner text. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    cssClass

    false

    true

    HTML Optional Attribute.

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used only when errors are present.

    cssStyle

    false

    true

    HTML Optional Attribute

    dir

    false

    true

    HTML Standard Attribute

    for

    false

    true

    HTML Standard Attribute

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    lang

    false

    true

    HTML Standard Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    path

    true

    true

    Path to errors object for data binding

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionsTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionsTag.java index 6a8c8ca7560..ae6ede65e70 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionsTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionsTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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,152 +31,151 @@ import org.springframework.web.util.TagUtils; * *

    Must be used within a {@link SelectTag 'select' tag}. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    cssClass

    false

    true

    HTML Optional Attribute

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used when the bound field has * errors.

    cssStyle

    false

    true

    HTML Optional Attribute

    dir

    false

    true

    HTML Standard Attribute

    disabled

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to 'true' * will disable the HTML element.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    label

    false

    true

    HTML Optional Attribute

    lang

    false

    true

    HTML Standard Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    HTML Standard Attribute

    value

    true

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/PasswordInputTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/PasswordInputTag.java index c9ff91ee508..aa31be135e4 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/PasswordInputTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/PasswordInputTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2023 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. @@ -22,208 +22,207 @@ import jakarta.servlet.jsp.JspException; * The {@code } tag renders an HTML 'input' tag with type 'password' * using the bound value. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    cssClass

    false

    true

    HTML Optional Attribute

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used when the bound field has errors.

    cssStyle

    false

    true

    HTML Optional Attribute

    dir

    false

    true

    HTML Standard Attribute

    disabled

    false

    true

    HTML Optional Attribute. Setting the value of this attribute * to 'true' will disable the HTML element.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    itemLabel

    false

    true

    Name of the property mapped to the inner text of the 'option' tag

    items

    true

    true

    The Collection, Map or array of objects used to generate the inner 'option' tags

    itemValue

    false

    true

    Name of the property mapped to 'value' attribute of the 'option' tag

    lang

    false

    true

    HTML Standard Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/RadioButtonTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/RadioButtonTag.java index 0042de50740..b63161cdb3f 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/RadioButtonTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/RadioButtonTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -27,176 +27,175 @@ import jakarta.servlet.jsp.JspException; *

    A typical usage pattern will involve multiple tag instances bound * to the same property but with different values. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    accesskey

    false

    true

    HTML Standard Attribute

    alt

    false

    true

    HTML Optional Attribute

    autocomplete

    false

    true

    Common Optional Attribute

    cssClass

    false

    true

    HTML Optional Attribute

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used when the bound field has * errors.

    cssStyle

    false

    true

    HTML Optional Attribute

    dir

    false

    true

    HTML Standard Attribute

    disabled

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to 'true' * will disable the HTML element.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    lang

    false

    true

    HTML Standard Attribute

    maxlength

    false

    true

    HTML Optional Attribute

    onblur

    false

    true

    HTML Event Attribute

    onchange

    false

    true

    HTML Event Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onfocus

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    onselect

    false

    true

    HTML Event Attribute

    path

    true

    true

    Path to property for data binding

    readonly

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to 'true' * will make the HTML element readonly.

    showPassword

    false

    true

    Is the password value to be shown? Defaults to false.

    size

    false

    true

    HTML Optional Attribute

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/RadioButtonsTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/RadioButtonsTag.java index e5676c9cb88..1f2a30ac216 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/RadioButtonsTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/RadioButtonsTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2023 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. @@ -22,200 +22,199 @@ package org.springframework.web.servlet.tags.form; *

    Rendered elements are marked as 'checked' if the configured * {@link #setItems(Object) value} matches the bound value. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    accesskey

    false

    true

    HTML Standard Attribute

    cssClass

    false

    true

    HTML Optional Attribute

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used when the bound field has errors.

    cssStyle

    false

    true

    HTML Optional Attribute

    dir

    false

    true

    HTML Standard Attribute

    disabled

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to 'true' * will disable the HTML element.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    label

    false

    true

    Value to be displayed as part of the tag

    lang

    false

    true

    HTML Standard Attribute

    onblur

    false

    true

    HTML Event Attribute

    onchange

    false

    true

    HTML Event Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onfocus

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    path

    true

    true

    Path to property for data binding

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    HTML Standard Attribute

    value

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/SelectTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/SelectTag.java index 95a15c328c5..1aaafeaeecb 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/SelectTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/SelectTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -36,196 +36,195 @@ import org.springframework.web.servlet.support.BindStatus; *

    Also supports the use of nested {@link OptionTag OptionTags} or * (typically one) nested {@link OptionsTag}. * - *

    + *

    Attribute Summary

    *
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    accesskey

    false

    true

    HTML Standard Attribute

    cssClass

    false

    true

    HTML Optional Attribute

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used when the bound field has * errors.

    cssStyle

    false

    true

    HTML Optional Attribute

    delimiter

    false

    true

    Delimiter to use between each 'input' tag with type 'radio'. * There is no delimiter by default.

    dir

    false

    true

    HTML Standard Attribute

    disabled

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to * 'true' will disable the HTML element.

    element

    false

    true

    Specifies the HTML element that is used to enclose each 'input' tag * with type 'radio'. Defaults to 'span'.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    itemLabel

    false

    true

    Value to be displayed as part of the 'input' tags with type * 'radio'

    items

    true

    true

    The Collection, Map or array of objects used to generate the 'input' * tags with type 'radio'

    itemValue

    false

    true

    Name of the property mapped to 'value' attribute of the 'input' tags * with type 'radio'

    lang

    false

    true

    HTML Standard Attribute

    onblur

    false

    true

    HTML Event Attribute

    onchange

    false

    true

    HTML Event Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onfocus

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    path

    true

    true

    Path to property for data binding

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true

    - * * * - * - * - * - * + * + * + * + * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * * * - * + * * * * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/TextareaTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/TextareaTag.java index b8d5ae2501d..3842b835049 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/TextareaTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/TextareaTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -23,189 +23,188 @@ import org.springframework.lang.Nullable; /** * The {@code
    Attribute Summary
    AttributeRequired?Runtime Expression?DescriptionAttributeRequired?Runtime Expression?Description

    accesskey

    false

    true

    HTML Standard Attribute

    cssClass

    false

    true

    HTML Optional Attribute

    cssErrorClass

    false

    true

    HTML Optional Attribute. Used when the bound field has errors.

    cssStyle

    false

    true

    HTML Optional Attribute

    dir

    false

    true

    HTML Standard Attribute

    disabled

    false

    true

    HTML Optional Attribute. Setting the value of this attribute to 'true' * will disable the HTML element.

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    itemLabel

    false

    true

    Name of the property mapped to the inner text of the 'option' tag

    items

    false

    true

    The Collection, Map or array of objects used to generate the inner * 'option' tags

    itemValue

    false

    true

    Name of the property mapped to 'value' attribute of the 'option' * tag

    lang

    false

    true

    HTML Standard Attribute

    multiple

    false

    true

    HTML Optional Attribute

    onblur

    false

    true

    HTML Event Attribute

    onchange

    false

    true

    HTML Event Attribute

    onclick

    false

    true

    HTML Event Attribute

    ondblclick

    false

    true

    HTML Event Attribute

    onfocus

    false

    true

    HTML Event Attribute

    onkeydown

    false

    true

    HTML Event Attribute

    onkeypress

    false

    true

    HTML Event Attribute

    onkeyup

    false

    true

    HTML Event Attribute

    onmousedown

    false

    true

    HTML Event Attribute

    onmousemove

    false

    true

    HTML Event Attribute

    onmouseout

    false

    true

    HTML Event Attribute

    onmouseover

    false

    true

    HTML Event Attribute

    onmouseup

    false

    true

    HTML Event Attribute

    path

    true

    true

    Path to property for data binding

    size

    false

    true

    HTML Optional Attribute

    tabindex

    false

    true

    HTML Standard Attribute

    title

    false

    true