[ 
https://issues.apache.org/jira/browse/TOBAGO-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Nöth resolved TOBAGO-2243.
----------------------------------
    Resolution: Fixed

> Reimplement paginator for sheet
> -------------------------------
>
>                 Key: TOBAGO-2243
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-2243
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Major
>             Fix For: 5.15.0, 6.7.0
>
>
> Currently the paging is coded in the SheetRenderer and can be customized by 
> some attribute:
>  * showDirectLinks
>  * showPageRange
>  * showRowRange e.g. left|right|center|none
>  * directLinkCount
>  * showPagingAlways
> This is useful but has limited flexibility.
> A new implementation may use these new components:
>  * showRowRange replaced by
> {code:java}
> <tc:paginatorRow 
>     alwaysVisible=false|true 
>     readonly=false|true />
> {code}
>  * showPageRange replaced by
> {code:java}
> <tc:paginatorPage 
>     alwaysVisible=false|true  
>     arrows=false|true 
>     readonly=false|true />
> {code}
>  * showDirectLinks replaced by
> {code:java}
> <tc:paginatorList 
>     max=9 
>     alwaysVisible=false|true 
>     arrows=false|true />
> {code}
> to customize the paginator attributes and the layout on the page.
> In the sheet tag, there is a new attribute *paginator* with values:
>  * {*}custom{*}: no paginator is created automatically, you have to do it 
> manually. This can be done using a <tc:paginatorPanel> with e. g. a 
> <tc:paginatorList> and/ or some other paginator components.
>  * {*}auto{*}: a appropriate paginator is used.
>  * {*}list{*}: a <tc:paginatorList> is used.
>  * *page:* a <tc:paginatorPage> is used.
>  * {*}row{*}: a <tc:paginatorRow> is used.
>  * *useShowAttributes* (default): is deprecated, use for compatibility. The 
> used paginators are defined by the show-attributes: showDirectLinks, 
> showPageRange, showRowRange, directLinkCount, showDirectLinksArrows, 
> showPageRangeArrows, showPagingAlways.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to