Hi Martin,

Yes, thats it.

This was the only one alternative I didn't try out. ;)


Thank you very much.

Joerg







On Tue, 12 Sep 2006, Martin Marinschek wrote:

Hi Jörg,

use this:

#{addressListBean.addressBeanMap[type].zipcode}

regards,

Martin

On 9/12/06, Joerg Bredlau <[EMAIL PROTECTED]> wrote:
Hello,

is it possible to nest one EL-Variable into another? I want to use it as a
dynamic key for a hashmap like this:


${addressListBean.addressBeanMap['${type}'].zipcode}

The type-variable comes from a facelet ui:param like this:

<ui:include src="PageComponent/showAddressPanel.xhtml">
     <ui:param name="type" value="postal"/>
</ui:include>


But it seems that ${type} is empty and therefore no value is found
in the map.

When I write directly the value like

${addressListBean.addressBeanMap['postal'].zipcode}

its correctly solved.


Has anybody any hint for this?


Thanks for help.


Joerg





Reply via email to