You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2011/01/19 21:03:43 UTC

[jira] Created: (TAP5-1420) Make Loop component pageable

Make Loop component pageable
----------------------------

                 Key: TAP5-1420
                 URL: https://issues.apache.org/jira/browse/TAP5-1420
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.2.4
            Reporter: Igor Drobiazko


A pager would make the Loop component more useful as paging is a common uses case. Maybe some refactoring of Grid's pager needs to be done to reuse the code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (TAP5-1420) Make Loop component pageable

Posted by "Steve Eynon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137973#comment-13137973 ] 

Steve Eynon commented on TAP5-1420:
-----------------------------------

Does not the GridPager component do this by means of the GridDataSource?

I ask because I recently re-implemented GridPager as a BootstrapPager (for http://twitter.github.com/bootstrap/ ) and it seems pretty flexible.
                
> Make Loop component pageable
> ----------------------------
>
>                 Key: TAP5-1420
>                 URL: https://issues.apache.org/jira/browse/TAP5-1420
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Igor Drobiazko
>
> A pager would make the Loop component more useful as paging is a common uses case. Maybe some refactoring of Grid's pager needs to be done to reuse the code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1420) Make Loop component pageable

Posted by "Igor Drobiazko (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138145#comment-13138145 ] 

Igor Drobiazko commented on TAP5-1420:
--------------------------------------

Not really, Grid's sort constrains are operating on row's properties. This is different in a loop where the antire values in the source are compared which each other for sorting. We also would need to strip off  Grid from interface names.
                
> Make Loop component pageable
> ----------------------------
>
>                 Key: TAP5-1420
>                 URL: https://issues.apache.org/jira/browse/TAP5-1420
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Igor Drobiazko
>
> A pager would make the Loop component more useful as paging is a common uses case. Maybe some refactoring of Grid's pager needs to be done to reuse the code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1420) Make Loop component pageable

Posted by "Igor Drobiazko (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138145#comment-13138145 ] 

Igor Drobiazko commented on TAP5-1420:
--------------------------------------

Not really, Grid's sort constrains are operating on row's properties. This is different in a loop where the antire values in the source are compared which each other for sorting. We also would need to strip off  Grid from interface names.
                
> Make Loop component pageable
> ----------------------------
>
>                 Key: TAP5-1420
>                 URL: https://issues.apache.org/jira/browse/TAP5-1420
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Igor Drobiazko
>
> A pager would make the Loop component more useful as paging is a common uses case. Maybe some refactoring of Grid's pager needs to be done to reuse the code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1420) Make Loop component pageable

Posted by "Steve Eynon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137973#comment-13137973 ] 

Steve Eynon commented on TAP5-1420:
-----------------------------------

Does not the GridPager component do this by means of the GridDataSource?

I ask because I recently re-implemented GridPager as a BootstrapPager (for http://twitter.github.com/bootstrap/ ) and it seems pretty flexible.
                
> Make Loop component pageable
> ----------------------------
>
>                 Key: TAP5-1420
>                 URL: https://issues.apache.org/jira/browse/TAP5-1420
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Igor Drobiazko
>
> A pager would make the Loop component more useful as paging is a common uses case. Maybe some refactoring of Grid's pager needs to be done to reuse the code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira