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:java@wendysmoak.com]
Sent: Friday, October 08, 2004 12:11 PM
To: Struts Users Mailing List
Subject: Re: Checkbox frustration
From: "Appel, Jeremy" <jeremy.appel@qwest.com>
<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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|