> -----Original Message----- > From: dlee [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 8:57 AM > To: Struts Users Mailing List > Subject: Multibox > > > 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 ? > Not having seen the context of Ted's writing, that would be my guess. Observe however that this will work only in Struts 1.1. You've said that you are using 1.0.2 > > > Thanks > > Don > Sri > > > > > > > -- > To unsubscribe, e-mail: > <mailto:struts-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > >
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>