I have a list SearchResults which contains the searchresults...I have the following code in my jsp:
<logic:iterate id="currentResult" name="GeneralMatterSearchForm" property="searchResults">
<tr class='off'>
<td nowrap><bean:write name="currentResult" property="matterId" /></td>
<td nowrap><bean:write name="currentResult" property="matterName" /></td>
</tr>
</logic:iterate>
In my "GeneralMatterSearchForm" I have the following:
private List searchResults = new ArrayList(0);
public List getSearchResults() {
return searchResults;
}
public void setSearchResults(List l_results) {
this.searchResults = l_results;
}
and all the getters and setters for matterId and matterName
I am getting the foll error
No getter method for property matterId of bean currentResult
Can anybody tell me what i am missing or doing wrong?
thankyou
<logic:iterate id="currentResult" name="GeneralMatterSearchForm" property="searchResults">
<tr class='off'>
<td nowrap><bean:write name="currentResult" property="matterId" /></td>
<td nowrap><bean:write name="currentResult" property="matterName" /></td>
</tr>
</logic:iterate>
In my "GeneralMatterSearchForm" I have the following:
private List searchResults = new ArrayList(0);
public List getSearchResults() {
return searchResults;
}
public void setSearchResults(List l_results) {
this.searchResults = l_results;
}
and all the getters and setters for matterId and matterName
I am getting the foll error
No getter method for property matterId of bean currentResult
Can anybody tell me what i am missing or doing wrong?
thankyou