since ‎29-04-2017
‎10-12-2019
puradawid
Level 3
How to architect packages of large project? puradawid - Adobe Experience Manager
Hey,in my experience every AEM project was based on approach to have one package for components (including templates, bundle with models and other services, etc.), one for demo content and one for test content. When there are 10 or 20 components structure of such package is not that bad. With 100 components its starting to be quite hard to maintain:- code coupling (reusing same templates in many ways)- deployment is risky (rollbacks are even more)Generally speaking, too many features are going i...
642
Views
1
Like
3
Replies
Re: AEM 6.3 PARSYS NO DECORATION puradawid - Adobe Experience Manager
Hey,are you sure that nothing else is stopping parsys to render properly? I had the same problem with older version of AEM (6.1 SP1) but it turns out that there is an exception within one of components inside.
513
Views
0
Likes
0
Replies
Re: AEM Nexus Repository - is it down? puradawid - Adobe Experience Manager
My apologies, that was first thing that ca me to my mind. Anyway, using -U always makes local repository useless IMHO.
1800
Views
0
Likes
0
Replies
Re: AEM 6.2 - Missing element AD in element OCD puradawid - Adobe Experience Manager
I am having this same problem with ACS commons - in terms of Shared Properties feature - can't configure it from Felix console. This link kautuksahni​ shared is just getting me into main page of this forum.Tried to google that problem but find nothing. This looks like AD is missing in OCD node and I am wondering if this state should be forbidden from any reason (no need to have attributes in configuration at all).
1898
Views
4
Likes
0
Answers
Re: AEM Nexus Repository - is it down? puradawid - Adobe Experience Manager
If you have problems still it seems that you need to force updates for maven build. Use -U flag.
1800
Views
0
Likes
5
Replies
Re: AEM Nexus Repository - is it down? puradawid - Adobe Experience Manager
Yes, it is working better now, although I am building recent ACS Commons and it looks like it has broken dependencies, becausehttps://repo.adobe.com/nexus/service/local/repositories/releases/content/com/adobe/cq/cq-dialog-conversion/1.0.2/cq-dial… It is a dependency that is referring to it's parent:com.day.cq:parent:pom:40which is not there: https://repo.maven.apache.org/maven2/com/day/cq/parent/40/parent-40.pom Is it a glitch of Adobe Nexus or just wrong dependencies? I believe parent should be...
2277
Views
0
Likes
4
Replies
AEM Nexus Repository - is it down? puradawid - Adobe Experience Manager
Hey, I have got errors during downloading artifacts from Adobe's nexus instance.But it looks like the nexus is actually down https://repo.adobe.com/nexus/content/groups/public/ Can someone confirm that? Maybe the repo has been moved recently? Many thanks.
3239
Views
2
Likes
18
Replies
Re: What do I need to do to solve this problem !!! puradawid - Adobe Experience Manager
How are you running AEM?It looks like many bundles are not present in OSGi. Probably because they were not installed in a first place.Is it repetable issue (just removing crx-quickstart repository and run AEM jar once again)?
645
Views
0
Likes
0
Answers
Re: How alter SlingHttpServletRequest with different Resource? puradawid - Adobe Experience Manager
The point is I have got this resource already, but I want to adapt it to specific sling model.
1146
Views
0
Likes
2
Replies
Re: How alter SlingHttpServletRequest with different Resource? puradawid - Adobe Experience Manager
So the point is there is a mechanism that is looking for another resource in a content tree (nearest sibling with resource type) to generate this one, i.e. "configuration".There is no way to forward this request nor include neither.
1146
Views
0
Likes
4
Replies
How alter SlingHttpServletRequest with different Resource? puradawid - Adobe Experience Manager
I am struggling with some generic piece of code:Resource resource = dynamicallyFindNeededResource(res);Class someModel = pickUpSomeSlingModelClass();return resource.adaptTo(someModel);The problem is I want to expand this type of adapting to request as well:Adaptable adaptable = checkIfModelAdaptableByRequest(someModel) ? changeRequestResourceToCurrentOne(request, resource) : resource;return adaptable.adaptTo(someModel);What comes to my mind is the changeRequestResourceToCurrentOne method has to ...
1405
Views
0
Likes
7
Replies
Re: Unable to save a multifield value as a page property puradawid - Adobe Experience Manager
Quite wild guess: but there might be blogAuthor already created and that's why its not getting "updated".
426
Views
0
Likes
1
Replies
Support of JCR Versioning in CRXDE puradawid - Adobe Experience Manager
Trivial and possibly stupid question but I just have a mind fog on that topic:Is there any way to check-in node in terms of creating a version of mix:versionable node in CRX/DE? I clicked literally everywhere to find that option in UI but found absolutely nothing.
356
Views
1
Like
1
Answers and Comments
Re: Nested components are not editable when copied into same page in AEM 6.1 SP1 (TouchUI) puradawid - Adobe Experience Manager
Alright, cheers smacdonald2008, I will report the bug. Anyway this looks so odd I had to ask community in a first place.Let you know what the status is. For the sake of keeping these things for future generations
736
Views
0
Likes
1
Replies
Re: CQ5/AEM learning puradawid - Adobe Experience Manager
Really good set of questions, cheers for thatAlthough, the last question 'How to use angular with AEM' might be quite... well, answered at least with multiple options
730
Views
0
Likes
0
Replies
Re: AEM 6.2: Url Shortening using sling mapping for multi-language site puradawid - Adobe Experience Manager
Yup that is completely feasible. Sling Mappings are designed for exactly that purpose, you just need to write correct regular expression.But my question is - do you really need that xyz transformation? As far as I can tell ommiting xyz in path might get conflict with another zyx folder in the same lever having the same page name. I am just making sure that its what you have designed, because if it will turn out that this was a just mistake and you need to get back to original path architecture w...
313
Views
0
Likes
0
Answers
Nested components are not editable when copied into same page in AEM 6.1 SP1 (TouchUI) puradawid - Adobe Experience Manager
When I am copying components that contains other components inside (included by data-sly-resource) and pasting into the same even parent parsys (so making this new components tree direct sibling of the base one) I cannot edit components copied inside. I can edit root component though. There are no overlays at all, just the main component have one. There is no error in a console, and the request for specific bunch of components (newly added) have already included cq tags so its not something rela...
1147
Views
0
Likes
3
Replies
Re: Unable to see Images in Content Finder puradawid - Adobe Experience Manager
Many things are possible here:- could you provide path for example image- are there specific ACLs?- does image have tags?
519
Views
0
Likes
0
Answers
Re: 404 when access resource using /etc.clientlib proxy puradawid - Adobe Experience Manager
With all do respect - clientlibs are only for CSS and Javascript code. They are don't have anything common with images or other static content so that is why it won't work as expected.
1041
Views
0
Likes
0
Answers
Re: Jenkins build failure with maven-sling-plugin:2.3.0 on AEM 6.2 puradawid - Adobe Experience Manager
Also -X flag during maven build can be helpful sometimes (spitting out the response code, etc)
483
Views
0
Likes
0
Replies
Re: WcmUsePojo Vs Sling Models puradawid - Adobe Experience Manager
There is no the best solution for that. It depends on many various things smacdonald2008​ wrote already (with massive exhausing explanation). Although tldr: using Sling Models coexist with using a lot of annotations (like JPA a little, at least for me) and Use classes are rather manual processing from a resource to specific class. Moreover, and forgive my ignorance, Sling Models are using (100% sure) adaptTo method and I am not sure which mechanism Use classes are using (I think its some injecti...
837
Views
0
Likes
0
Answers
Re: Retrieving the 'SlingHttpServletRequest request' from a parent node. puradawid - Adobe Experience Manager
Sad to say that, but Resource class has no adapter to SlingHttpServletRequest class. This is a problem with adaptTo method is not reversable so aInstance.adaptTo(B.class).adaptTo(A.class) don't have to work and those transitions are described with adapters you can find in OSGi console.So, for example, if you are using Sling Models you can simply set class to be adaptable from request, and after that inject main resource using @Via(Resource.class) @Self annotations.This discussion about propertie...
772
Views
1
Like
0
Answers
Re: Why docker does not help you with AEM puradawid - Adobe Experience Manager
Well, there is a little exception there (OSGi bundle can be split/replaced from existing content and nothing bad is happening - assuming it is a valid and working replacement), apart from that I agree with that statement.However, how are you handling existing deployment anyway? I think it is installing a new package to the existing repository. How its different from using Docker to run instance (without wiping data out of course) and installing new application package on prod as usual)? There al...
5482
Views
0
Likes
0
Replies
Re: Sling model for adapting partial filtered list of grand-children. puradawid - Adobe Experience Manager
What you can do its just using script bindings, like that in HTL (seems to be legit way to do):Keep in mind that filter property here its just a custom one, so you can do it even with two parameters like property and value, who knows what is better!Alright, so now there is a draft how to use it, but how to implement it? I won't write all class, believe that you can figure out most of placeholders I left you here:@Model // all those stuff you need to make its model, adaptable should be a Request ...
633
Views
0
Likes
0
Answers
Re: Issue with sling:resourceSuperType AEM 6.3 puradawid - Adobe Experience Manager
Unfortunately, includes are defined with extension, so that if generic page template went to html that will cause those jsp files won't be included.What you can do ASAP is just creating those files with jsp you have (that are overriding base page) with html extension and just simply load JSP as include, like:But you have to check that base page is having same structure as it had previously.
6316
Views
0
Likes
0
Replies
Re: How to create Test driven development(TDD) for AEM components. Is there any framework to do that in AEM? puradawid - Adobe Experience Manager
I have got the same problem here. Testing in AEM.First of all, unit tests in Java are obvious and explored well in last, at least, 10 years. Testing those: models, servlets and such is easy (at unit scope of course).However, its getting nasty when you want to test component scope (so that you want to test 1. component rendering 2. dialog 3. design rules). There is a thing called Hobbes.js that is testing well single component (its just a JS code that is ran within editor (or developer I can't re...
1211
Views
0
Likes
1
Replies
Re: Form is not getting submitted in dispatcher puradawid - Adobe Experience Manager
Hey AryA, to be honest:hard to tell what is your dispatcher configurationare you getting 404 during this call to that JSP? Is it fine, HTTP OK 200, any other response code? Any content in response?Some of dispatchers (I am not 100% sure but the default one seems to be done well) are configured to not handle jcr:content (to response with 404 or even worse).
1014
Views
0
Likes
0
Answers
Re: How to remove the wrapping div when using data-sly-resource? puradawid - Adobe Experience Manager
Feike Visser wrote... Ok..., here comes a black-magic Sightly trick.... Use this (resourceType) in case you are referring to a page... Basically to remove the div you need to specify the resourceType... This is the most black-magic trick I have seen for sightly! 🙂 I thought that providing resoureType won't affect rendering at all (just be nice way to render even if there is no node under certain path). Thanks for that info!
965
Views
1
Like
0
Answers
Re: [New] Welcome to AEM Community! Please Introduce Yourself puradawid - Adobe Experience Manager
Hello everyone! I am Dawid, working as a AEM Developer for two years so far. Happy to find this community at least 🙂 I am living in Poland, working mostly remotely for foreign (Western Europe) clients.
5727
Views
1
Like
0
Replies