]
Ilya Shaikovsky commented on RF-4192:
-------------------------------------
So lets add emptyTableLabel attribute and emptyTableContent facet. If label or facet
defined should be rendered instead of table body. If both defined - facet should be
rendered only. Headers should be rendered as for not empty table.
Add "noDataLabel" to rich:dataTable for purposes of display
a message if the dataTable is empty
-----------------------------------------------------------------------------------------------
Key: RF-4192
URL:
https://jira.jboss.org/jira/browse/RF-4192
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.1.4, 3.1.5, 3.1.6, 3.2.0, 3.2.0.SR1, 3.2.1
Reporter: Chris Simons
Assignee: Ilya Shaikovsky
Priority: Optional
Fix For: 3.3.0
An excellent, small addition to rich:dataTable would allow for a textual message to be
displayed in the event that a dataTable is empty.
For example:
<rich:dataTable id="myTable"
noDataLabel="#{messages['dataTable.noData']}" ....>
</rich:dataTable>
When the condition is true that the underlying data model or list is empty, the message
would display in one row that spans the entire dataTable. The headers and dataTable title
would still remain.
Please vote for this issue if you would like to see this feature added.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: