| Author |
Dynamic column value display using var of t:dataTable
|
pradip p sardar
Greenhorn
Joined: Nov 24, 2009
Posts: 5
|
|
Hi Everyone,
I would like to print the dynamic coulmn value using the t: dataTable . Is there any way by using var of dataTable we can display the collection value on screen. I dont want to display the text using var.name and var.address kind. I want to dynamically itereate over the row to get the values. Is there any simple way? Please let me know. Thanks. Pradip
|
 |
pradip p sardar
Greenhorn
Joined: Nov 24, 2009
Posts: 5
|
|
<t:dataTable value ="#{myBean.list}" var = "result" >
<t:columns value ="#{myBean.headerList}" var= "headVal">
<f:facet name ="header" >
<h utputText value = "#{headVal.label}">
</f:facet>
<h utputText value = "#{???}">
</t:columns>
</t:dataTable>
At ??? how can i display the attributes against the respective label using result variable of datatable??? Thanks
|
 |
 |
|
|
subject: Dynamic column value display using var of t:dataTable
|
|
|