I have the following code snippet: 
<bean:define id="vendornames" name="ProdAddForm"
property="vname"
        type="java.util.Collection"/>

then below 
<html:select property="vname">
    <html:options collection="vendornames"
property="value"  labelProperty="label"/>
    </html:select>

I have a getter method in my Action form: 
 public Collection getVname(){
        return new DBAccess().getVendorNames();
 }

The problem is if I try to set the result of the
selection via this method in the action form: 
 public void setVname(String value){
   xxxxxx
 }

it errors with: No getter method for property vname of
bean ProdAddForm 
How do I retrieve the lone value of the select? 
--josef


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

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

Reply via email to