| Author |
Map within a Map in JSF-EL ?
|
nimo frey
Ranch Hand
Joined: Jun 28, 2008
Posts: 580
|
|
I have a Map in my BackingBean: Now, want to use it in EL in JSF: I tried it with: value="#{myBean.myMap[x.[y]]}" but it does not work...parser Error. I know, when I have this as Map: then this works: but I need to reference a map within a map. How can I express it in JSF-EL???
|
 |
nagaraju RamaKrishna
Greenhorn
Joined: Apr 21, 2011
Posts: 2
|
|
Am using the HashMap<Date,Integer> like you in java class and value="#{myBean.myMap[x]}" in jsp but am not able to get more values(morethan 10) from jsp.
In java class i used myMap.get(days.get(i))) . Here days is List<Date>
Am able to get 6 values if days size is 6. But more than that am not able to get the values from hashmap.
Can anyone please explain me about why this is happening.? How can i get all the values in map which are entered in
value="#{myBean.myMap[x]}.
Thanks and Regards,
RamaKrishna.
|
 |
 |
|
|
subject: Map within a Map in JSF-EL ?
|
|
|