|
|
|
|
@ -1,5 +1,5 @@
@@ -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;
@@ -24,198 +24,197 @@ import org.springframework.web.bind.WebDataBinder;
|
|
|
|
|
* The {@code <checkboxes>} tag renders multiple HTML 'input' tags with type 'checkbox'. |
|
|
|
|
* Intended to be used with a Collection as the {@link #getItems()} bound value. |
|
|
|
|
* |
|
|
|
|
* <p> |
|
|
|
|
* <h3>Attribute Summary</h3> |
|
|
|
|
* <table> |
|
|
|
|
* <caption>Attribute Summary</caption> |
|
|
|
|
* <thead> |
|
|
|
|
* <tr> |
|
|
|
|
* <th class="colFirst">Attribute</th> |
|
|
|
|
* <th class="colOne">Required?</th> |
|
|
|
|
* <th class="colOne">Runtime Expression?</th> |
|
|
|
|
* <th class="colLast">Description</th> |
|
|
|
|
* <th class="table-header col-first">Attribute</th> |
|
|
|
|
* <th class="table-header col-second">Required?</th> |
|
|
|
|
* <th class="table-header col-second">Runtime Expression?</th> |
|
|
|
|
* <th class="table-header col-last">Description</th> |
|
|
|
|
* </tr> |
|
|
|
|
* </thead> |
|
|
|
|
* <tbody> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>accesskey</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Standard Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>cssClass</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Optional Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>cssErrorClass</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Optional Attribute. Used when the bound field has errors.</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>cssStyle</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Optional Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>delimiter</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>Delimiter to use between each 'input' tag with type 'checkbox'. |
|
|
|
|
* There is no delimiter by default.</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>dir</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Standard Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>disabled</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Optional Attribute. Setting the value of this attribute to 'true' |
|
|
|
|
* will disable the HTML element.</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>element</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>Specifies the HTML element that is used to enclose each 'input' tag with |
|
|
|
|
* type 'checkbox'. Defaults to 'span'.</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>htmlEscape</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>Enable/disable HTML escaping of rendered values.</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>id</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Standard Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>itemLabel</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>Value to be displayed as part of the 'input' tags with type 'checkbox'</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>items</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>The Collection, Map or array of objects used to generate the 'input' tags |
|
|
|
|
* with type 'checkbox'</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>itemValue</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>Name of the property mapped to 'value' attribute of the 'input' tags with |
|
|
|
|
* type 'checkbox'</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>lang</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Standard Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>onblur</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>onchange</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>onclick</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>ondblclick</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>onfocus</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>onkeydown</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>onkeypress</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>onkeyup</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>onmousedown</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>onmousemove</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>onmouseout</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>onmouseover</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>onmouseup</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Event Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>path</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>Path to property for data binding</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="altColor"> |
|
|
|
|
* <tr class="even-row-color"> |
|
|
|
|
* <td><p>tabindex</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
* <td><p>HTML Standard Attribute</p></td> |
|
|
|
|
* </tr> |
|
|
|
|
* <tr class="rowColor"> |
|
|
|
|
* <tr class="odd-row-color"> |
|
|
|
|
* <td><p>title</p></td> |
|
|
|
|
* <td><p>false</p></td> |
|
|
|
|
* <td><p>true</p></td> |
|
|
|
|
|