This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi to all,
Hope you all will be fine. I am new to JSF. I have a <p:table> like this.
when table is first loaded it contains entries from Database. Now i want when someone try to add CategoryName to the table , then the Table must not contain the added category. Means there must be no duplicate in the table.
So i want to ask is it possible that when some one try to add category to the table then instead of checking from database table first i get the records of columns CategaryName from the p:dataTable using TableModel?
Like i get all the names under CategaryNames column in an ArrayList and then check the new entered Category against all the entries, and if match exist then i return message that entry already exist in the table.
Actually i just want to ask is it possible to get records of particular columns from p:databale in an ArrayList or Collection using TableModel.