I use a display table on a formBean :
<display:table name="${TableReferentielleFormBean.listeTableReferentielle}"
id="listeTableReferentielle" pagesize="${nb}" width="100%" class="table-separateur"
requestURI="${requestURI}" &g开发者_如何学Ct;
When I click on a column header on a paginated table, my result is a well sorted list in the table on first page. but the sort is lost when I click on another page of my table. Is there a configuration for display tag in order to keep this sorting criteria? Everything is managed by display tag with its request parameters (d-xxx-s etc.) and nothing in my servlet (requestURI value).
I 've already the displaytag.properties customized with the sort.amount = list
value and I'm sure that this properties file is taken into account (I change another property to test it).
Try setting sort="list" right in your display:table declaration.
精彩评论