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

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Wed Mar 12 14:17:58 EDT 2008


Header facet in the rich:dataTable ignore column "rendered" attribute
---------------------------------------------------------------------

                 Key: RF-2490
                 URL: http://jira.jboss.com/jira/browse/RF-2490
             Project: RichFaces
          Issue Type: Bug
         Environment: RichFaces 3.2 snapshot from 3/10.
            Reporter: Alexander Smirnov
         Assigned To: Alexander Smirnov
             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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list