Hi, I have snippet like this:<sly data-sly-use.svg="${'/apps/foobar/svg.js' @ pngPath={{iconPath}}, iconSize='xs', title={{label}}, desc='', alt={{label}}}"> ${svg.html @ context= 'unsafe'} </sly>I'd like to pass the handlebars expression usi...
Sorry for late reply.I've update the javax.servlet to version 3, but it generate Failure to find javax.servlet:servlet-api:jar:3.1. so I just return it back to version 2.5.
Here is my parent pom file. When I want to add additional dependency, I added it on parent pom file. I tried to add it in the core pom.xml, but it show error, so I just added it to the parent pom file.<?xml version="1.0" encoding="UTF-8"?><!-- | Copyright 2015 Adobe Systems Incorporated | | Licensed...
I have reinstall the publish server, and still facing the same problem.Maybe my steps to replicate is wrong?This is my step that I used:mvn clean install -P autoInstallPackage (it install the package to the author server).In http://localhost:4502/crx/packmgr/index.jsp I replicate the ui.apps first, ...
I'm using AEM 6.2 @jorgsmacdonald2008, I'm new in maven world, so that means that the maven repo doesn't have the javax.servlet package version 3.1, isn't it?
I add cookie to the SlingHttpServletResponse by using code: String accessToken = objectResult.getString("access_token"); Cookie responseCookie = new Cookie("web-token", accessToken); responseCookie.setMaxAge(1000); responseCookie.setPath("/"); response.addCookie(responseCookie);When I want...
It just a code from the sample MyModel.java class```package id.jeffersonsetiawan.aem.core.models;import org.apache.sling.api.resource.Resource;import org.apache.sling.models.annotations.Default;import org.apache.sling.models.annotations.Model;import org.apache.sling.settings.SlingSettingsService;imp...
Hi Jorg, I install the bundle in the author via mvn clean install -P autoInstallPackage and I use autoInstallBundle if I change the java class. In the author it worked well, but when I replicated to the publisher all is there (including app/training/install/XYZ.jar). But when I use it in the compone...
I've check that thread before. I've never install the jar before and when icheck in the osgi component or the bundle list, there is not foo package installed, and I can't use the java bundle in my component.