Hi,Again a question about the Sling Model, are the equivalent1). final Resource jcrResource = resource.getChild("jcr:content"); final ValueMap valueMap = jcrResource.adaptTo(ValueMap.class); final String title = valueMap.get("jcr:title", ""); // GETTING THE TITLE POPULATED WITH SOME ...
Hi All,Is there a way that we can restrict the components to use images with a specified rendition size [like 2:1 only or 3:1 only].Any thoughts/reference articles on this will be helpful.
In our felix console under components, we see service type attribute displayed. It was displayed as service but on upgrading it changed to singletonI know what singleton is, but I am wondering what are different types, where are they specified and significance of each Bundle org.imf.cq.imf-bundle (5...
Hi,1. Can you please recommend the steps to debug the sling model.2. If I have the method with @PostConstruct, when will it get executed ?3. If there is a constructor, when will it get executed ? ++++ EXAMPLE ++++@Model(adaptables=Resource.class)public class TestModel { @Inject @Named("path") ...
I have a large amount of DAM assets (mostly PDFs) to move from our Production environment down to our development environments. I have been packaging all of this up via Package Manager and manually installing each package to each environment. I also disable the WorkflowLauncher when installing as de...
hi thereI made changes to JSP of 1 component, precisely to JavaScript inside, some changes i get directly on 4503 after replicating.but some hours ago I stopped getting the latest changes on 4503.The JS code is the same as before on that page.although the log says: *INFO* [127.0.0.1 [1457542043639] ...
HI Friends,Can some one assist me how to move the UserGroups,USERS and ACL from Source to the destination system.I wanted to move all the groups,users and ACL to various environment please do assist I am struggling from 3 days but no luck. RegardsPr@veen
Hi,I am a facing issues with JSP compiling. The classes imported in JSP not getting resolved. Getting errors like "Only a type can be imported.and class cannot resolves to a package." Sometimes it works fine in Author but in publish getting the errors above. Tried the deleting files under "/var/cla...