JSP CUSTOM TAG LIBRARIES
This tag interacts with the HTML "value" attribute of the input tag; it does not overwrite it. For single value fields, if the current value of the item in the document matches the value specified in the value attribute, the checkbox is selected. For multiple value fields, if any of the values of the item match the value specified in the value attribute, the checkbox is selected. When working with multi-value fields, make sure that the name and itemname attributes of each selected checkbox tag match.
When the form is submitted, only the value of the selected checkboxes are accepted. For single value fields, when the document is going to be saved, if the checkbox value is present, it is written into the item as the item value. If the checkbox value is not present, then "" (empty string) or 0 (zero) is written to the item value (depending on type). For multi-value fields, the form submission data contains all the selected values for a particular name and these are all written as the value of the item.
You cannot use the validation tags to validate user input. No error is thrown, but no validation is performed. If you want to ensure that a value is selected, provide a default value in the "value" attribute.
Contexts
Valid in:
bundle
HTML Attributes
Domino supports the following HTML tag attributes:
value
class
disabled
id
label
onafterupdate
onbeforeupdate
onblur
onchange
onclick
ondblclick
ondragstart
onfocus
onhelp
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
onselect
onselectstart
readonly
style
tabindex
title
(value)