0 Replies Latest reply on Jul 25, 2010 3:37 AM by Khosro Asgharifard Sharabiani

    Define property Map<String,Set<String>> in component.xml

    Khosro Asgharifard Sharabiani Newbie

      Hi ,
      How to define such a property in component.xml for a Seam component :


      @Name("seamComponent")
      public class SeamComponent{
      Map<String,Set<String>> c;
      
      }
      
      



      I know we can define map like this


      @Name("seamComponent")
      public class SeamComponent{
      Map<String,String> d;
      
      }
      
      <component name="seamComponent" auto-create="true" scope="application">
                      <property name="d">
                              <key>f</key>
                              <value>""</value>
                      </property>
      </component>
      
      


      But i do not know how to define property

       Map<String,Set<String>> 

      in component.xml?


      Khosro.