i am trying to use the length and offset attributes in the iterate logic tag for displaying records page by page....
<bean:define id="iterateLength" name="FacilitySearchForm" property="displayRecordCount"/>
<bean:define id="iterateOffset" name="FacilitySearchForm" property="displayRecordFrom"/>
<logic:iterate id="_searchResultBean" name="FacilitySearchForm"
length="iterateLength" offset="iterateOffset" property="searchResultBean.searchResults" >
thts my code in my jsp and i have teh getters & setters for the displayRecordFrom and displayRecordCount in my form bean...
now, i want to know how do i link the next/prev links to make it use these and display page by page...
thanks for ur help in advance....
<bean:define id="iterateLength" name="FacilitySearchForm" property="displayRecordCount"/>
<bean:define id="iterateOffset" name="FacilitySearchForm" property="displayRecordFrom"/>
<logic:iterate id="_searchResultBean" name="FacilitySearchForm"
length="iterateLength" offset="iterateOffset" property="searchResultBean.searchResults" >
thts my code in my jsp and i have teh getters & setters for the displayRecordFrom and displayRecordCount in my form bean...
now, i want to know how do i link the next/prev links to make it use these and display page by page...
thanks for ur help in advance....