embed « Datatable « JSF Q&A





1. Show HashMap in Datatable. UIColumn with embedded Datatable. Help Needed    coderanch.com

Hi, I am trying to display a HashMap in a datatable where the values for each key is an ArrayList e.g. ArrayList al = new ArrayList(); al.add("AA"); al.add("BB"); al.add("CC"); HashMap hm = new HashMap(); hm.put("ONE", al); ArrayList al2 = new ArrayList(); al2.add("AA2"); al2.add("BB2"); al2.add("CC2"); hm.put("TWO", al2); Now I have a Datatable with two columns. First column shows the key and the ...