right now multibox does not cooperate with the iterator,
The text in the value field is not evaluated, it is static.

R,
Nick

-----Original Message-----
From: William Jaynes [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 12:25 PM
To: [EMAIL PROTECTED]
Subject: Re: multibox


Are you saying the multibox tag doesn't work at all now?  From reading the
documentation, I don't
understand how it should work now.

----- Original Message -----
From: "Nick Chalko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 09, 2001 3:13 PM
Subject: RE: multibox


> 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

Reply via email to