[
https://issues.apache.org/jira/browse/TOMAHAWK-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535578
]
Zdenek Sochor commented on TOMAHAWK-1133:
-----------------------------------------
Hi David,
as you quoted: "until we reach the end"
~end of rendered html table.
RI doesn't count with paginating.
If your expansion of functionality was ever commited, it would mean breaking a
lot of pages for us, other devs.
Scenario which would demonstrate it is having 2 alternating row classes with
distinct background colors AND having odd number of rows per page.
I can't imagine users of applications to get used to having so different color
coded pages.
Even worse case would be when using AJAX-based refreshing of the table.
Best regards,
Zdenek
> Data Scroller doesnt honor dynamic rowclasses during pagination
> ---------------------------------------------------------------
>
> Key: TOMAHAWK-1133
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1133
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Data Scroller
> Environment: Myfaces 1.1.5, Tomahawk 1.1.7snapshot, Tomahawk 1.1.6,
> Tomcat 6.0
> Reporter: David Brainard
>
> While using a data scroller with datatable if we specify the rowclasses
> dynamically(through value binding) only the first page gets the rowclasses
> assigned properly . When we try to do pagination and go to other page the
> same rowclasses which were used in the first page repeats i.e the rowclasses
> doesnt get assigned properly.
> for e.g; if i have a tag defined like this
> <t:dataTable id="myDetailDataTable" var="row"
> value="#{testBean.dataList}"
> columnClasses="#{testBean.styleClass}"
> headerClass="headerClass" footerClass="footerClass"
> rowClasses="#{testBean.rowClass}"
> styleClass="dataTable" rows="3" >
> and my rowclass returns something like this
> public String getRowClass() {
> return "rowOdd,rowOdd,rowEven,rowEven,rowEven,rowOdd";
> }
> in first page the generated rowclasses are correct which is as follws:
>
> 1st row:rowOdd,
> 2st row:rowOdd,
> 3st row: rowEven
> but when i navigate to next page the rowclasses assignment remains the same
> as first page.
> 1st row:rowOdd,
> 2st row:rowOdd,
> 3st row: rowEven
> but it should be as follows:
> 1st row:rowEven,
> 2st row:rowEven,
> 3st row: rowOdd
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.