コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

xype dialogfieldSet not working

Avatar

Level 2

Hi,

I am trying to create a dialog in my components. For one of the dialog, i used the xtype as 'dialogfieldset'. After using that, the dialog box doesn't show up in the webpage.

This is my component Structure.

mycomponent
> dialog > items > items> tab1 > items > Textitems (xtype as 'dialogfieldSet)>text1

 

The above is not working. Can anyone help to identify what wrong in it?

1 受け入れられたソリューション

Avatar

正解者
Level 6

Hi,

the dialogfieldset is a fieldset (DOH!!) and according to the API, a fieldset works an on collection named items.

If you do your structure something like this, it should work. See http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Ext.form.FieldSet :

"dset":{ "title":"DFieldset", "xtype":"dialogfieldset", "collapsable":true, "defaultType":"textfield", "autoHeight":true, ":columnWidth":"Decimal", "columnWidth":"0.5", ":jcr:primaryType":"Name", "jcr:primaryType":"nt:unstructured", "items":{ ":jcr:primaryType":"Name", "jcr:primaryType":"cq:WidgetCollection", "item":{ ":jcr:primaryType":"Name", "jcr:primaryType":"nt:unstructured", "fieldLabel":"textfieldField1"}, "item2":{ ":jcr:primaryType":"Name", "jcr:primaryType":"nt:unstructured" ,"fieldLabel":"textfieldField2"} } }

元の投稿で解決策を見る

2 返信

Avatar

正解者
Level 6

Hi,

the dialogfieldset is a fieldset (DOH!!) and according to the API, a fieldset works an on collection named items.

If you do your structure something like this, it should work. See http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Ext.form.FieldSet :

"dset":{ "title":"DFieldset", "xtype":"dialogfieldset", "collapsable":true, "defaultType":"textfield", "autoHeight":true, ":columnWidth":"Decimal", "columnWidth":"0.5", ":jcr:primaryType":"Name", "jcr:primaryType":"nt:unstructured", "items":{ ":jcr:primaryType":"Name", "jcr:primaryType":"cq:WidgetCollection", "item":{ ":jcr:primaryType":"Name", "jcr:primaryType":"nt:unstructured", "fieldLabel":"textfieldField1"}, "item2":{ ":jcr:primaryType":"Name", "jcr:primaryType":"nt:unstructured" ,"fieldLabel":"textfieldField2"} } }

Avatar

Level 2

Thanks Ove, let me try and get back to you.