AEM dailog with dynamic dropdown with servlet.

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 ?

Answers (0)