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
BedrockMission!

Learn More

View all

Sign in to view all badges

Extending Core Form Options Component

Avatar

Avatar
Validate 1
Level 1
azaquan
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
azaquan
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
azaquan
Level 1

06-08-2018

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 🙂

Replies

Avatar

Avatar
Give Back
Level 1
atuls35897406
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
atuls35897406
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
atuls35897406
Level 1

23-08-2018

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

Avatar
Validate 1
Level 1
azaquan
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
azaquan
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
azaquan
Level 1

23-08-2018

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