Best approach to manage drop-down values | Community
Skip to main content
October 16, 2015
Solved

Best approach to manage drop-down values

  • October 16, 2015
  • 2 replies
  • 886 views

Hi All,

 

I am quite new to CQ world. I was trying to understand what's the best way to manage drop-down values for a dialog box.

Should it be managed via OSGI configuration or through data node properties.

 

Thanks,

A.S. 

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 JustinEd3

Hi Anjani,

You might want to take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists.html, which is a way to allow drop-down lists to be easily authorable content.

Regards,

Justin

2 replies

JustinEd3Accepted solution
Employee
October 16, 2015

Hi Anjani,

You might want to take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/generic-lists.html, which is a way to allow drop-down lists to be easily authorable content.

Regards,

Justin

smacdonald2008
New Participant
October 16, 2015

Typically a drop-down control is managed by the component's JavaScript. You can populate a drop-down control by using a JavaScript method. See this community article to learn how to create an AEM component with a drop-down and populate it using JavaScript:

http://helpx.adobe.com/experience-manager/using/creating-custom-xtype.html

You can dynamically update a drop-down list by calling an OSGi bundle operation. But in this use case - the OSGi bundle operation returns a data set that is displayed in a drop-down control - it does not manage it.