No, it should be able to do this on its own. Try adding a method to your action with the following signature:
public String[] getTitles(); > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Rick Salsa > Sent: Friday, December 20, 2002 10:00 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] BeanUtil question > > > > Hi Guys, > > I'm experience some wierd behaviour (well, to me anyway) with BeanUtil. > I've got an Action class that is called from a form. In that > form, I have a > select box with multiple selections. In my Action class, I have something > similar to the following: > > public void setTitles(String[] titles) {} > > I'm getting the following error: > > [(BeanUtil)] No descriptor found for. Unable to set value. > > Shouldn't BeanUtil be able to convert to a String array if there is more > than one value for a field? Or do I have to use ActionContext: > > ActionContext.getContext().getRequest().getParameterValues("titles"); > > /rick > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: The Best Geek Holiday Gifts! > Time is running out! Thinkgeek.com has the coolest gifts for > your favorite geek. Let your fingers do the typing. Visit Now. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.NET email is sponsored by: The Best Geek Holiday Gifts! Time is running out! Thinkgeek.com has the coolest gifts for your favorite geek. Let your fingers do the typing. Visit Now. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork