[
https://jira.jboss.org/jira/browse/RF-7402?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-7402.
--------------------------------
Resolution: Won't Fix
Assignee: Tsikhon Kuprevich
f:facet element can contain only a single component.
Facet header in dataTable problem with two possible entries (and
mutlple text output)
-------------------------------------------------------------------------------------
Key: RF-7402
URL:
https://jira.jboss.org/jira/browse/RF-7402
Project: RichFaces
Issue Type: Bug
Components: component-tables
Affects Versions: 3.3.2.CR1
Reporter: Tony Herstell
Assignee: Tsikhon Kuprevich
In the following markup the facet header does not show text "Back Number" when
its not a graded event.
However the Colums acts correctly and shows the actual back number.
I have had previous trouble with header facet only acting on first possible text
<rich:column rendered="#{eachClass.timesVisibleToCompetitors or
s:hasRole('ADMINISTRATOR')}">
<f:facet name="header">
<s:fragment rendered="#{not event.graded}">
<h:outputText value="Back Number" />
</s:fragment>
<s:fragment rendered="#{event.graded}">
<h:outputText value="Back Number (ESNZ)" />
</s:fragment>
</f:facet>
<s:fragment rendered="#{event.graded}">
<s:fragment rendered="#{not empty
eachEntry.horse.esnzRegistrationNumber}">
<h:outputText value="#{eachEntry.horse.esnzRegistrationNumber}" />
</s:fragment>
<s:fragment rendered="#{empty
eachEntry.horse.esnzRegistrationNumber}">
<h:outputText styleClass="error"
value="#{messages.entity_horse_esnz_number_not_added}"/>
</s:fragment>
</s:fragment>
<s:fragment rendered="#{not event.graded}">
<h:outputText value="#{eachEntry.backNumber}" />
</s:fragment>
</rich:column>
--
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