Hi,

Kind of stuck on one issue. I am using a JavaBean with the setPropert
property="*" tag so it automatically sets the JavaBean with the form
elements of the same name as the JavaBean setXXX methods.

What I would be interested in knowing if anyone knows off hand is, how does
a multiple selected listbox get sent to the javabean? I assume it either
sets a String[] or Vector type? In other words, do I provide a
setListBox(Vector v) method, or a setListBox(String[] s) method? I can
return a String[] or Vector (preferrably Vector since that is what we
currently use on our site to store the value and label of each item) to the
JSP generic include scriplet that will iterate over it.

Also, what about a radio button group, and check boxes, how do you get/set
those? I can probably figure it out..but if anyone has some code laying
around, Id appreciate the help.


Kevin Duffey
Software Engineer
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to