File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Philip Gutierrez
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

[Thumbnail for addGroup.png]
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic