Chuyển đến nội dung chính

Bài đăng

Đang hiển thị bài đăng từ Tháng 12, 2013

Image is not showing up on Dialog.

I am getting problem with Dialog. In my Dialog I have created the image field which accepts image from dam by Drag and drop. Whil Iam dropping the image it is showing up inside the Dialog properly and is showing up on the screen also But when I try to edit the image the current image got vanished inside the dialog. I don't understand why it is happening? Here is the example of configuration of an image on the tab of dialog. <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"/> You

Can multiple smartimage xtypes appear on one dialog tab in AEM

Widgets API document for  smartimage Note that the component is mainly designed for use on a separate dialog tab. You may use the component inside a CQ.Ext.layout.FormLayout optionally if you provide a  suitable height setting . Here are codes for dialog: <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:Dialog" height="{Long}600" title="dialog" xtype="dialog"> <items jcr:primaryType="cq:Widget" xtype="tabpanel"> <items jcr:primaryType="cq:WidgetCollection"> <panel jcr:primaryType="cq:Panel" title="Panel with two Images"> <items jcr:primaryType="cq:WidgetCollection"> <firstimage

How to turn off personalization targetting on components?

The "Target" menu option can be disabled at component level by setting cq:editConfig/cq:disableTargeting to true. As an example for out of the box text component is shown below. Don't forget to overlay in order to be upgrade safe.