File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html-select  help" Watch "html-select  help" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html-select help