Page 1 of 1
Dialog appendToBody and Datatable selection
Posted: 02 Feb 2011, 10:38
by rubi
I hav a datatable with checkbox selection in a dialog (which in turn is within a p layout). Dialog's appendToBody when turned On, the datatable selection returns 0 rows.
Any Fix?
Re: Dialog appendToBody and Datatable selection
Posted: 02 Feb 2011, 10:54
by cagatay.civici
You must use appendToBody with care, if dialog is inside a h:form in page declaration, it wont be inside a form when page is rendered, as dialog is moved outside to become a child of body. Try nesting a form inside dialog.
Seeing your code would help for sure.
Re: Dialog appendToBody and Datatable selection
Posted: 03 Feb 2011, 10:30
by rubi
Ok Will take care of that. And thanks for the 'appendToBody' feature.