This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
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.
Solved! Go to Solution.
Views
Replies
Total Likes
Refer these links:
Views
Replies
Total Likes
Hi Seetha,
Here are the helpful article for your use case:
Views
Replies
Total Likes
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]
Views
Replies
Total Likes
Can you try to delete this component and re-author it. Let me know if you are able to replicate it.
Views
Replies
Total Likes
I deleted and re-author component, now images are not showing in dialogs.
it's available in page.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies