Hi:
My application is a standard MVC app which uses Apache Trinidad as its front-end. A few weeks backs I posted a question about displaying buttons in a table based on a if-else condition and I was told to use DataModel and I have used it:
Display_if_else_condition
Now, when I am trying to delete/edit a row, I am unable to capture the selected row in the backing bean. When I am trying to read the table using getRowData() it is returning null. Here is the code in my JSPX file:
And in the backing bean (this code is from Trinidad's dev page:
Trinidad_Tables):
I need to capture the selected row - which in my application is a DTO and send it to the DAO for deletion. Can you please let me know what I am doing incorrectly here that I cannot capture the selected row? Thank you in advance for your time!
FYI, I cross-posted this question on Sun's
JSF Forums as well:
Cross-post_Sun_JSF_Forum
Best,
Anil.