aspose file tools
The moose likes Struts and the fly likes html-select  help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html-select  help" Watch "html-select  help" New topic

html-select help

Sam Bom

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

Joined: Oct 03, 2003
Posts: 23
<html ptions property="colors"/>
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

Joined: Jan 24, 2003
Posts: 22
Thanks for your help.
Don't get me started about those stupid light bulbs.
subject: html-select help