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

lawrencer388181
Community profile lawrencer388181 Level 2
Job title here
Location here
6 BADGES
Level 2

Level 2

Learn more
Joined the community 09-05-2019 5:52:32 AM
Online
Top badges earned by lawrencer388181
Customize the badges you want to showcase on your profile
Re: JUnit Test Cases for Sling Models based on Delegation Pattern
Avatar
Give Back 3
Level 2
lawrencer388181
Level 2

Likes

4 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Give Back 3
Applaud 5
Give Back
Boost 3
Boost 1
View profile
lawrencer388181
- Adobe Experience Manager
I managed to get a mock instance to be injected when adapting the commerce product model without using the "DefaultInjectionStrategy.OPTIONAL" solution.I've just wrapped a mock to avoid all of the inject errors of the core model but it did try to do it with the original resource super type. package com.custom.aem.core.models.commerce.impl; import com.adobe.cq.commerce.core.components.models.common.Price; import com.adobe.cq.commerce.core.components.models.product.Asset; import com.adobe.cq.comme...

Views

23

Likes

0

Replies

0
Re: How to interact with an existing coralUI component?
Avatar
Give Back 3
Level 2
lawrencer388181
Level 2

Likes

4 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Give Back 3
Applaud 5
Give Back
Boost 3
Boost 1
View profile
lawrencer388181
- Adobe Experience Manager
I believe the solution is to simply get the underlying DOM element from the JQuery object. For example, the code below is to interact with a checkbox created within a div with class "rte-dialog-columnContainer";var jqueryCheckbox = $(".rte-dialog-columnContainer coral-checkbox");// then getting the underlying element (assuming there's just one) from the JQuery collection:var coralCheckbox = jqueryCheckbox.get(0);// calling various API methods/attributes:coralCheckbox.checked = true;coralCheckbox...

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.4 with SPA Editor - how to use the experience fragments
Avatar
Give Back 3
Level 2
lawrencer388181
Level 2

Likes

4 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Give Back 3
Applaud 5
Give Back
Boost 3
Boost 1
View profile
lawrencer388181
- Adobe Experience Manager
Following the approach suggested by JaideepBrar​ for 6.5 I've managed to get the contents of experience fragments displaying on a react app. This is based on the AEM react SPA tutorial.First, a model interface for the component that extends the ContainerExporter interface was created. (FYI, the ContainerExporter interface is referenced in some comments within the BaseComponentExporter class created in the tutorial.)package com.adobe.aem.guides.wkndevents.core.models;import com.adobe.cq.export.js...

Views

3.8K

Likes

4

Replies

1