extjs - how to store xtype value as String Array CQ5 / AEM -
i have dialog set of xtypes defined. 1 of xtype "selection" type "select". each option has value type "string[]" , when add component page , @ option selected content.
it stored "string" rather "string[]".
could tell me how make/force xtype store values in "string[]" , rather "string".
thank you, sri
you can use 1 of sling parameters manipulate content creation through slingpostservlet. read more: here
in reality, add hidden field dialog pass @typehint parameter expected property type. if xtype saves data e.g. cities property can add following:
<citiestypehint jcr:primarytype="cq:widget" name="cities@typehint" value="string[]" xtype="hidden"
Comments
Post a Comment