Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[JSF 2] Update the total of a column from a dataTable

Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using JSF 2.
I would like to update a field which is outside a dataTable and is the sum of a column from a dataTable.
The fields of this column are editable, so the user can change the quantities.
Then he clicks on a button and it should update the total.

I have been thinking about working with the DataModel of the list i use to populate that dataTable but i am still trying to find out what the DataModel can do for me in that case.
I am new with the DataModel class.

Any suggestion ?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic