Apache Struts 2 Documentation > Home > Guides > Tag Developers Guide > Struts Tags > Tag Reference > UI Tag Reference > checkboxlist
Added by digi9ten, last edited by Ted Husted on Sep 02, 2006  (view change)
Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.
Important
Content pulled from external source. Click here to refresh.

Note that the listkey and listvalue attribute will default to "key" and "value" respectively only when the list attribute is evaluated to a Map or its decendant. Other thing else, will result in listkey and listvalue to be null and not used.

Description

Content pulled from external source. Click here to refresh.

Creates a series of checkboxes from a list. Setup is like <s:select /> or <s:radio />, but creates checkbox tags.

Parameters

An error occurred: https://opensymphony.dev.java.net/source/browse/*checkout*/struts/docs/tags/CheckboxList.html. The system administrator has been notified.

Examples

Content pulled from external source. Click here to refresh.
<s:checkboxlist name="foo" list="bar"/>