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

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -