활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
I created two image tabpanel in a component.
i can able to retrieve only one, how i can retrieve two value in JSTL.
Dialog as follows.
<backImage
jcr:primaryType="cq:Widget"
cropParameter="./backImage/imageCrop"
ddGroups="[media]"
fileNameParameter="./backImage/fileName"
fileReferenceParameter="./backImage/fileReference"
mapParameter="./backImage/imageMap"
name="./backImage/file"
requestSuffix="/backImage.img.png"
rotateParameter="./backImage/imageRotate"
sizeLimit="100"
title="Background Image"
xtype="html5smartimage">
<items jcr:primaryType="cq:WidgetCollection">
<resType
jcr:primaryType="cq:Widget"
ignoreData="{Boolean}true"
name="./backImage/sling:resourceType"
value="foundation/components/image"
xtype="hidden"/>
</items>
</backImage>
<frontImage>
jcr:primaryType="cq:Widget"
cropParameter="./frontImage/imageCrop"
ddGroups="[media]"
fileNameParameter="./frontImage/fileName"
fileReferenceParameter="./frontImage/fileReference"
mapParameter="./frontImage/imageMap"
name="./frontImage/file"
requestSuffix="/frontImage.img.png"
rotateParameter="./frontImage/imageRotate"
sizeLimit="100"
title="Background Image"
xtype="html5smartimage">
<items jcr:primaryType="cq:WidgetCollection">
<resType
jcr:primaryType="cq:Widget"
ignoreData="{Boolean}true"
name="./frontImage/sling:resourceType"
value="foundation/components/image"
xtype="hidden"/>
</items>
</frontImage>
I can retrieve only value using${properties.fileReference}.
if i give ${properties.backImage} - am getting blank value.
Can we use ${properties.backImage/fileReference}?
Do we need to use same name as in foundation/components/image?
Can any one please explain how i can retrieve two images?
Thanks in advance.
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
Refer these links:
조회 수
답글
좋아요 수
Hi Seetha,
Here are the helpful article for your use case:
조회 수
답글
좋아요 수
Thanks Edubey,
I can retrieve images and it's showing in page.
But in dialog, it's showing some other images.[img]Screen Shot 2015-08-12 at 12.10.33 PM.png[/img]
조회 수
답글
좋아요 수
Can you try to delete this component and re-author it. Let me know if you are able to replicate it.
조회 수
답글
좋아요 수
I deleted and re-author component, now images are not showing in dialogs.
it's available in page.
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수