Comrades,
Here is a Scenario. Let us say we have 2 kinds of value objects extending a base ValueObject. AVo and BVo extend BaseVo and BaseVo has a method getKey() Now I have a collection of AVo's and another collection of BVo's. I want to provide the descriptions of these VO's in a dropdown and capture the key during the process. Both the dropdowns exist in the same form. so the code would be something like. <html:select property="key" name = "ldmGroup" indexed="yes"> <html:options collection="ldmGroups" property="key" labelProperty="formattedDescription"/> </html:select> So, that takes care of AVo collection in a dropdown. <html:select property="key" name = "twGroup" indexed="yes"> <html:options collection="twGroups" property="key" labelProperty="formattedDescription"/> </html:select> This is what I have to do to capture BVo's keys. Now I also want to have a drop down of BVo collection but the key[] in "formbean" is already filled by AVo collection parameters. How can I use the dropdown and capture the BVo's keys? Thanks for your time. hemant