tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: multiple values
Date Wed, 31 Jan 2001 21:22:10 GMT
Tahir Awan wrote:

> Hi All,
> Can anyone tell me if "input taglib" or "struts taglib" support multiple
> checkboxes with the same name? And multiselect listbox?

Struts includes a tag named <html:multibox> that supports multiple
checkboxes with the same name.  The underlying form bean property should be
an array, and will be populated with the values of the selected checkboxes.

For a multiselect listbox, you would say something like:

    <html:select property="operatingSystems" multiple="true"/>

Struts nightly builds are available via <>.

> Thanks,
> Tahir

Craig McClanahan

View raw message