AEM dailog with dynamic dropdown with servlet. | Community
Skip to main content
Sharath_N_B
November 22, 2019
Solved

AEM dailog with dynamic dropdown with servlet.

  • November 22, 2019
  • 1 reply
  • 1258 views

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 ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Please check

AEM - Touch UI dropdown from JSON file/Servlet

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
November 30, 2019