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.
I have a requirement in which I have to create a JSF Datatable which will fetch data from a HashMap<String, ArrayList> where the Key corresponds to the column name and the value will be an ArrayList of data for the column.
As of now I have two columns EmpName and EmpNo.
Here is the POJO/Bean Class:
Here is the backing bean:
Now how do I go ahead and construct the dataTable so that it picks up the Key as column name and Arralist as the data in the column.
Please provide your suggestions and code snapshots.
Help is appreciated.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Need Help:How to port HashMap<String-ColmnName, ArayList-ClumnData> to Datatable for multiple colmns