Last active
April 12, 2023 03:00
-
-
Save nateyolles/e5eed811dc9c35961c23 to your computer and use it in GitHub Desktop.
AEM Touch UI component dialog checkboxes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Checked checkbox will result in a String property of "true" --> | |
<myCheckbox | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/checkbox" | |
text="My Checkbox" | |
name="./myCheckbox" | |
value="true"/> | |
<!-- Checked checkbox will result in a Boolean property of true--> | |
<myBooleanCheckbox | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/checkbox" | |
text="My Boolean Checkbox" | |
name="./myBooleanCheckbox" | |
value="true"/> | |
<myBooleanCheckboxType | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/hidden" | |
name="./myBooleanCheckbox@TypeHint" | |
value="Boolean"/> | |
<!-- Checkbox defaults to checked and saves a Boolean value of true --> | |
<myCheckbox | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/checkbox" | |
text="My Checkbox" | |
name="./myCheckbox" | |
value="true" | |
checked="true"/> | |
<myCheckboxType | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/hidden" | |
name="./myCheckbox@TypeHint" | |
value="Boolean"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey there
I am a beginner with AEM 6.5 and I want to implement something as below. Can u help me witht his?
Create dialog box for custom link component s, asking authors to choose if they would like the link to be opened in new tab/windows using checkbox and label