Output a map collection in facelets JSF 2?

From your code: This is not going to work. This requires a getKeySet() method on the Map interface, but there is none. If your environment supports EL 2.2 (Servlet 3.0 containers like Tomcat 7, Glassfish 3, etc), then you should invoke the keySet() method directly instead of calling it as a property: Or if your environment doesn't support EL 2.2 yet, then you should iterate over the map itself directly which gives a Map.

Entry instance on every iteration which in turn has a getKey() method, so this should do as well: None of above works with as it doesn't support Map nor Set. It supports List and array only. The difference between and is by the way that the generates multiple JSF components during view build time and that the renders a single JSF component multiple times during view render time.

I like your answer better. More detail. I remember you!

You're an answer junkie. You rock man! – Adam Fisher Nov 17 at 22:53 You're welcome.

– BalusC Nov 17 at 23:08.

It turns out the correct syntax to output map keys is.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions