Expand my Community achievements bar.

SOLVED

AEM 6.1 TouchUI - More then one image

Avatar

Level 2

I've a Dialog with 2 Image. The first Image are visible in the Dialog, but the seconde None. Wenn i use the "old" Editor, both Image was visible.

The .content.xml

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0"
          xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
          jcr:primaryType="nt:unstructured"
          sling:resourceType="cq/gui/components/authoring/dialog">
    <content
            jcr:primaryType="nt:unstructured"
            sling:resourceType="granite/ui/components/foundation/container">
        <layout
                jcr:primaryType="nt:unstructured"
                sling:resourceType="granite/ui/components/foundation/layouts/tabs"
                type="nav"/>
        <items jcr:primaryType="nt:unstructured">
            <logo
                    jcr:primaryType="nt:unstructured"
                    jcr:title="Logo"
                    sling:resourceType="granite/ui/components/foundation/container">
                <layout
                        jcr:primaryType="nt:unstructured"
                        sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"/>
                <items jcr:primaryType="nt:unstructured">
                    <columns
                            jcr:primaryType="nt:unstructured"
                            sling:resourceType="granite/ui/components/foundation/container">
                        <items jcr:primaryType="nt:unstructured">
                            <logoImage
                                    jcr:primaryType="nt:unstructured"
                                    sling:resourceType="granite/ui/components/foundation/form/fileupload"
                                    autoStart="{Boolean}false"
                                    class="cq-droptarget"
                                    fieldLabel="Logo"
                                    fileNameParameter="./logoImage/fileName"
                                    mimeTypes="[image]"
                                    multiple="{Boolean}false"
                                    name="./logoImage/file"
                                    title="Image"
                                    uploadUrl="${suffix.path}"
                                    useHTML5="{Boolean}true"/>
                            <altTextLogo
                                    jcr:primaryType="nt:unstructured"
                                    sling:resourceType="granite/ui/components/foundation/form/textfield"
                                    fieldDescription="Default: pagetitle from homepage"
                                    fieldLabel="Alt Text"
                                    name="./logoImage/altText"/>
                        </items>
                    </columns>
                </items>
            </logo>
            <logoCaption
                    jcr:primaryType="nt:unstructured"
                    jcr:title="LogoCaption"
                    sling:resourceType="granite/ui/components/foundation/container">
                <layout
                        jcr:primaryType="nt:unstructured"
                        sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"/>
                <items jcr:primaryType="nt:unstructured">
                    <columns
                            jcr:primaryType="nt:unstructured"
                            sling:resourceType="granite/ui/components/foundation/container">
                        <items jcr:primaryType="nt:unstructured">
                            <logoCaptionImage
                                    jcr:primaryType="nt:unstructured"
                                    sling:resourceType="granite/ui/components/foundation/form/fileupload"
                                    autoStart="{Boolean}false"
                                    class="cq-droptarget"
                                    fieldLabel="Logo"
                                    fileNameParameter="./logoCaptionImage/fileName"
                                    mimeTypes="[image]"
                                    multiple="{Boolean}false"
                                    name="./logoCaptionImage/file"
                                    title="Image"
                                    uploadUrl="${suffix.path}"
                                    useHTML5="{Boolean}true"/>
                            <altTextLogoCaption
                                    jcr:primaryType="nt:unstructured"
                                    sling:resourceType="granite/ui/components/foundation/form/textfield"
                                    fieldDescription="Default: pagetitle from homepage"
                                    fieldLabel="Alt Text"
                                    name="./logoCaptionImage/altText"/>
                        </items>
                    </columns>
                </items>
            </logoCaption>
        </items>
    </content>
</jcr:root>
 

1 Accepted Solution

Avatar

Correct answer by
Level 2

Editing dialogs with several images works fine after installing hotfix 6670.

View solution in original post

5 Replies

Avatar

Employee Advisor

Have you tried using the dialog conversion utility provided by Adobe - http://localhost:4502/libs/cq/dialogconversion/content/console.html

Avatar

Correct answer by
Level 2

Editing dialogs with several images works fine after installing hotfix 6670.

Avatar

Level 2

Where can I find this hotfix? I don't find it at Package Share.

Avatar

Level 2

I've done a daycare ticket. They placed the hotfix to me