Yes. That's it. 

Thanks a lot.
 
Tim Jian
Momentum systems, Inc.
-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 03, 2005 11:27 AM
To: Struts Users Mailing List
Subject: Re: <html:multibox> -- is this a bug

From: "Qinjian Jian" <[EMAIL PROTECTED]>
> Next, if I just unchecked
> some of checked checkboxes rather then all of them, then refresh the
> page it still works fine. However, if I unchecked them all then
refresh
> the page, the previous step checked boxed remained unchanged and still
> were checked. I can see them both on jsp page and form bean's property
> selectedUsers. Is this a bug for the tag?

http://struts.apache.org/userGuide/struts-html.html#multibox

" WARNING: In order to correctly recognize cases where none of the
associated checkboxes are selected, the ActionForm bean associated with
this
form must include a statement setting the corresponding array to zero
length
in the reset() method. "

-- 
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