Hmmm, I've never used that feature, the documentation seems to indicate that
the number will be maintained by DisplayTag using the following algorithm:

 (Integer.parseInt(request.getParameter((new
ParamEncoder(tableId).encodeParameterName(TableTagParameters.PARAMETER_PAGE))))
- 1) * pageSize;


But I'm not sure what good that knowledge will do you =8^)
  (*Chris*)


On Wed, Sep 10, 2008 at 11:06 AM, <[EMAIL PROTECTED]> wrote:

> Hey Chris --
>
> I don't have a paginated list!  I simply have a Struts 2 action where I
> have get/set over pageSize and totalSize.  Is there a pageNumber that I can
> set?
>
> Thanks,
> Scott
>
>  <display:table name="employees" id="row" size="${totalSize}"
>
> pagesize="${pageSize}" partialList="true"
>
> requestURI="/hr/employeeAction_page">
>
> <display:column sortable="true" title="Row Number">${row_rowNum}</
> display:column>
>
> <display:column sortable="true" title="Employee Number">
> ${row.employeeNumber}</display:column>
>
> <display:column sortable="true" title="Name">${row.name}</display:column>
>
> </display:table>
>
> On Wed, Sep 10, 2008 at 11:16 AM, Chris Pratt <[EMAIL PROTECTED]>wrote:
>
>> My guess would be that your implementation of getPageNumber() from
>> PaginatedList is always returning 1.
>>   (*Chris*)
>>
>>
>> On Wed, Sep 10, 2008 at 8:12 AM, stanlick <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> 1,528 items found, displaying 1 to 10.
>>> [First/Prev] 140, 141, 142, 143, 144, 145, 146, 147 [Next/Last]
>>>
>>> I have a situation where I maintain a maximum of 10 items in my
>>> collection
>>> at any one point.  I have coded the paging myself and it works fine (and
>>> fast).  The problem I have is that regardless of the page displayed, the
>>> text always reads 1,528 items found, displaying 1 to 10.  Has anyone seen
>>> this before?
>>>
>>> Peace,
>>> Scott
>>> --
>>> View this message in context:
>>> http://www.nabble.com/1%2C528-items-found%2C-displaying-1-to-10.-tp19414805p19414805.html
>>> Sent from the DisplayTag - General mailing list archive at Nabble.com.
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> displaytag-user mailing list
>>> displaytag-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> displaytag-user mailing list
>> displaytag-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>>
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to