Any help in this regard, would be appreciated.. I have been trying to generate a property using a list defined in the formbean. I want to know, if i can populate an empty list while looping through another outer list
<table width="100%" border="0" style="margin-top:5px; margin-bottom:20px;" summary="layout"> <tbody> <c:forEach var="parm" items=" ${reportDefFormBean.reportParmList}" varStatus="status"> <c:choose> <c:when test="${parm.controltype == PARM_CONTROL_TYPE_CHECKBOX}"> <tr> <td width="20%">< c:out value="${parm.displayname}"/></td> <td> <html:checkbox property="${reportDefFormBean.reportParmValueList[status.count]}" value= "true"></html:checkbox> </td> </tr> </c:when> </c:choose> </forEach> </tbody> </table> I am trying to set the status count into the second List(reportParmValueList), the formbean is the place both the lists reside. Based on the control type, i have to display the corresponding displayname and property. I would really like some fedback and some help in this regard. I had to refrain using Maps since i was having the same problem as Lists receiving an error as shown below No getter method for property component of bean org.apache.struts.taglib.html.BEAN' The reason because, property attribute always looks for a getter method in the formbean, but in this case I am just passing the value to a property from one list to the other.. entry in one list becomes the counter of the entry in the other. Devkanth Jijjavarapu Systems Advisor & J2EE Developer Rochester, MN Ext# 3-7685 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]