WebWork 2 : Checkbox tag
This page last changed on Dec 14, 2004 by casey.
<ww:checkbox />Renders an HTML input element of type checkbox, populated by the specified property from the OgnlValueStack.Sample Usages JSP <ww:checkbox label="'checkbox test'" name="'checkboxField1'" value="aBoolean" fieldValue="'true'"/> Velocity #tag( Checkbox "label='checkbox test'" "name='checkboxField1'" value="aBoolean" fieldValue="'true'" ) HTML (simple template, aBoolean == true) <input type="checkbox" name="checkboxField1" value="true" checked="checked" />
|
![]() |
Document generated by Confluence on Dec 14, 2004 16:36 |