jsp:
<logic:present name="saleOppForm" property="lstRummeryQuote" scope="request">
<logic:iterate id="rummeryQuote" name="saleOppForm" property="lstRummeryQuote" indexId="rowIndex">
<tr>
<logic:iterate id="column" name="rummeryQuote" property="rowRummeryQuote" indexId="columnIndex">
<td width="98" valign="top" class="whitetd"><html:text property="useRoomCount" size="10"></html:text></td>
<td width="98" valign="top" class="whitetd"><html:text property="sumRoomPrice" size="10"></html:text></td>
<td width="91" id="tdFunction0" class="whitetd">
<!-- <input type='button' onClick='deleteRow(0)' id="btnDelRow000" class='btnDel'> -->
<html:button onclick="createRow()" property="btnCreateRow" styleClass="btnCreate">
</html:button>
</td>
</logic:iterate>
</tr>
</logic:iterate>
</logic:present>
SaleOppForm;
private List lstRummeryQuote;
public SaleOppForm() {
lstRummeryQuote = new ArrayList();
//页面初始显示一行
lstRummeryQuote.add(rowRummeryQuote);
//lstRummeryQuote.add(new RowRummeryQuote());
}
RowRummeryQuote(dataset):
private String useRoomCount;
private String sumRoomPrice;
异常:javax.servlet.ServletException: No getter method for property rowRummeryQuote of bean rummeryQuote
多层迭代,List 中嵌套bean,这样迭代不对吗?应如何写呢?请高手指教