AEM dailog with dynamic dropdown with servlet.

Avatar

Avatar
Validate 1
Level 1
Sharath_N_B
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Sharath_N_B
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

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

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
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,328 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,328 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

30-11-2019

Answers (0)