since ‎28-12-2020
Online
seanblonien
Level 1
AEM SPA React Static Component Initialization
Avatar

seanblonien

seanblonien
- Adobe Experience Manager
Is there a way to statically create a React component mapped to a specific model given a path? I used this "AEM SPA Editor - Deep Dive - Part. 1 React" PDF, and on page 19, it shows an old way to do this, but this was from 2018 and I don't even think the same methods exist anymore (namely withAsyncModel). I am using Typescript which has made it a bit harder to re-create from the old methods as well. Use case: I want to map an AEM SPA Page to a different route (different than its cqPath value) to...

Views

58

Likes

0

Replies

0
Re: Extending ResponsiveGrid with Custom Properties using...
Avatar

seanblonien

seanblonien
- Adobe Experience Manager
That Level Up article using the Lombok delegation annotation looks really neat, unfortunately, even it throws the error about the return type not being found when it compiles it. "Lombok annotation handler class lombok.javac.handlers.HandleDelegate failed on C:\...DtcComponent.java: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.day.cq.wcm.foundation.model.impl.export.AllowedComponentsExporter not found." But yea, simply overriding the getAllowedComponents and marking it a...

Views

97

Likes

0

Replies

0
Extending ResponsiveGrid with Custom Properties using React and AEM SPA Architecture | AEM 6.5.5
Avatar

seanblonien

seanblonien
- Adobe Experience Manager
I have read through the related posts (original post that I'm making this in response to) showing me how to extend the ResponsiveGrid in React.However, I have yet to see any solution that can actually add custom properties to an extended ResponsiveGrid Sling model. This example repo by godanny86 with an extended ResponsiveGrid shows how to make it custom, but it doesn't show how to add properties to the Sling model.There have been other posts this mentioning this solution, such as this post, thi...

Views

114

Likes

0

Replies

2