Hello,
It makes several hours that after a problem with my multiselect checkbox
in a pagined table.
My problem is that my checkbox which are selected in one page aren't
kept when i go on a next pagined page, someone have experienced a such
thing or have exemples on how to works with a such case ?
An other problem is that when i go back to the previous pagined page i
can't obtain my next selections.
So here is my code :
<spring:bind path="subKey">
<d:table name="${userList}"
id="user" sort="list" requestURI="${submitAudience}"
export="false"
class="dataTable" defaultsort="2" defaultorder="ascending"
pagesize="${nbItemsToShow}"
decorator="org.displaytag.decorator.TotalTableDecorator">
<d:column
title="Select">
<input
type="checkbox" name="subKey"
value="${user.userId}" />
</d:column>
<c:forEach
items="${attrDisplay}" var="displayAttr">
<d:column
titleKey="news.label.${displayAttr}" sortable="true">
<c:forEach
items="${user.attributes[displayAttr]}"
var="attrValue">
<c:out
value="${attrValue}" />
</c:forEach>
</d:column>
</c:forEach>
<d:setProperty
name="paging.banner.item_name"
value="${tit}" />
<d:setProperty
name="paging.banner.items_name"
value="${tit}s" />
</d:table>
</spring:bind>
subKey is a String[] parameter.
When I submit my selection I have also the current page selection only.
Thanks for those who can help me for this problem, i tryed many things
but without success.
Thanks
- Julien
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user