aspose file tools*
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
JavaRanch » Java Forums » Java » JSF
Bookmark "reset only one row of a dataTable" Watch "reset only one row of a dataTable" New topic
Author

reset only one row of a dataTable

Xeon Dev
Greenhorn

Joined: Feb 07, 2012
Posts: 2
Hello,
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 (http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_resetButton.html).
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.
Bye
 
jQuery in Action, 2nd edition
 
subject: reset only one row of a dataTable