| Author |
How to get a parent row data when a row is selected from the child table which is in the facet
|
Anil Kolisetty
Greenhorn
Joined: Feb 18, 2011
Posts: 8
|
|
Hi,
i have a table in the detailStamp facet of a table, i provided selection option for the table which is in the facet, i need to retrieve the parent row data to the backing bean
<tr:table id ="outerTable "var="row" value=List>
<facet name="detailStamp">
<tr:table id="innerTable" var="innerRow" value="row.innerList" rowSelection="single">
<tr:column/>
<tr:column/>
</tr:table>
</facet>
</tr:table>
The user don't have the ability to select the outerTable rows, user only has the ability to select a row from the detailStamp table but i need to retrieve the innertable row data as well as outertable row data.
i am getting rowdata of the innerTable using binding attribute.
How can i get the outerTable row data of the selected facet(selected innerTable)?
Thanks in Advance......
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
It's a major annoyance that JSF doesn't support nested dataTables properly. Until it does:
http://www.coderanch.com/t/568331/JSF/java/Dynamic-datatable-jsf#2611049
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: How to get a parent row data when a row is selected from the child table which is in the facet
|
|
|