JSF & Hashmap: access value properties
===

I have a Hashmap defined by:

    Map<String, Person> map = new HashMap<String, Person>();

and it's filled by some data. This is in EJB bean.

In JSF, I would like to access property of class Person somehow like:

    #{bean.map['key'].username}

but JSF doesn't allow me to do this.

If I replace Person with String for example, it works.

Any help?