Kavita Mehta wrote:
i am trying to recieve the status of all checkboxes in my JSP file using form bean . I am using <html:multibox> tag in my JSP . Can anybdy suggest me how to get the status of all checkboxes . presently, the form bean just returns me the selected checkbox's value array ..
That's how checkboxes work in raw HTML and form submission, not just Struts. If you want a list of unchecked values, you can "assume" it when you get the list of checked values back. So you send out checkboxes A, B, C, D and E. If only A and B come back, you can assume that C, D and E were unchecked. Since you drew the checkboxes initially, it stands to reason you can conjure up the whole set when the form is submitted.

- Scott

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

Reply via email to