You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Matthias Epheser (JIRA)" <ji...@apache.org> on 2006/07/06 00:04:32 UTC

[jira] Commented: (COCOON-1877) [PATCH] Pageable Repeater

    [ http://issues.apache.org/jira/browse/COCOON-1877?page=comments#action_12419346 ] 

Matthias Epheser commented on COCOON-1877:
------------------------------------------

As this patch is part of my Google Summer of Code project I created a test-app to show the current features at http://80.237.146.25/test/ .

> [PATCH] Pageable Repeater
> -------------------------
>
>          Key: COCOON-1877
>          URL: http://issues.apache.org/jira/browse/COCOON-1877
>      Project: Cocoon
>         Type: New Feature

>   Components: Blocks: Forms
>     Reporter: Matthias Epheser
>  Attachments: repeater-pagination.patch
>
> This patch provides simple pagination for the repeater widget using the binding.
> It consists of 3 main parts: It extends the repeater-definition to configure the pages, adds a ChangePageAction for userinteraction and modifies the binding so savePage/loadPage can be performed after the action is called.
> Speaking of a first demo with basic functionality there are some known issues and missing features:
> - We plan to use some internal "storage area" inside the binding that contains the updated rows after a page-change. The real doSave() code should be called just once after the form was submitted. This should provide better integration to scenarios where persistence frameworks like hibernate are used.
> - The userinterface needs to be extended to features like next/first/last-page buttons and the common "first 1 2 3 4 5 next" group of links to choose pages directly.
> - Filtering and Sorting of the rows would be nice and could maybe accomplished extending the storage area implementation.

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