aem Questions
7
Solved
1
Solved
Started to work with AEM project. Now I am trying to launch project locally and got next error during building (stacktrace cut):
[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1....
1
Solved
When trying to @Inject (javax.inject.Inject) to inject MyConfigurationService within @SlingServlet MyServlet leads to a NullPointerError anytime any operations are attempted on myConfigurationServi...
2
How can I dynamically set a CSS class on the wrapping decoration tag of an AEM6 Sightly component?
I cannot set this CSS class on the component as it depends on the instance of the component, and ...
Ripuarian asked 29/9, 2014 at 14:25
3
What is the significance of having 2 separate last modified dates(jcr:lastModified and cq:lastModified)? Is there a scenario where one of the dates gets updated and second one not. Cant we live wit...
1
Solved
I am new to sightly. Can someone please help me understand the difference between using
<sly data-sly-test ="${condition}" data-sly-unwrap>
and
<div data-sly-test="${condition}" dat...
1
How to add the robots.txt file to an AEM server to provide rules for Web Crawlers in AEM?
4
Solved
I want to write some data to AEM, and the below code works fine for me in AEM 6.0 but not in AEM 6.1 , always throws a Login Exception as follows:
"Login Exception when obtaining a CRX User for th...
2
Using the following dependencies (amongst others, the bundle is supposed to be installed to AEM 6.1)
runtime is java8
maven-scr-plugin 1.15.0
org.apache.felix.scr.annotations: 1.9.8
org.apache.f...
Brockbrocken asked 20/10, 2015 at 14:0
11
I have to drag an image and drop it into a CQ5 component. The image and component are in different frames.
Here is the code which did not work as webelement destinationcould not be found when the ...
Thuja asked 10/8, 2012 at 7:41
2
Solved
I read a lot of articles like JCR vs Apache Sling and I'm confused about what to use. Some authors advise to use JCR API like more performance optimized and the rest are on the side of Apache Sling...
4
Solved
I am migrating classic ui dialogs to touch ui dialogs, I migrated the parent component dialog, I observed AEM is showing the parent dialogs tabs and properties in the child component as well. In th...
1
Solved
What is the difference between Extending a component, overriding a component and overlaying a component. Can someone please explain with developer point of view
Bedlamite asked 23/6, 2017 at 11:26
1
Solved
This is my first AEM project, I have a image upload in a component which is working, after uploading if i open settings of component to change the image, preview is not working as you can see in be...
3
Solved
I have a Sling Resource object. What is the best way to set or update its property?
1
Solved
What is the use of selectors in Sling?
http://www.resourcePath.selector.extension
I have read the documents online about the usage of selectors:
Some of the documents say that it is used for ...
1
I am attempting to grab multiple nodes of the same type from different areas in the jcr and order them by a date.
SELECT * FROM [social:asiResource]
WHERE [sling:resourceType] = 'social/qna/compo...
2
When we update any configuration for a component in the Configurations tab in the Apache Felix Web OSGi Console, where are these configuration settings saved? This is with respect to AEM 6.0 or abo...
Salsala asked 20/2, 2017 at 8:25
2
Solved
For reference, I'm on CQ5.5
I am curious if there is any way to extend upon an inherited dialog, without overwriting it's parent dialog.
For example, have a structure as follows:
base-page-templ...
Gutbucket asked 22/1, 2014 at 20:57
1
Solved
Am trying to understand the AEM Sling Resource Merger concept. As per the Adobe docs examples Override (Configuring your Page Properties), Overlay (Customizing the Consoles (touch-optimized UI)) am...
2
Solved
Sling provides a functionality to ease resource resolution. It's ability to resolve to exact resource representation we need is very useful in content based application.
However I am not able to u...
2
Solved
In JSTL you can set variables in on component that are available to all other components after it in the same request. In AEM using sightly is there an equivalent way to pass data between component...
3
Solved
I am using Postman to test OAuth 2 from a vanilla AEM install.
Postman can successfully obtain the authorization code from /oauth/authorize after I grant access:
But when it tries to use the...
Pines asked 29/1, 2016 at 2:45
5
How can I remove the decoration tags only in preview/publish mode in AEM sightly?
I have seen the question and answer: AEM/CQ: Conditional CSS class on decoration tag
This removes the decoration ...
3
Solved
I have recently migrated a development site from AEM 5.6 to 6.0. When I click on the edit icon, in the Touch UI mode, a blank page loads with no UI. A sample Url in this mode looks like this: local...
Horehound asked 2/2, 2015 at 22:7
© 2022 - 2024 — McMap. All rights reserved.