wood burning stoves 2.0*
The moose likes Struts and the fly likes Dropdown with ArrayList attribute in FormBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dropdown with ArrayList attribute in FormBean" Watch "Dropdown with ArrayList attribute in FormBean" New topic
Author

Dropdown with ArrayList attribute in FormBean

sudhakar Tadepalli
Ranch Hand

Joined: Dec 27, 2001
Posts: 130
I have an arrayList of LabelValueBeans set to an attribute in form bean and the FormBean is in the session. I was able to get the bean and the list in the JSP(Tried to print). But not able to populate in the drop down. Could some one fill the balnk ?

<html:select property="selectBatchNumber" size="10">
<logic:notEmpty name="docInfoForm" property="batchList">
---?? -----
</logic:notEmpty>
</html:select>
sudhakar Tadepalli
Ranch Hand

Joined: Dec 27, 2001
Posts: 130
I got it. Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dropdown with ArrayList attribute in FormBean
 
Similar Threads
html:select tag with javascript function
Iterating through an array of objects in a jsp
moving items from one html:select to another
Populating 'html:select' with values in Database
Struts:FormBean issue with html:select tag