but the problem is.. the display:table tag automatically iterates to create table values dynamically. Now i have a delete button at the end of each row.When user clicks on the delete on any of the rows dynamically created,I have to delete the row both in trhe page and in the back end. For that I have to track ,which row user clicked on. I am unable to get a clue about how to find that. Please help me.
posted 13 years ago
Let me make my page clear to all of you..
I will have a dynamic table which will have a delete and an edit button at the last column of each row. I also have a back and cancel button below the page. So I will have 4 "submit"s . That's why I used multi action form controller. But I need to get the table object inside each method for "delete" and "edit" because,If I dont get the bean object from the page table I cant delete/edit any row. Now In simple form controller we get an Object attribute in the Model and View onSubmit() we write which serves the above written purpose.
But can anyone please help me how can I get the object in case of multi form action controller? or if there are any other ways around.
Be grateful. Thank opensource
machines help you to do more, but experience less. Experience this tiny ad: