Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dropdown with ArrayList attribute in FormBean

 
sudhakar Tadepalli
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic