Meaningless Drivel is fun!
The moose likes JSF and the fly likes Css trouble on rich:extendedDataTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Css trouble on rich:extendedDataTable" Watch "Css trouble on rich:extendedDataTable" New topic

Css trouble on rich:extendedDataTable

Radu Mircea
Ranch Hand

Joined: Jun 14, 2009
Posts: 45

Hi ,

I am trying to give a custom css class to message that is displayed when there are no data rows displayed in "rich:extendedDataTable".

Text that is displayed in these case can be set using "noDataLabel" property of rich table, but i did not find the css style which format these output.

Please if you have an idea help me.

Srini Mutpur

Joined: Mar 29, 2008
Posts: 24

Use the rendered condition to display the table. And also include one more panelGroup or panelGrid with rendered condtion which actully contains the message which you want to display.

Hope this solves your problem.

SCJP 1.5
Radu Mircea
Ranch Hand

Joined: Jun 14, 2009
Posts: 45
Hi !

Thanks very much for posting.

I found a better way, i believe this , to solve the issue.

I used extdt-noData-cell css class which was build exactly for my above described needs.

All the best,

I agree. Here's the link:
subject: Css trouble on rich:extendedDataTable
It's not a secret anymore!