AEM dailog with dynamic dropdown with servlet.

Avatar

Avatar

Sharath_N_B

Avatar

Sharath_N_B

Sharath_N_B

22-11-2019

I am trying to use datasource for select, But wanted to use servlet instaed of JSP. So the datasource from select is pointing to  my servlet.

But this is only working when i use paths instead of resourceTypes.

Below code is not working.

@Component( service = Servlet.class, immediate = true, property = {

    "sling.servlet.resourceTypes=myproject/components/datasource", "sling.servlet.methods=get", } )

How to make it work for resourceTypes ?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

30-11-2019

Answers (0)