You'll need to define a "keys" property on your object. Since there's no "getKeys()" method in the standard Java.util.Map collection, that means you'll need to subclass it with a class of your own that includes getKeys(). Your getKeys() method would need to invoke the Map keySet() method and present the resulting java.util.Set according to how you want it rendered on the page. Usually, you'd want to sort it, since a Set is an unordered collection.
An IDE is no substitute for an Intelligent Developer.
Joined: Jun 28, 2008
hmm.. I tried it with that, and it works (without implementing a getKey-Property)
To get the values, you can use:
I know, I should avoid using JSTL, but c:forEach works always, where ui:repeat does not work always.