Vikash_kumar_18
Community profile Vikash_kumar_18 Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 26-05-2021 1:57:46 PM
Offline
Top badges earned by Vikash_kumar_18
Customize the badges you want to showcase on your profile
Re: How to adapt OOTB ContentFragmentList sling model in...
Avatar
Boost 1
Level 1
Vikash_kumar_18
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Vikash_kumar_18
- Adobe Experience Manager
Hi @Vijayalakshmi_S I am still getting the same error. Please find the details below - AEM version - 6.5.7 ( Even I tried with 6.5.0)Core Component version - 2.12.0Custom component structure I even tried with adapters = {SlingTestModel.class} but no luck.

Views

95

Like

1

Replies

0
How to adapt OOTB ContentFragmentList sling model in another sling model
Avatar
Boost 1
Level 1
Vikash_kumar_18
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Vikash_kumar_18
- Adobe Experience Manager
Hi,I am trying to adapt OOTB ContentFragmentList sling model.I am extending OOTB ContentFragmentList.At Line 28, While evaluating the right side, I am getting the expected result as a List of content fragments. But it's throwing below exception while assigning the value to the right side.Caused by: java.lang.ClassCastException: com.adobe.cq.wcm.core.components.internal.models.v1.contentfragment.ContentFragmentListImpl cannot be cast to com.adobe.cq.wcm.core.components.models.contentfragment.Cont...

Views

151

Likes

0

Replies

3
Re: AEM 6.4 - Editable templates - Multiple parsys inside...
Avatar
Boost 1
Level 1
Vikash_kumar_18
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
Vikash_kumar_18
- Adobe Experience Manager
I created a component specific policy and manually added components [] property and added the required component group also.There are three parsys in my components and the only above added components are allowed in those parsys. How I will add another component or group without crx/de or code change because the Allowed Component policy is available only on the template level?

Views

100

Likes

0

Replies

0
Likes from