wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Issues with Populating subdatatable in a row" Watch "Issues with Populating subdatatable in a row" New topic
Author

Issues with Populating subdatatable in a row

Varshini Priya
Ranch Hand

Joined: Feb 17, 2008
Posts: 93

Hi

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Issues with Populating subdatatable in a row
 
Similar Threads
how to populate image through HtmlGraficImage object in the backing bean?
Problem with dynamic dataTable generation
Multiple Data Tables
Issue with command button image in data table.
building a dataTable from java code