Last active
May 7, 2018 23:01
-
-
Save fredrick-dominy/c7ff90f4dc7efb9690ab204d310ceecc to your computer and use it in GitHub Desktop.
fileupload 6.3
This file contains hidden or 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
| <text | |
| jcr:primaryType="nt:unstructured" | |
| sling:resourceType="granite/ui/components/coral/foundation/text" | |
| text="Description of image..."/> | |
| <file | |
| jcr:primaryType="nt:unstructured" | |
| sling:resourceType="granite/ui/components/foundation/form/fileupload" | |
| class="cq-droptarget" | |
| fieldLabel="Image Asset" | |
| fieldDescription="Drag and drop an image asset from the asset finder here. If asset is shown, press 'Clear' to remove the reference." | |
| fileNameParameter="./image/fileName" | |
| mimeTypes="[image]" | |
| name="./image/file" | |
| useHTML5="{Boolean}true" | |
| autoStart="{Boolean}false" | |
| allowUpload="{Boolean}false" | |
| uploadUrl="${suffix.path}" | |
| title="Drag and Drop Image"/> | |
| <resType | |
| jcr:primaryType="nt:unstructured" | |
| sling:resourceType="granite/ui/components/foundation/form/hidden" | |
| name="./image/sling:resourceType" | |
| value="foundation/components/image"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment