Map<String, Object> resolverImpersonationConfig = new HashMap<String, Object>(0);resolverImpersonationConfig.put(ResourceResolverFactory.USER_IMPERSONATION, userId);return resourceResolverFactory.getServiceResourceResolver(resolverImpersonationConfig);This does not work under AEM 6.1!!!!!!!!!!!!!!!!...
Hello !I'm facing some issues with the Sqlite jdbc integration, my bundle doesn't start.I'm trying to use this dependency:<dependency> <groupId>org.xerial</groupId> <artifactId>sqlite-jdbc</artifactId> <version>3.8.11.2</version></dependency>But org.ibex.nestedvm -- Cannot be resolvedSo I h...
I have a dialog that has radio buttons on it. It is simple to make a preset set of options. So if each radio button indicates product brand for the author. Say the company has the following five brands, A,B,C,D,E.If these brands change very rarely then it is reasonable to hard code in the 5 produces...
Hi,I need to create a dialog to edit the nav component.The dialog must have a number of tabs equal to the number of children of the page.Can i do this thing inside the jsp or i need a specific service? Thanks
Hi,Previously I used QueryBuilder API to query JCR content repository . I had written the logic in jsp file itself. Now I want to use sightly . So only html files.Could you please explain with a small example how to use Query Builder API and display the results using sightly. Thanks in advance. Best...
I am unable to get the rewrite working on Dispatcher module of AEM. Following is what's happening with my configuration:Dispatcher configuration (I am using this approach https://docs.adobe.com/docs/en/dispatcher/disp-domains.html#The Web Server Rewrites Incoming URLs):Snippet of my httpd.confLoadMo...
I have a site where we're setting some request attributes that are used across the whole page via a JS-use file:// requestAttributes.jsuse(function(){ request.setAttribute('testAttribute","test attribute value");});And sightly markup that looks like this<sly data-sly-use.atts="requestAttributes.j...