my dog learned polymorphism
The moose likes JSF and the fly likes reset only one row of a dataTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "reset only one row of a dataTable" Watch "reset only one row of a dataTable" New topic

reset only one row of a dataTable

Xeon Dev

Joined: Feb 07, 2012
Posts: 2
I have a dataTable component where "each line (row)" contains two inputText, one checkbox and a reset button.
I look to reset the values of inputTexts and checkbox of the line in which i click on the reset button.
For that, I used the resetbutton component from trinidad package (
But it resets the values in all lines which in not what I'm looking for. I note that there is a reset button in each line of the table and it should work only on that line components.

So, I would like to know if there is a solution for this purpose ?
Many thanks.
I agree. Here's the link:
subject: reset only one row of a dataTable
It's not a secret anymore!