Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Extending Core Form Options Component

Avatar

Level 2

Hi guys,

After successfully replicated this article: Extending Adobe Experience Manager Core Components  Now I have been trying to extend but the Core Form Options component. However I'm getting problems related with its items related class. It also turns out that the core List component has a similar context and it also fails with the same following error:

.. org.apache.sling.scripting.sightly.compiler.util.ObjectModel Cannot access method items ..

It seems like they might require a special way to annotate or something else because doing it just in the way the Title component was done in the article. The code it does build correct, but at runtime is when I get the exception.

Do you guys have perhaps an example on how to work that around?

Please advise :-)

2 Replies

Avatar

Level 1

Hi,

Any updates on this issue we are having the same error in our log, when use data-sly-use for a custom class.

Avatar

Level 2

Well from here still kind of waiting and hoping somebody on Adobe team could have some advices to follow.