since ‎17-02-2018
‎10-12-2019
jessicag5141490
Level 1
AEM6.3 - Dialog with "Add" button adding a group of fields
Avatar

jessicag5141490

jessicag5141490
- Adobe Experience Manager
Hi,I need to create a dialog with a "Add" button. When I click in Add, it shows me to fields, beeing an image field and a text field.If I want to "Add" one more item, I click again in Add.It not seems dificcult, but I am newer on this.Thank you very much!

Views

598

Likes

0

Replies

1
Re: Problem to use class WCMUsePojo with uber-jar-6.3.1 on AEM6.3
Avatar

jessicag5141490

jessicag5141490
- Adobe Experience Manager
Hi Hemant,this dependency is not currently available on repo public anymore.Hi Kumar, I have been following a lot of articles for all week and I always end up on the same, I am using the uber-jar, that has WCMUsePojo class on it, I don't know why it not using the class on uber-jar. com.adobe.cq.sightly,version=[2.2,3) -- Cannot be resolved

Views

757

Likes

0

Replies

0
Re: Problem to use class WCMUsePojo with uber-jar-6.3.1 on AEM6.3
Avatar

jessicag5141490

jessicag5141490
- Adobe Experience Manager
Hi,I had some progress here.I notice that if I comment some dependencies from com.adobe.acs I don't have the sightly dependency error anymore. Dependencies commented: com.adobe.acs checkstyle-osgi-checks 0.0.3 com.adobe.acs coding-standards 0.0.1 -->But this service that uses WCMUsePojo does not appear on my bundles, neihter in console/components. It is not being created. What can I do on this case?My class:public class ContingencyAccess extends WCMUsePojo {@ReferenceResourceResolverFactory resourceResolverFactory;@Overridepublic void activate() throws Exception { final String...

Views

756

Likes

0

Replies

0
Problem to use class WCMUsePojo with uber-jar-6.3.1 on AEM6.3
Avatar

jessicag5141490

jessicag5141490
- Adobe Experience Manager
Hi,I am trying to use the class WCMUsePojo to access a service, but I am getting the error: com.adobe.cq.sightly,version=[2.2,3) -- Cannot be resolvedI have searched all over the internet, and it seems that I just have to use uber-jar. The problem is that I am using uber-jar-6.3.1 and I keep having this same error.if someone can give me a new approach to follow, I would be very happy, because I don't know what to do anymore. Below is dependencies of my core pom.xml javax.servlet.jspjavax.servle...

Views

2.4K

Likes

0

Replies

8
Re: maven build generating an empty jar
Avatar

jessicag5141490

jessicag5141490
- Adobe Experience Manager Mobile
Another thing that I am seeing is that when I create a page the resourceType of the page is, for example, website/components/structure/pages/mypage I am using this original resourceType and the page works fine, but does not call the servlet.If I try to change this resourceType for another name random, the page does not work and I have the error below:org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource JcrNodeResource, type=bin/pages/mypage,...

Views

3.5K

Likes

0

Replies

0
Re: maven build generating an empty jar
Avatar

jessicag5141490

jessicag5141490
- Adobe Experience Manager Mobile
Yes! is this article that I am following, it seems very simple, but when I try on my application, nothing happens.One different that I noted is that the jar that is being generated on the article has one thing more that is a package called metatype.When I generate and decompile my jar, it does not has this package metatype.I don't know if I am missing some configuration.thanks for your help!

Views

3.5K

Likes

0

Replies

0
Re: maven build generating an empty jar
Avatar

jessicag5141490

jessicag5141490
- Adobe Experience Manager Mobile
Hi,I would abble to resolve the jar problems, mas my servlet is still getting ignore.My bundle is active, so I don't know what more should I have to do.I just have this class, I am trying to access it with /content/my-website/my-page.groups.htmlbut it is not working This is what I have for now:@SlingServlet(methods = {"GET"}, metatype = true,resourceTypes = {"resource/myresource"},selectors = {"groups"})public class ChangeURLServlet extends SlingAllMethodsServlet{private static final long serial...

Views

3.5K

Likes

0

Replies

1
maven build generating an empty jar
Avatar

jessicag5141490

jessicag5141490
- Adobe Experience Manager Mobile
Hello,I am starting with sling, and I am following an adobe tutorial to build a simple slingServlet using resourceTypeMy code is very simple, but seems to being ignored.I was noting that when I do the maven build of the bundle, I am receiving the warning below but I am having success message on the process:[WARNING] Bundle xxxxxx:xxxxx.core:bundle:1.0-SNAPSHOT : The JAR is empty: The instructions for the JAR named xxxxxx.core did not cause any content to be included, this is likely wrongWhen I d...

Views

4.3K

Likes

0

Replies

4