aspose file tools*
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 Spring in Action this week in the Spring 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