[jira] Created: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
------------------------------------------------------------------------------------------------------

         Key: DISPL-304
         URL: http://jira.codehaus.org/browse/DISPL-304
     Project: DisplayTag
        Type: Bug

  Components: Paging/Sorting  
    Versions: 1.1    
    Reporter: Emmanuel


I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );

the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
116 items found, displaying 1-10.
Pages: 1 (2) 3 4 5 6 7 8

is there a property or something I need to set in order to show the proper numbers e.g. 20-30
thanks in advance


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
    [ http://jira.codehaus.org/browse/DISPL-304?page=comments#action_61123 ]

Kevin Conaway commented on DISPL-304:
-------------------------------------

I am experiencing this issue as well.  From what I can see, the cause of the issue is in SmartListHelper.getFirstIndexForPage().  If partiaList is true, this function will always return 0.  Similarly, SmartListHelper.getLastIndexForPage() returns the page size.  The comment inside getLastIndexForPage() is:

// return the min of pageSize or list size on the off chance they gave us more data than pageSize allows
return Math.min(this.pageSize - 1, this.fullList.size() - 1);

It seems that these functions are necessary because SmartListHelper.getListForPage() uses both of these methods to determine the "sublist" to display.

However, these numbers do NOT seem appropriate for the "search" banner returned by SmartListHelper.getSearchResultsSummary().  In this method, I think its best to compute the "indices" differently possibly using a combination of the current page and the page size.

Please advise.  Thanks,

Kevin

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>          Key: DISPL-304
>          URL: http://jira.codehaus.org/browse/DISPL-304
>      Project: DisplayTag
>         Type: Bug

>   Components: Paging/Sorting
>     Versions: 1.1
>     Reporter: Emmanuel
>      Fix For: 1.1.1

>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org
    [ http://jira.codehaus.org/browse/DISPL-304?page=comments#action_61141 ]

Emmanuel commented on DISPL-304:
--------------------------------

Thanks Kevin for  submitting the patch, I tried it  and it works also for me.
Emmanuel

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>          Key: DISPL-304
>          URL: http://jira.codehaus.org/browse/DISPL-304
>      Project: DisplayTag
>         Type: Bug

>   Components: Paging/Sorting
>     Versions: 1.1
>     Reporter: Emmanuel
>      Fix For: 1.1.1
>  Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_93052 ]

Dave Knipp commented on DISPL-304:
----------------------------------

just wanted to comment that I encountered the same issue.... almost a year after the issue was first reported.....

Is there anyone working to fix bugs on this project?



> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.1.1
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_93116 ]

Kevin Conaway commented on DISPL-304:
-------------------------------------

Hi Dave,

If you're unable to apply the patch that I attached to this issue, I would be happy to mail you my patched jar file that we've been using for a year or so now.  You can reach me: kevin dot a dot conaway at gmail dot com

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.1.1
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_93127 ]

Dave Knipp commented on DISPL-304:
----------------------------------

Kevin,  thanks!!  I just sent you an email.

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.1.1
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99110 ]

wilfried commented on DISPL-304:
--------------------------------

Hi,

I'm also facing this issue but i'm unable to apply the patch attached to it.

Can somebody please send me a jar file with this issue fixed?

Thanks a lot,

ps: i'm reachable at:  [hidden email]

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.1.1
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105055 ]

John Newman commented on DISPL-304:
-----------------------------------

Is anyone going to do anything about this one?   hello?  mc fly!

sorry to be a nag.  I hope that patch works.

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.1.2
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105056 ]

John Newman commented on DISPL-304:
-----------------------------------

after some hacking i was able to apply the patch, since it looks like this project is not very active, if anyone needs a copy click on my name & i can email it.

thanks for the patch!

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.1.2
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

fabrizio giustina closed DISPL-304.
-----------------------------------

    Resolution: Fixed

fix applied and testcase added, will be available in the 1.1.2 release. Thanks

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.1.2
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148694#action_148694 ]

pankaj bonde commented on DISPL-304:
------------------------------------

we are facing this issue with displaytag 1.1.1 version. we are not able to apply this patch.
can you please send me patch applied jar file.
It's urgent for me.

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.2
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
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-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156066#action_156066 ]

Marlon Williams commented on DISPL-304:
---------------------------------------

Hey, I am also having the same issue with displaytag 1.1.1 version. Is it possible for someone to send me this patch in a jar.

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: http://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.2
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
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-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (DISPL-304) External paging paging.banner.some_items_found displays 1-10 in the second page (other pages as well)

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ https://jira.codehaus.org/browse/DISPL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281693#comment-281693 ]

Mauro commented on DISPL-304:
-----------------------------

Hi everyone,
I'm new in using displaytag.
I'm using 1.1 version and I have the following problem.

I have to fix a problem in code made by an other person.
We have to display a list of element paging it at 100 at 100 if the number of elements is more than 100.
The problem is that in the page 1 I see "1250 items found, diplayed from 1 to 100", but also in the second page, in the third and go on, I see the same message, instead I'd like to see "...displayed from 101 to 200", "...201 to 300" and etc.
I have seen that there is a property called "paging.banner.some_items_found" in the displaytag.property file and it's used to show that message, but it does not work correctly.

Can anyone help me to solve the problem? Thanks to all

Here are some parts of my code

in the jsp page
<display:table sort="external" requestURI="/abc.do?mth=paging&sensible=${param.sensible}"
name="sessionScope.abcList"
id="item"
pagesize="100"
htmlId="abcTable"
class="dataGrid"
style="border:0px;display:inline"
excludedParams="*"
decorator=""

partialList="true"
size="pageScope.pagListConf.totalList"
offset="${pagListConf.offSet}"
>

in the properties file
paging.banner.some_items_found="<div class="toolbar" id="displayNavigator">{0} {1} found, displayed from {2} to {3}"

> External paging  paging.banner.some_items_found displays 1-10 in the second page (other pages as well)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DISPL-304
>                 URL: https://jira.codehaus.org/browse/DISPL-304
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.1
>            Reporter: Emmanuel
>             Fix For: 1.2
>
>         Attachments: patch-displ-304.txt
>
>
> I'm using external paging using , I am not using the interface (first way to do it) just using getting the parameters and sending the partialList to the table.
> parameter = request.getParameter ( new ParamEncoder(tableName).encodeParameterName( parameter ) );
> the property  paging.banner.some_items_found displays 1-10 when I go to the other pages. e.g.
> 116 items found, displaying 1-10.
> Pages: 1 (2) 3 4 5 6 7 8
> is there a property or something I need to set in order to show the proper numbers e.g. 20-30
> thanks in advance

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel