In your backing bean, you must have access to the model (of your table ), just call yourModel.getRowData() to get the current row's data or yourModel.getRowIndex to the currenty row's index.
-----Original Message----- From: Ray Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 10:46 PM To: [email protected] Subject: dataTable and commandButton question I'm sure this must have been asked before but I can't find it in the archives. So please forgive me if it has been asked before. I have a dataTable with a commandButton rendered on each row. When the commandButton is pressed I need it's managed bean method to know which row the button was pressed for. So how can the method know which row to process? Thanks, Ray __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo

