This doesn't work yet, I submitted a patch
Vote for bug #402 at
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=402
With my patch the usage is
<logic:iterate ... >
...
<html:multibox property="checkbox" value="candidate"
valuePropert="candidateId"/>
...
</logic:iterate>
Now your form needs to have
public String[] getCheckbox() {...}
public void setCheckbox(String []) {...}
R,
Nick
-----Original Message-----
From: William Jaynes [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 11:56 AM
To: struts user
Subject: multibox
I wonder if someone could give me an example of the multibox usage.
If I have something like this in my jsp:
<logic:iterate ... >
...
<html:multibox property="checkbox" value="<%=candidate.getCandidateId()%>"/>
...
</logic:iterate>
What do I need in the ActionFormBean for this jsp with respect to the
checkbox property?
Thanks for any info.
Will