I have a component, and on adding the component on the page, the component's container is not visible. Although, I'm able to see the component in the content tree in left panel. What can be the issue?
I have a project path like /content/a/b/cThere are certain templates that I don't want to show for page paths having 'a' in it. So, I thought of using cq:allowedTemplates property.The problem is that this property value is not getting inherited from the parent node to its child nodes.What am I doing...
I'm facing the below on a particular template in my project.When I click on the wrench icon to configure the component, the dialog opens up but keeps on loading. I then need to press escape button to get out of the loading. After a couple of tries, the dialog starts to open fine.What can be the issu...
@Imran__Khan how to approach this requirement? Right now I've created a multifield component with file upload field for image and a textarea field for image description.How to go about after this?
I have a requirement to create an image gallery component.Here, there is no upper limit on the number of images. On click of '+3' tile, all images will come up and on click of any individual image, it opens up with a description attached to it. How can I develop this? Is there any OOTB component tha...
Hi @Imran__Khan I tried what you mentioned. Below is the code.package com.cbdt.core.models;
import com.cbdt.core.utils.NavigationUtils;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.models.annotations.DefaultInjectionStrategy;
import org.apache.sling.models.annotation...
I have a component. Nothing needs to be authored on the dialog for this component. The content is dynamic for different users.Now, user data is being stored at Java level in a service in an httpSession object. How can I get that data to be rendered in that component's sightly?I've written a model bu...
I have created a new template and using that template I'm trying to create a page. But the page properties window is coming empty. What can be the issue?