Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

leopor
leopor
Offline

Badges

Badges
8

Accepted Solutions

Accepted Solutions
1

Likes

Likes
3

Posts

Posts
9

Discussions

Discussions
1

Questions

Questions
8

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by leopor
Customize the badges you want to showcase on your profile
Re: AEM 6.3 OSGI Filter Component with satisfied status - Adobe Experience Manager 04-06-2018
Thank you smacdonald for you response.I did the same, I moved the ResourceResolver to 158 line before I deployed the bundle the first time.Actually, my problem is not with the bundleMy problem is with the service with this name "SampleSerletFilter" it appears with the satisfied status.smacdonald Could you check on your local "/system/console/components/" if this SampleServletFilter appears with the same status?Thank you

Views

822

Likes

0

Replies

0
Re: AEM 6.3 OSGI Filter Component with satisfied status - Adobe Experience Manager 04-06-2018
This is the information:I wasn't able to find a clue.

Views

829

Likes

0

Replies

0
Re: AEM 6.3 OSGI Filter Component with satisfied status - Adobe Experience Manager 04-06-2018
I'm using AEM 6.3This is the bundle info:

Views

823

Likes

0

Replies

0
AEM 6.3 OSGI Filter Component with satisfied status - Adobe Experience Manager 02-06-2018
Hi everyone,I'm trying to implement OSGI Filter Components, I deployed this bundle on my local: GitHub - Adobe-Consulting-Services/acs-aem-samples: AEM Code Samples repository and I'm testing this example: acs-aem-samples/SampleServletFilter.java at master · Adobe-Consulting-Services/acs-aem-samples · GitHubBut when I look for the component in the osgi console I figured out that it has satisfied status.I also tried to debug, I put a breakpoint inside doFilter method but nothing happens.I'm testi...

Views

2.1K

Likes

0

Replies

9
Re: Problem with @inject annotation in a sling model - Adobe Experience Manager 27-12-2017
I found a solution to my problem, it was related with de Sling Models Injectors.The solution was install the ACS Commons content package from here: Adobe AEM Commons This package add a new in injector into AEM, and this inject the Resource Object into the sling model.Thank you for your answers, they were useful to fix another parts of my sling model.

Views

5.9K

Like

1

Replies

0
Re: Problem with @inject annotation in a sling model - Adobe Experience Manager 21-12-2017
Hi @smacldonald2008 When i use the injection by constructor i can see that t's pointing to the node that containt the component that use the sling model, i think that it's pointing well.Debug screen:You will have to made zoom with the explorer, because this editor reduce the image size.is the path well or i'm wrong?Thanks!!

Views

5.6K

Like

1

Replies

0
Re: Problem with @inject annotation in a sling model - Adobe Experience Manager 21-12-2017
Feike Visser I leave only one adaptable andsmacdonald2008​ i insert the @optional annotation and I change de javax.inject dependency with this dependency: org.apache.geronimo.specs geronimo-atinject_1.0_spec 1.0 provided But nothing works, the Resource propertie is still null.On the other hand, if I made the Inject with a constructor it´s work well.Like this:But i need to know why @Inject annotation is not working.There is something else to try?

Views

5.6K

Like

1

Replies

0
Problem with @inject annotation in a sling model - Adobe Experience Manager 18-12-2017
Hi everyone,I have a issue with @inject annotation, I try to inject the Resource object inside a Sling Model, but when I debug the code it's null.This is part of my code:import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ResourceResolver;import org.apache.sling.api.resource.ValueMap;import org.apache.sling.commons.json.JSONArray;import org.apache.sling.commons.json.JSONException;import org.apache.sling.commons.js...

Views

12.1K

Likes

0

Replies

10
Re: How to identify which of the inject is failing the sling model to instantiate - Adobe Experience Manager 18-12-2017
Yo have to debug the java class and chek wich of the attributes with the @Inject notation are null.

Views

561

Likes

0

Replies

0
Likes from