this should do it:
 
value="#{showPlayer.serieDisplay[showPlayer.player.serie]}"
 
 

From: Kasper Hansen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 9:51 AM
To: 'MyFaces Discussion'
Subject: HashMap with another property value binding?

Hi,

I got this JSF page and I like to use a Map and property together.

 

I do this, but it doesn’t work:

<h:outputText value="#{showPlayer.serieDisplay['#{showPlayer.player.serie}']}" />

 

The method getSerieDisplay() returns a Map (String, String) and the getSerie() (Player Object) returns a String

 

How do I write it?

Reply via email to