struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dlee" <don...@attbi.com>
Subject Multibox
Date Tue, 03 Dec 2002 13:56:50 GMT
Hello,
I'm using struts 1.0.2.
I would like to present an input form on a jsp and part of that would be to
display a number of checkboxes.

Ted Husted writes:

To provide different sets of labels and values, the standard LabelValueBean
class [org.apache.struts.util.LabelValueBean] (since 1.1) can be used with
the multibox control.

  <logic:iterate id="item" property="items">
    <html:multibox property="selectedItems">
      <bean:write name="item" property="value"/>
    </html:multibox>
      <bean:write name="item" property="label"/>
  </logic:iterate>



  Question: what is "items" ? An arraylist containing LabelValueBean's ?



  Thanks

  Don







--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message