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