how to iterate Map<String,Collection> in datatable in primefaces
问题 Using JSF 2.1 with primefaces class FOO{ String name; String value; public void setName(String name){ this.name=name; } public String getName(){ return this.name; } public void setValue(String value){ this.value=value; } public String getValue(){ return this.value; } } I have an Map<String, List<FOO>> Header name should be Key of the Map. I need to create multiple columns (i.e. size of Map) and each column should have the list of FOO to display FOO.Name in rows. For Example : if size of map