Using dataTable Primefaces?

The second datatable has not been rendered to the client side. So it's not reachable for ajax update . Put it in for example a h:panelGroup instead which is always rendered to the client side.

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

I am using the dataTable object of primefaces to display some data and I am having some problems to realize something : I display first a table with only 1 column and I want to display another table filled with data depending on what the user selected on the first one. For that, when the user selects a row in the first table, I fill the currentCorbeilleId record of my TaskController and try to update the form "tasksList". It makes sense when I write that now but it does not work... When I click on a row of the first table, nothing happens... Am I using the dataTable component the right way?

What should I do more to make it works? Thank you for your answers! Jsp jsf datatable primefaces link|improve this question asked Oct 29 '10 at 12:55MartinMoizard397419 100% accept rate.

The second datatable has not been rendered to the client side. So it's not reachable for ajax update. Put it in for example a h:panelGroup instead which is always rendered to the client side.

...

It is not working... I'm trying to do the same kind of refresh on another page and even with your panelGroup work around it does not work. – MartinMoizard Nov 3 '10 at 19:57 The answer was targeted on the code example as you posted in the question. If the component in question is not inside the same UINamingContainer component (h:form, f:subview, etc) then you need to prefix the update ID with : like update=":tasksList" so that it searches from the root level.

– BalusC Nov 3 '10 at 20:03.

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