You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2012/12/05 16:37:40 UTC

[Bug 54250] New: adding pagination for news module

https://issues.apache.org/bugzilla/show_bug.cgi?id=54250

            Bug ID: 54250
           Summary: adding pagination for news module
           Product: Lenya
           Version: 2.0.4
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
          Assignee: dev@lenya.apache.org
          Reporter: elpacho@gmail.com
    Classification: Unclassified

Created attachment 29700
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29700&action=edit
the patch to apply for adding pagination

I have added pagination to news module by using
http://cocoon.apache.org/2.1/howto/howto-paginator-transformer.html 

It takes a page parameter for number of page. If this parameter is not pressent
then it returns regular unpaginated view

It returns current page and total nuber of pages in span elements.
It also provides also for next/previous page when possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


[Bug 54250] adding pagination for news module

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54250

--- Comment #1 from Leonardo <el...@gmail.com> ---
Created attachment 29728
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29728&action=edit
cleaned up patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


[Bug 54250] adding pagination for news module

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54250

Leonardo <el...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elpacho@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


[Bug 54250] adding pagination for news module

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54250

Andreas Hartmann <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Andreas Hartmann <an...@apache.org> ---
Hi Leo,
thanks a lot for the updated patch. I tested it and committed it in r1418276.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org