Hi All,SlingHttpServletRequest object is null when i am passing it from WCMuse class to an OSGI service . why it will behave like that. Also when we do an getRequest in WCMUse class it returns an org.apache.sling.scripting.core.impl.helper.OnDemandReaderRequest object instead of org.apache.sling.ap...
For example, in jstl the switch statement like below<c:choose><c:when test="${salary <= 0}"> Salary is very low to survive.</c:when><c:when test="${salary > 1000}"> Salary is very good.</c:when><c:otherwise>No comment sir...</c:otherwise></c:choose> Need to convert the above switch statement to sigh...
Hi,I need to add a custom link on AEM HomePage screen. So, I overlaid wcm/core/content in apps and added node with jcr:mixinTypes : cq:Console. The link is getting displayed properly on the top of all above existing links. What I need is to display link at the bottom of all already existing links.Ho...
Hi All,What would be the proper approach to configure dispatcher in front of publisher.1, One to one (each publish has its separate dispatcher)2, one to many (all the publishers and dispatchers are interconnected) Thanks,viki
Hi All,I am planning to configure dispatcher flush agent:-Where should i configure, Author or on Publish.Best approach and description pls. Thanks, viki.
I need to upload just 2 new icons to design folderbut as this folder is of type nt:folderi can not upload any file.As I get ConstraintViolationException: no matching child node definition found Please help...Is it possible to change folder type?
Hi All,We have upgraded our AEM 5.6.1 author server to AEM 6.1 and then we used the same author instance as publish.The settings we changed to run the server as publish are : updated the port to 4503, runmodes as publish,nosamplecontent in sling.propertiesWe are also starting the server from cmd pr...
We have to implement the functionality similar to Reference Component but using sightly but with little customization. Default Foundation Component is using sling:include but I have tried using <div data-sly-resource="${item.path @ appendPath='/jcr:content/par/'}" data-sly-unwrap/> and this is retur...