dcsimg
developing dataTable custom Component
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Janardhan_K
Posted On:   Tuesday, November 28, 2006 01:22 AM

How to get the row data of my backing bean by using dataTable custom component in JSF.


I am new to JSF.I am not able get the data from my backing bean.Also how bind the value and how to iterate row data. i strucked here. How to bind the values of the bean. If there is any specific code then help to me.
Thanks
Janardhan

Re: developing dataTable custom Component

Posted By:   tulasi_devi  
Posted On:   Friday, December 8, 2006 02:01 AM

suppose say u hv a ListDataModel binded to h:dataTable this way :













here list holds all the products, whenever any action performed on the corresponding row, then the corresponding row data could be got in the action method by calling getRowData on the ListDataModel. here as per the above dataTable in getDetails method u can call productListDataMode.getRowData()

/tulasi.
About | Sitemap | Contact