Created
October 21, 2017 23:15
-
-
Save fredrick-dominy/2a07b453812ec4370d69ffe8b16b8b5a to your computer and use it in GitHub Desktop.
TouchUI Multifield
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
<!-- Begin Multifield with ability for just one item --> | |
<fieldName | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/multifield" | |
class="full-width" | |
fieldDescription="Description of fieldset" | |
fieldLabel="Multifield Thing"> | |
<field | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/fieldset" | |
acs-commons-nested="JSON_STORE" | |
name="./fieldName"> | |
<layout jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns" | |
method="absolute"/> | |
<items jcr:primaryType="nt:unstructured"> | |
<column jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/container"> | |
<items jcr:primaryType="nt:unstructured"> | |
<!-- Add items here --> | |
</items> | |
</column> | |
</items> | |
</field> | |
</fieldName> | |
<fieldNameFieldType | |
jcr:primaryType="nt:unstructured" | |
sling:resourceType="granite/ui/components/foundation/form/hidden" | |
acs-commons-nested="JSON_STORE" | |
name="./fieldName@TypeHint" | |
value="String[]"/> | |
<!-- End Multifield with ability for just one item --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment