この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
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?
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
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"} } }
表示
返信
いいね!の合計
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"} } }
表示
返信
いいね!の合計
Thanks Ove, let me try and get back to you.
表示
返信
いいね!の合計