| Author |
html-select help
|
Sam Bom
Greenhorn
Joined: Jan 24, 2003
Posts: 22
|
|
Hi I am new to struts.. I want to populate a combobox with some master data. using struts <html-select> any pointers?
|
 |
Harsha Huddar
Greenhorn
Joined: Oct 03, 2003
Posts: 23
|
|
<html:select> <html ptions property="colors"/> </html:select> Here colors is a String array in the form bean and whose getter method would return String[]. Combo box gets populated with this array. Dont forget to name your form bean either in the form which contains this combo or the struts config.
|
 |
Sam Bom
Greenhorn
Joined: Jan 24, 2003
Posts: 22
|
|
|
Thanks for your help.
|
 |
 |
|
|
subject: html-select help
|
|
|