Question: If I have sorting on the page as well, how do I relate the multibox array to 
entries in form?

As for the syntax, it is for a Map-backed form.  I am actually iterating over a list 
of Map-backed forms.

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 12:11 PM
To: Struts Users Mailing List
Subject: Re: Checkbox frustration


From: "Appel, Jeremy" <[EMAIL PROTECTED]>
<c:forEach items="${TaxCmpDef.values}" var="rows" varStatus="status">
<html:checkbox styleClass="its" indexed="true" name="rows"
property="value(selected)"/>

With multiple checkboxes, you probably want <html:multibox>, not
<html:checkbox>.

What is the syntax with parentheses in your 'property' attribute?  I've
never seen that before.  Most people who use JSTL will use Struts-EL with
it, which gives you expressions within the Struts tags.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to