You can also use: #{managedBean.beanMapAttribute.key}
JV
-----Mensaje original-----
De: Kuni [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 28 de julio de 2006 15:43
Para: MyFaces Discussion
Asunto: Re: Displaying data from a map
try #{map['key']} if you have String-based key's.. that works. a
Shibi Thomas schrieb:
> hi
> i am not familiar with witing your own functions for facelets. where
> do i read more about this??
>
>
> On 7/27/06, *Martin Beránek* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> CD napsal(a):
>
> > It might be best to write a couple of getter methods (one for
> getting
> > the keys and one for getting the values) that delegates to the
> > appropriate methods in the set or builds the keys and values on the
> > value using the set's contents.
>
> Or if you are using facelets, you can write your own functions like:
>
> public Set keysFromMap(Map m)
>
> and
>
> public Object valueFromMap(Object key)
>
> --
> Martin Beranek
>
>
>
>
> --
> Kind Regards
> Shibi Thomas
> Cell : 0843052341
> Email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> Rom 12:21 Do not be overcome by evil, but overcome evil with good.