Populating Touch UI drop down without using datasource | Community
Skip to main content
New Participant
January 30, 2016
Solved

Populating Touch UI drop down without using datasource

  • January 30, 2016
  • 2 replies
  • 2401 views

Hi,

Please let me know if their is any other way of populating Touch UI drop down apart from datasource.

Regards,

Shikha

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 smacdonald2008

Yes you can - see this Select Granite API reference:

https://docs.adobe.com/docs/en/aem/6-0/develop/ref/granite-ui/api/jcr_root/libs/granite/ui/components/foundation/form/select/index.html

See items:

items
The options of this component can be specified by this child resource, or by datasource child resource.

For those reading this and want to know how to use DataSource to populate a drop-down control in a Touch UI dialog - see:

https://helpx.adobe.com/experience-manager/using/creating-granite-datasource.html

2 replies

New Participant
February 2, 2016

Thanks for the reply, but I need little more guidance. I had reviewed that example and looking for a way to get the values from the servlet.

Is their any way by which it can be achieve.

Regards,

Shikha

smacdonald2008
smacdonald2008Accepted solution
New Participant
January 30, 2016

Yes you can - see this Select Granite API reference:

https://docs.adobe.com/docs/en/aem/6-0/develop/ref/granite-ui/api/jcr_root/libs/granite/ui/components/foundation/form/select/index.html

See items:

items
The options of this component can be specified by this child resource, or by datasource child resource.

For those reading this and want to know how to use DataSource to populate a drop-down control in a Touch UI dialog - see:

https://helpx.adobe.com/experience-manager/using/creating-granite-datasource.html