Hi,I am using template editor in AEM 6.3.I created a base template under /conf/my_project/wcm/settings/template-types. Now i am creating a lot of templates from the base template.I have header and footer which are being shared across all pages irrespective of templates.If i put header and footer ins...
we are trying to unit test our wcmuse pojo class with the AEMContext api. But getting null pointer exception in the line where we use get() in the activate method. Has anyone faced similar situation. I am seeing reference links which talks about testing WCMUsePojo using mocking frameworks like M...
Dear Experts,currently I observe a strange behavior on one of our AEM 6.2 (all updates installed) publish instances. Every time I run oak-run compact, repository gets bigger, instead of smaller. There are no errors and some tar files are really removed and added like here:size 115.7 GB (115699274801...
Hi,Not able to inject resouceresolverfactory in following code.I created an interfacepublic interface WriteService{ public void getSession();{And a class which implemented an interface@Component(immediate=true) @Service(value = WriteSerive.class) public class WriteServiceImp implements WriteServ...
Hello!I am using a simple Hello World program and including the global.jsp in the body.html file. I am using sightly or HTL for this. Below are the filescontentpage.html<html><head><title>Hello World!!!</title> </head><div data-sly-include="body.html"/></html>body.html<%@include file="/libs...
Hi, I am working on a website in which we must remove the .html from the url, allow vanity URLs and map content to /content/<application>. Before the dispatcher, mod_rewrite is removing the .html from the URLs with the following rules - (e.g. changes /us/en/home.html to /us/en/home/: # Handle reques...
Hi All,We have options for numeric, string, boolean types of traits for which rule evaluation is straight forward. Has anyone used date type of trait, applied rules like date between this date range or something like that?Any pointers would be helpful.- ThanksSandeep
Css and js render on a device when written inside the markup, but not render when on device when they are referred as clientlibs. The custom component contains a simple div and simple css and jQuery function . When the same css and js is used within the html markup as <style> and <script> tag, the c...
HelloFor simplicity, we want to use only http behind the WebApplicationFirewall towards the dispatcher and publisher. So incoming http and https will be http. Ist there a standard way to tell AEM what the protocol is to ensure the links are generated properly?Does AEM (and Forms) honor the Header "...