since ‎03-05-2013
‎19-11-2020
Aryan12345
Level 2
Re: core components 2.11.1 in archetype 23
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
That seems to be the latest version on GitHub. So wanted to have that. Any idea how? https://github.com/adobe/aem-core-wcm-components

Views

176

Likes

0

Replies

0
core components 2.11.1 in archetype 23
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Two quick questions.1. Is archetype 23 the latest for aem 6.5 SP 6?2. How can I get core components 2.11.1 (latest) to work with this archetype? I changed the POM to reflect this version and i get error.[ERROR] Failed to execute goal on project aem656.all: Could not resolve dependencies for project com.aem656:aem656.all:content-package:1.0-SNAPSHOT: Failure to find com.adobe.cq:core.wcm.components.examples:zip:2.11.0 in https://repo.adobe.com/nexus/content/groups/public was cached in the local r...

Views

285

Likes

0

Replies

5
Sling filter - restricting scope based on path and resource types
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hello, Is it even possible to restrict sing filters based servlet paths or resource types? I tried those properties but no use. Every filter gets called for every request. sling.filter.pattern or sling.filter.pattern or sling.filter.resourceTypes does not seem to work. Am i doing something wrong? THanks,

Views

888

Likes

0

Replies

3
Re: Difference between different types of resource resolvers
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
BUt why dont they compare to be equal?

Views

1.8K

Likes

0

Replies

0
Difference between different types of resource resolvers
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
There are three ways in which I can get resource Resolver in AEM.Administrative resource resolverService resource resolver with a system userResource resolver from the request in a servlet.Lets consider this scenario.Get an administrative resource resolverGet a service resource resolver with admin as the subservice user.Resource resolver from the request in a servlet (hit on author) after providing admin credentials as "basic authentication" say in postman.Are these three not supposed to be the ...

Views

3.0K

Likes

0

Replies

4
Re: @Reference for configuration factory service
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Did not work for me.I did the followingService code (in the first bundle)public interface GodaDataServiceFactory { List getData();}Service Impl Code (Another bundle - Second bundle, Note its a factory)@Component( service = GodaDataServiceFactory.class, factory = "GodaDataServiceFactory", configurationPolicy = ConfigurationPolicy.REQUIRE)@Designate(ocd = GodaDataServiceFactoryConfig.class, factory = true)public class GodaDataServiceFactoryJcrImpl implements GodaDataServiceFactory { private static...

Views

1.6K

Likes

0

Replies

0
Re: Static Template on the ADOBE AEM 6.4
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
I realized that yesterday. Stupid me.

Views

2.1K

Likes

0

Replies

0
Re: Static Template on the ADOBE AEM 6.4
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
smacdonald2008​ I have AEM 6.4.6. While i understand that editable templates are the best option in 6.4.6, does it mean that "normal" are not supported any more? i come from a 6.3 background. I created a few templates under /apps//templates. I also created a few configurable templates. When i go to sites and do a "new page" i dont see the templates i created under the /apps//templates but only see the ones which i created as configurable templates. Any idea whats going on here?

Views

1.5K

Likes

0

Replies

0
Re: AEM 6.4 Quickstart Jar file Not Working
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
AEM 6.4 on windows 10 with JDK 8 seems to have a lot of issues in coming up. Replicated the issue in 2 seperate machines. Also is there a way to get AEM 6.4 working on JDK 10 or 11?

Views

5.8K

Likes

0

Replies

0
Re: AEM 6.4 Quickstart Jar file Not Working
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
I am having the same problem with AEM 6.4 on Win 10 with Java 8. Can you let me know how long it took for you?Also my log keeps showing this.07.12.2019 01:14:07.527 *INFO* [PayloadMap Cache Updater Thread] com.adobe.granite.workflow.core.PayloadMapCache No index available yet for workflowDataLucene. Attempt: 18307.12.2019 01:14:22.528 *INFO* [PayloadMap Cache Updater Thread] com.adobe.granite.workflow.core.PayloadMapCache No index available yet for workflowDataLucene. Attempt: 18407.12.2019 01:1...

Views

5.8K

Likes

0

Replies

2
Re: Sling model two adapters, adapt problems
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Am i using the correct version of uber jar?uber-jar-6.2.0-javadoc.jar

Views

1.3K

Likes

0

Replies

0
Re: Sling model two adapters, adapt problems
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hi Arun,One more thing... I have 6.4.. not sure what specification of SLing model is being used there. type attribute does not seem to work with @Via.type = ChildResource.classis this true?thanks,Yadhu

Views

1.3K

Likes

0

Replies

0
Re: Model's adaptable is request - bug with @Default
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
No issues with resource.class. only with request.class. thats confirmed.

Views

1.9K

Likes

0

Replies

0
Re: Model's adaptable is request - bug with @Default
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hi Arun,Not sure I understood. My question is that @Default forces itself upon the dialog value also in case the adaptable in Request and works fine if adaptable in resource.Any clues?Note: the behavior is consistent after testing.thanks,Yadhu

Views

1.9K

Likes

0

Replies

4
Re: Sling model two adapters, adapt problems
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hi Feike,how do you mean "what is done first"?Does it mean what you put as first in adaptable list (in annotation)? does not matter... either ways it gives the request the priority...Would be great if you can explain further. thanks.

Views

1.3K

Likes

0

Replies

0
Re: Sling model two adapters, adapt problems
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hey thanks for the info. But does not actually answer my question. does request have a higher priority?As far the second point goes, i have read the article. does not work that way. I have tested it and the results are consistent, across versions

Views

1.3K

Likes

0

Replies

0
Model's adaptable is request - bug with @Default
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hello Experts!I have a model adaptable from request. I have resource depend injections marked with @Via("resource"). There are some where i put the tag @Default(values="default text");.Now comes the interesting part. Even when i enter the value in the dialog for that item, it does not take that value but only default value.Now when i change the model to accept "adapt" from resource, then the real value gets picked up and when it is not available default values get picked up which is the accepted...

Views

2.0K

Likes

0

Replies

6
Sling model two adapters, adapt problems
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hi,I have a sling model with both SlingHttpServletRequest and Resource as adaptables. Couple of questions there.1. I think the default adaptable is request (has the higher priority) since for any inject which depends on resource being the adaptable does not work until i put a Via("resource") there. Is this understanding correct?2. When I adapt a resource (another model in the same component called from the same HTL file) to the model above, it throws (Suppressed: org.apache.sling.models.factory....

Views

5.2K

Likes

0

Replies

8
Re: The ADOBE MAVEN REPO IS DOWN
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
I am sorry i did not understand the last post. Is it still down. I am not able to build projects anymore. https://repo.adobe.com/nexus/content/groups/public is giving me 502. IS this still down?

Views

913

Likes

0

Replies

0
Re: Model classes vs Interfaces
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hi.. any other takers for this question? any help on this would be great.

Views

1.1K

Likes

0

Replies

0
Re: Model classes vs Interfaces
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Cool..smacdonald2008​ thanks a million for the links.. i did a lot of playing around with models... did some really weird things and it was fun.... but now i am bumping in to something which i am not able to wrap my head around... there is the concept of source and there is a concept of via. @Source is an annotation which helps me select an injector out of available registered injectors if i want to force one.... and @Via helps me change the default injection behaviour in the context of a given ...

Views

1.1K

Like

1

Replies

0
Re: Model classes vs Interfaces
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hey thanks all for the responses.smacdonald2008​ is this the paragraph you wanted me to see? I think this is probably the most direct answer to my question.... I need to read up more on adapters i think.... am i right? Apart from that and of course what Jitendra mentioned about the general use of interfaces, i dont see any reason why i would use a interface instead of a concrete class... please let me know what you thinkThe @Model annotation registers CardImpl as a Sling Model when it is deploye...

Views

1.0K

Likes

0

Replies

0
Model classes vs Interfaces
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Hello,I am slightly new to the world of sling models. More used to JSP and custom taglibs (and implementing my own "idea" of models by using reflections) than models. Whatever i have done with models is limited to simple injections, references and self injections.Recently i was fooling around with some examples from the sling portal and came across this:@Model(adaptables=Resource.class) public interface MyModel { @Inject String getPropertyName(); }Then i started wondering why and when you would ...

Views

2.6K

Likes

2

Replies

9
Re: Archetype 13 command
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
wonderful thanks!

Views

721

Likes

0

Replies

0
Re: Archetype 13 command
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Thats good to know. Can you share the mvn commands for 12 and 13? Thanks in advance.

Views

718

Likes

0

Replies

0
Re: Archetype 13 command
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
I am currently using archetype 11 to create the proj. Please let me know if someone has faced and solved the above.

Views

727

Likes

0

Replies

0
Archetype 13 command
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
I tried creating a project using archetype 13 from cmd line since the eclipse plugin was misbehaving. I used the archetype 11 command and just changed the version to 13. Project got created fine but when i deployed it to AEM, AEM bombed. Nothing opens up anymore. Everything results in empty screen. Worse still no notable exceptions in error.log. I am sure i am doing something wrong by using 11 command for creating 13 based project. Its another point altogether that AEM should not bomb. BUt thats...

Views

1.6K

Likes

0

Replies

5
Re: Adobe public maven repo is down
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Thanks it works.

Views

1.2K

Likes

0

Replies

0
Re: Adobe public maven repo is down
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
hey .. if the repo server is down, can you let us know the ETA? We are not able to create any project using the archetype

Views

921

Likes

0

Replies

0
Adobe public maven repo is down
Avatar

Aryan12345

Aryan12345
- Adobe Experience Manager
Adobe public maven repo is down. Anyone else facing same issue?

Views

3.9K

Likes

3

Replies

8