[richfaces-issues] [JBoss JIRA] Commented: (RF-7510) sortOrder being evaluated even though rendered=false for rich:column

Robert Raksi (JIRA) jira-events at lists.jboss.org
Wed Sep 8 10:24:49 EDT 2010


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

Robert Raksi commented on RF-7510:
----------------------------------

The resolution disables sorting even if rendered=true and visible=false.

Shouldn't column.isRendered(false) be used instead of column.isRendered()?

> sortOrder being evaluated even though rendered=false for rich:column
> --------------------------------------------------------------------
>
>                 Key: RF-7510
>                 URL: https://jira.jboss.org/browse/RF-7510
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 3.3.1
>         Environment: Win XP, JBoss 4.2.3, Seam 2.1.2
>            Reporter: Wayne Bagguley
>            Assignee: Mikhail Vitenkov
>            Priority: Minor
>             Fix For: 3.3.2.CR1
>
>          Time Spent: 4 hours
>  Remaining Estimate: 0 minutes
>
> I have some <rich:column> tags inside a rich:dataTable and some have the 'rendered' attribute tied to a bean field. If this bean field is false, indicating that there is no data for this column, the 'sortOrder' attribute on the <rich:column> tag is still evaluated and thus raises an exception because it returns a null value because that column doesn't exist in the data.

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

        


More information about the richfaces-issues mailing list