cancel
Showing results for 
Search instead for 
Did you mean: 

How to create property for Map with String and List of Object in beans.xml?

former_member638588
Participant
0 Kudos
757

Hi

I am trying to create a attribute which return type should be Map (String,List(Object)) . How can I create this beans.xml property . I tried the below and it did not worked.

property name="pageSections" type="java.util.Map<String,java.util.List<java.lang.Object>"/>

Any help workaround for above?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Kudos

Please try changing it like:

 <property name="pageSections" type="java.util.Map&lt;java.lang.String,java.util.List&lt;java.lang.Object&gt;"/>
former_member638588
Participant
0 Kudos

Slight Modification for the above worked.

arvind-kumar_avinash
Active Contributor
0 Kudos

Great! May you succeed in all your future endeavours!

Answers (0)