FYI, Thought some folks might find this helpful:
Of course, you also need a property editor with a property on your object in the collection called 'keyValue'.Code:<display:table pagesize="25" class="rows-table" sort="list" name="${commandForm.searchResults }" style="width:680px" excludedParams="*" defaultsort="4" uid="parent"> <display:column property="rowNumber" sortable="false" title=""/> <display:column sortable="true" title="${ label1 }"> <spring:bind path="commandForm.searchResults[${parent_rowNum - 1}].keyValue"> <c:url var="rowUrl" value="mypage.do"> <c:param name="selectedItem" value="${status.value}"/> <c:param name="_eventId" value="showDetails"/> <c:param name="_flowExecutionKey" value="${ flowExecutionKey }"/> </c:url> </spring:bind> <a href="${rowUrl}">SHOW DETAILS</a> </display:column> </display:table>
This uses spring web flow but it will work with spring mvc also.


Reply With Quote