Hi
I am using the dialog converter tool 1.0 on AEM 6.0 SP3 for converting classic dialog checkbox into touch dialog checkbox. However the converted checkbox structure is different from classic.
Classic Structure:
<addbutton
jcr:primaryType="cq:Widget"
fieldLabel="Add Button"
inputValue="true"
name="./addbutton"
type="checkbox"
xtype="selection">
</addbutton>
Converted Touch UI Structure:
<addbutton
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/checkbox"
name="./addbutton"
text="Add Button"
value="true"/>
<addbutton-delete
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/hidden"
name="./addbutton@Delete"
value="{Boolean}true"/>
I have searched for a rule at /libs/cq/dialogconversion/rules but cannot find any rule for checkbox.
Can anyone please help me understand how is the conversion being done ?
Solved! Go to Solution.
You can refer following doc for understanding the logic of dialog conversion :
https://docs.adobe.com/docs/en/aem/6-3/develop/dev-tools/dialog-conversion.html#Dialog Rewrite Rules
Hi Zeyn,
Are you getting Checkbox in Touch UI ? The structure and node type is going to be bit different in Touch ui cq:dialog than classic dialog box.
Views
Replies
Total Likes
Hi Abhishek,
Yes the checkbox is been generated in Touch UI. I wanted to know how it is generated as other components like textfield etc have rules but i couldnt find any rules for checkbox in the rules folder.
Views
Replies
Total Likes
You can refer following doc for understanding the logic of dialog conversion :
https://docs.adobe.com/docs/en/aem/6-3/develop/dev-tools/dialog-conversion.html#Dialog Rewrite Rules
Views
Like
Replies