RE: What does a setter for values from <SELECT/> look like?

"Schnitzer, Jeff" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
> From: [email protected]
> 
> Where would I find documentation of what signature should be used for
the
> setter
> for data from each possible type of HTML control?

Maverick uses the Jakarta Commons BeanUtils project to populate the bean
- just like Struts.  So if you can't find anything useful on the
BeanUtils page (http://jakarta.apache.org/commons/beanutils.html),
fallback to the Struts documentation.

I've never tried a multiple select, but single-select with a String or
numeric property works fine.  According to the Struts documentation
String[] should work.

Can you post the setter from your controller class and the snippet of
HTML for the SELECT?

Jeff Schnitzer
[email protected]


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
[INVALID FOOTER]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.