[
https://jira.jboss.org/jira/browse/RF-2490?page=com.atlassian.jira.plugin...
]
Leonid Sokolin commented on RF-2490:
------------------------------------
I tried adding colspan as suggested and it doesn't seem to work:
<rich:column rendered="#{not empty dataItems.standardDeviation}"
colspan="1">
<f:facet name="header">Standard Deviation</f:facet>
<h:outputText value="#{dataItems.standardDeviation}" />
</rich:column>
Any other suggestions to resolve the issue?
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
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