aspose file tools*
The moose likes JSF and the fly likes Iterate over a dataTable and delete an entry on the clicked button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Iterate over a dataTable and delete an entry on the clicked button" Watch "Iterate over a dataTable and delete an entry on the clicked button" New topic
Author

Iterate over a dataTable and delete an entry on the clicked button

Philip Gutierrez
Greenhorn

Joined: Apr 24, 2007
Posts: 13
Hi everyone,

I was searching on the internet on how to do this for days and gave me a headache, so I decided to post here for help.

Anyway, I wanted to create a dataTable that dynamically generates fields with buttons and then when one of the button was clicked it will remove that entry, I tried binding the dataTable in my backing bean but have no luck on identifying which button was pressed.

Here the code,


I've attached a screenshot of the panelPopup.

Regards,
Philip


[Thumbnail for addGroup.png]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iterate over a dataTable and delete an entry on the clicked button
 
Similar Threads
fields not getting updated.
Icefaces AUTO SORT TABLE example
how to get id of many many list within ace:dialog and c:foreach
error displaying values in the datatable
Populate a SelectOneMenu and others