The moose likes JSF and the fly likes Issues with Populating subdatatable in a row Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Issues with Populating subdatatable in a row" Watch "Issues with Populating subdatatable in a row" New topic

Issues with Populating subdatatable in a row

Varshini Priya
Ranch Hand

Joined: Feb 17, 2008
Posts: 94


I have a requirement, where I have a datatable and inside the first row in the datatable, on click on an image, I need to expand the row and display a sub datatable. With the inputs that was provided, I have created a datatable and was able to expand the row as well. But The subdatatable is not getting rendered. The code related to this is specified below.

The above code is where the logic for expanding the rows. Below is the code where we are creating the datatable manually via the backing bean

Below is the getter and setter method for rendering the datatable

Using the above code the Row expansion is happening fine. But the Datatable is not getting rendered in the expanded part.Also I tried some sysout statements and was able to find that the values that are set for the subtable are getting rendered fine. But the datatable is not getting rendered . Can you please let me know how to get the datatable rendered in this screen. Thanks in Advance

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Issues with Populating subdatatable in a row
It's not a secret anymore!