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

aderler
aderler
Online

Badges

Badges
6

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
1

Posts

Posts
4

Discussions

Discussions
0

Questions

Questions
4

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by aderler
Customize the badges you want to showcase on your profile
Re: JUnit Test Cases for Sling Models based on Delegation Pattern - Adobe Experience Manager 18-01-2022
Adding a better and cleaner solution for those who are having this issue. wcm.io provides libraries and extension for AEM applications. We can use the same to create AemContext. They have recently addresses this issue and added straightforward solution (issue link), details here. We can import com.adobe.cq.wcm.core.components.testing.mock.ContextPlugins.CORE_COMPONENTS and use them as a parameter to .plugin(). So our AemContext initialization would look like this. private final AemContext ctx = ...

Views

703

Like

1

Replies

0
Re: AEMaaCS how to dynamically create editable component... - Adobe Experience Manager 12-02-2021
I don't really understand that requirement (it sounds weird to me to render the results of a search with the chance to adjust it manually, because the search result in general is quite dynamic and can change when new content is added or existing content changed or removed. But if you made it work for your case: Good job!

Views

318

Likes

0

Replies

0