FacesContext.getCurrentInstance().getExternalContext().getRequestMap().get("var");
where "var" is the name of your datatable's variable.
On Apr 6, 2005 9:45 PM, Ray Clark <[EMAIL PROTECTED]> wrote:
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
--
-Heath Borders-Wing
[EMAIL PROTECTED]