[richfaces-issues] [JBoss JIRA] Commented: (RF-2490) Header facet in the rich:dataTable ignore column "rendered" attribute

Coen Damen (JIRA) jira-events at lists.jboss.org
Tue Jan 12 09:54:30 EST 2010


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

Coen Damen commented on RF-2490:
--------------------------------

Hmm I am still witnessing the same problem. I just updated to 3.3.2.SR1.



> Header facet in the rich:dataTable ignore column "rendered" attribute
> ---------------------------------------------------------------------
>
>                 Key: RF-2490
>                 URL: https://jira.jboss.org/jira/browse/RF-2490
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.2.0
>         Environment: RichFaces 3.2 snapshot from 3/10.
>            Reporter: Alexander Smirnov
>            Assignee: Aleksej Yanul
>             Fix For: 3.2.0
>
>
> The headers of  data tables are no longer following the render rule of its parent h:column tag.
> The headers are rendering no matter what the rule is.  The actual content is following the render rule.  I noticed that if I wrap the whole h:column
> into an a4j:region tag and place the render rule there instead, it all renders correctly.  However, I think it should work the way it was before right ??
> The f:facet tag should comply to the render rule in the h:column tag ?
>  
> Here's a code snippet.......
>  
> <rich:dataTable ...>
>  
> <h:column id="checkBoxCol" rendered="#{itemList_editableUser or itemList_subProfileView or itemList_DownloadableUser}">
>     <f:facet name="header">
>                         <h:selectBooleanCheckbox styleClass="checkbox" immediate="true" id="headerCheckBox"
>                                  onclick="toggleElementCheckboxes(this, this.checked)"/>
>                </f:facet>
>                         <h:selectBooleanCheckbox value="#{item.selected}" title="#{item.object.itemIdentifier.gtin}" styleClass="checkbox"
>                              id="rowCheckBox"
>                              disabled="#{(itemList_subProfileView and itemList_subProfRestr) or item.acctAccess == 'N'}"/>
> </h:column>
>  
> ........
> </rich:dataTable>
>  

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

        


More information about the richfaces-issues mailing list