PRIMEFACES: empty p:dataTable (binding problem)?

This can be caused by binding (as you suggested yourself). You have to bind p:dataTable to.

Up vote 0 down vote favorite share g+ share fb share tw.

I've simply changed working JSF h:dataTable to p:dataTable, but it's empty. Without headers, one empty row. I've installed primefaces-3.0.

M1. Jar to my project. UPDATE: if I remove binding, dataTable is working properly, but without advantages of HtmlDataTable... UPMay 22 '11: don't anybody knows how to bind rich:dataTable?

Part of code: Did I forgot something? Jsf richfaces primefaces link|improve this question edited May 22 '11 at 17:02 asked May 22 '11 at 15:56gaffcz5271121 98% accept rate.

– Matt Handy May 22 '11 at 16:04 No no, I tried to make it shorter to be more synoptic. But thanks – gaffcz May 22 '11 at 16:06 Ok, but you know that only one direct child element for f:facet is allowed (Use a wrapping panelGroup if you have more than one)?. – Matt Handy May 22 '11 at 16:09 I'm not sure what exactly do you mean....? In my code is commandbutton framed by h:panelGroup.

But I found the problem now - is in binding htmldatatable. If I remove it, the table shows columns normally. So i'm gonna edit my answer.. – gaffcz May 22 '11 at 16:14.

This can be caused by binding (as you suggested yourself). You have to bind p:dataTable to org.primefaces.component.datatable. DataTable instead of javax.faces.component.html.HtmlDataTable.

That's it! Thank you very much! And don't you know the binding for richfaces?

– gaffcz May 22 '11 at 16:48 Good to hear. I don't use Richfaces, but you can start searching here: anonsvn.jboss.org/repos/richfaces/trunk – Matt Handy May 22 '11 at 16:53 Anyway, thanks! :) – gaffcz May 22 '11 at 16:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions