Dialog appendToBody and Datatable selection

UI Components for JSF
Post Reply
rubi
Posts: 160
Joined: 24 May 2010, 16:53

02 Feb 2011, 10:38

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?
Glassfish V3.1.1,Mojarra 2.1.2, PrimeFaces-3.0RC1

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 Feb 2011, 10:54

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.

rubi
Posts: 160
Joined: 24 May 2010, 16:53

03 Feb 2011, 10:30

Ok Will take care of that. And thanks for the 'appendToBody' feature.
Glassfish V3.1.1,Mojarra 2.1.2, PrimeFaces-3.0RC1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests