Hi
Is there a simple example of how to use html:options
tag
How do i define the bean in struts-config.xml file, 
and how do i use it in my jsp
Currenty i have defined the following in
struts-config.xml
<form-bean dynamic="true" name="VendorCollectionForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="vendorbean"
type="java.util.ArrayList" />
</form-bean>        
In my Action form i populate this bean and set it in
request scope,
in my jsp i used to following tag
<html:options name="VendorCollectionForm"
property="MASTERVENDOR"
labelProperty="DESCRIPTION"/>
No getter method available for property MASTERVENDOR
for bean under name VendorCollectionForm

I am populating VendorCollectionForm with a class
called VenMaster which has getMASTERVENDOR() and
getDESCRIPTION() method

How do i get it working
Ashish 
 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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

Reply via email to