You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using citytechinc cq complonent plugin to create components in AEM using Java classes. When I use following dropdown with hardcoded option, it works fine.
`@ValueMapValue
private String stores;
@DialogField(fieldLabel = "Stores", ranking = 10) @Selection(type = Selection.SELECT, options = {
@Option(text = "Store1", value = "556"),
@Option(text = "Store2 n Barrels", value = "475"),
@Option(text = "Store3 Hive", value = "2547"),
})
public String getStores() {
return stores;
}`
But I use following dropdown to load it dynamically using a servlet. The dropdown remains empty on the AEM dialog.
I am using citytechinc cq complonent plugin to create components in AEM using Java classes. When I use following dropdown with hardcoded option, it works fine.
But I use following dropdown to load it dynamically using a servlet. The dropdown remains empty on the AEM dialog.
Following is my servlet
Any help is appriciated.
The text was updated successfully, but these errors were encountered: