[richfaces-issues] [JBoss JIRA] (RF-11821) RF4 extendedDataTable rowClasses not working in lazyloading of rows as it was working in Richfaces3.3.3.Final

Ulf Almehed (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 29 04:32:09 EST 2011


    [ https://issues.jboss.org/browse/RF-11821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653224#comment-12653224 ] 

Ulf Almehed commented on RF-11821:
----------------------------------

It’s not working because the state object isn’t passed to the walk method in encodeMetaComponent in ExtendedDataModelRenderer. I can email fixed source code if anyone is interested in fixing this.
                
> RF4 extendedDataTable rowClasses not working in lazyloading of rows as it was working in Richfaces3.3.3.Final
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-11821
>                 URL: https://issues.jboss.org/browse/RF-11821
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.1.0.CR2
>         Environment: Windows XP 32 bit OS, Mozilla Firefox 8.0, Google Chrome 16.0.912.63, IE 7 and 8
>            Reporter: Saroj Padhy
>              Labels: extendedDataTable, lazy-loaded, rowClasses
>             Fix For: 4.1-Tracking
>
>
> The attribute in extendedDataTable component, "rowClasses" not working as it used to work in Richfaces3.3.3.Final version. 
> Normally rowClasses usage is as below:
> <rich:extendedDataTable id="auction" value="#{auctionDataModel}" var="item" clientRows="10" selectionMode="single" rowClasses="odd,even"> ..
> ..
> And in CSS file we define, 
> tr.odd {
>     background-color: #F3F3F3;
> }
> tr.even {
>     background-color: #FFFFFF;
> }
> So the row colors differ as odd and even row background colors. 
> This is not working in Richfaces4 extendedDataTable component when rows are getting loaded on request (lazyloading). All rows shows odd background color.
> There is a work around for this issue, which is only working in Mozilla browser.
> Link:http://community.jboss.org/thread/168326?tstart=0

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

       



More information about the richfaces-issues mailing list