{"id":42,"date":"2014-06-25T12:25:00","date_gmt":"2014-06-25T12:25:00","guid":{"rendered":"https:\/\/scgindia.in\/lhotsetechnologies\/dev\/2014\/06\/25\/combobox-with-dynamically-generated-options-in-cq5-dialog\/"},"modified":"2020-01-17T11:39:40","modified_gmt":"2020-01-17T11:39:40","slug":"combobox-with-dynamically-generated-options-in-cq5-dialog","status":"publish","type":"post","link":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/","title":{"rendered":"Combobox with dynamically generated Options in CQ5 Dialog"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\"><span style=\"color: #274e13;\">This post I&#8217;ll show you <b>how to create combobox with dynamically generated option values in Adobe CQ5 dialog<\/b> i.e. Combobox options will come from a JSON Object created by a servlet.<\/span><br \/>\n<span style=\"color: #274e13;\"><br \/>\n<\/span><b><span style=\"color: #660000;\">Project Structure<\/span><\/b>&nbsp;&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png\"><span style=\"color: #274e13;\"><img decoding=\"async\" src=\"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png\" border=\"0\"><\/span><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">For showing this demo I have created a <b>customDialogDemo<\/b> component under <b>blogs\/content\/ <\/b>directory.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">Then I create dialog with <b>2 tabs<\/b>&#8211;<\/span><\/div>\n<div style=\"text-align: justify;\"><b><span style=\"color: #274e13;\">textTab<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><b><span style=\"color: #274e13;\">NewFields<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><br \/>\n<\/span><i><span style=\"color: #4c1130;\">You don&#8217;t have a need to create two tabs just <b>rename<\/b> your tab with <b>NewFields<\/b> or let it be as it is.<\/span><\/i><br \/>\n<span style=\"color: #274e13;\"><br \/>\n<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">Under <b>NewFields<\/b> Node&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>1. Create<\/b> a <b>cq:widgetCollection<\/b> Node <b>named<\/b> as <b>items<\/b>.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><br \/>\n<b>2. Under<\/b> this <b>items<\/b> node <b>create<\/b> a new node <b>cq<\/b><\/span><b style=\"color: #274e13;\">:widget<\/b><span style=\"color: #274e13;\">&nbsp;&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><b style=\"color: #274e13;\">&nbsp; &nbsp; named<\/b><span style=\"color: #274e13;\"> as <\/span><b style=\"color: #274e13;\">srcLanguage<\/b><span style=\"color: #274e13;\">.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><br \/>\n<\/span><span style=\"color: #274e13;\">set the properties of this node as show in figure.<\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"http:\/\/3.bp.blogspot.com\/-EuCRSHUNWfA\/U6qSxP5KBbI\/AAAAAAAAArY\/RNxHOBfULjs\/s1600\/blogs_2.png\"><img decoding=\"async\" src=\"http:\/\/3.bp.blogspot.com\/-EuCRSHUNWfA\/U6qSxP5KBbI\/AAAAAAAAArY\/RNxHOBfULjs\/s1600\/blogs_2.png\"><\/a><\/div>\n<p><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><br \/>\n<span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\"><br \/>\n<\/span><span style=\"color: #274e13; text-align: justify;\">for creating a combobox use<\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>xtype&nbsp;<\/b>= &#8220;selection&#8221;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>type &nbsp;&nbsp;<\/b>= &#8220;select&#8221;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">all other properties are explained below &#8211;&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>allowBlank<\/b>&nbsp;&#8211; It restrict you from submitting the dialog without selecting any option from this combobox.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>fieldLable<\/b>&nbsp;&#8211; Text that will be shown before the combobox.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>options<\/b> &#8211; This property is used to define the servlet path that returns the JSON those will act the option values for this combobox. In my case it&#8217;s value is&nbsp;<b>\/bin\/target-list.1.html<\/b>. &amp; it returns a JSON as shown below<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<pre style=\"text-align: justify; word-wrap: break-word;\"><span style=\"color: #4c1130;\"><span style=\"white-space: pre-wrap;\"><i>{\"1\":[{\"text\":\"English\",\"value\":\"ENG\"},{\"text\":\"French\",\"value\":\"FRA\"}]}<\/i><\/span><\/span><\/pre>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><b style=\"color: #274e13;\">optionsRoot<\/b><span style=\"color: #274e13;\"> &#8211; This property defines what property of the given JSON <b>act as the source of options<\/b> for this combobox. A<\/span><span style=\"color: #274e13;\">s my JSON object contains an Array corresponding to a key<\/span><b style=\"color: #274e13;\">&nbsp;&#8220;1&#8221;<\/b><span style=\"color: #274e13;\">, So your&nbsp;<\/span><b style=\"color: #274e13;\">optionsRoot<\/b><span style=\"color: #274e13;\">&nbsp;property values will be &#8220;1&#8221;.<\/span><\/div>\n<div style=\"font-family: 'Times New Roman'; white-space: normal;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<pre style=\"text-align: justify; white-space: pre-wrap; word-wrap: break-word;\">&nbsp;<\/pre>\n<div style=\"font-family: 'Times New Roman'; white-space: normal;\"><span style=\"color: #4c1130;\"><b>Note :&nbsp;<\/b><i>&nbsp;You may write your servlet that may return only array in that case, optionsRoot property is not required.<\/i><\/span>&nbsp;<\/p>\n<p><span style=\"color: #4c1130;\"><i>&nbsp;<\/i><\/span><\/p>\n<\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>optionsTextField<\/b> &#8211; This field represent that with key from the JSON object will be treated as a options text values i.e. the text that will be displayed in the combobox.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>optionsValueField<\/b> &#8211; This field represent that which key from the JSON object will be treated as the value of that option i.e. on selecting a value from combobox what will be returned to server.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">Now this array have multiple JSON objects having two keys with corresponding values. these keys are<\/span><\/div>\n<div style=\"text-align: justify;\"><b><span style=\"color: #274e13;\">&#8220;text&#8221; &amp; &#8220;value&#8221;.<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">In my case I want to show <b>&#8220;text&#8221;<\/b> as <b>option <\/b>text value, i.e. it will be visible to author &amp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>&#8220;value&#8221;<\/b> is for returning a value to the server when a user select a text value from combobox.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><i><span style=\"color: #4c1130;\">i.e. if user select &#8220;English&#8221; then &#8220;ENG&#8221; will be returned to the server for further processing.<\/span><\/i><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">for doing this my<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>optionsTextField<\/b>&nbsp;property value will be <b>&#8220;text&#8221;<\/b> &amp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>optionsValueField<\/b>&nbsp;property value will be <b>&#8220;value&#8221;<\/b><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #4c1130;\">Note :<i> <b>optionsTextField<\/b> &amp; <b>optionsValueField<\/b> are <b>required only when your keys names are different from &nbsp;&#8220;text&#8221; &amp; &#8220;value&#8221;<\/b>. if these are &#8220;text&#8221; &amp; &#8220;value&#8221; then no need to declare these properties. It will pick &#8220;text&#8221; key as a optionsTextField and &#8220;value&#8221; as a optionsValueField.<\/i><\/span><\/div>\n<div>\n<div style=\"text-align: justify;\"><span style=\"font-style: italic;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">using above properties your combobox will work successfully.<\/span><\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong>Happy Coding<\/strong><br \/>\n<strong>Namah Shivay<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post I&#8217;ll show you how to create combobox with dynamically generated option values in Adobe CQ5 dialog i.e. Combobox [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,143,33,82],"tags":[],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-aem","category-combobox-with-dynamic-generated-options-in-cq5-dialog","category-cq","category-cq5"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Combobox with dynamically generated Options in CQ5 Dialog - AEM Blog | Lhotse Technologies<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Combobox with dynamically generated Options in CQ5 Dialog - AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"og:description\" content=\"This post I&#8217;ll show you how to create combobox with dynamically generated option values in Adobe CQ5 dialog i.e. Combobox [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/\" \/>\n<meta property=\"og:site_name\" content=\"AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-25T12:25:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-17T11:39:40+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png\" \/>\n<meta name=\"author\" content=\"Team Lhotse\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team Lhotse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/\"},\"author\":{\"name\":\"Team Lhotse\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\"},\"headline\":\"Combobox with dynamically generated Options in CQ5 Dialog\",\"datePublished\":\"2014-06-25T12:25:00+00:00\",\"dateModified\":\"2020-01-17T11:39:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/\"},\"wordCount\":518,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png\",\"articleSection\":[\"AEM\",\"Combobox with dynamic generated Options in CQ5 Dialog\",\"CQ\",\"CQ5\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/\",\"name\":\"Combobox with dynamically generated Options in CQ5 Dialog - AEM Blog | Lhotse Technologies\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png\",\"datePublished\":\"2014-06-25T12:25:00+00:00\",\"dateModified\":\"2020-01-17T11:39:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#primaryimage\",\"url\":\"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png\",\"contentUrl\":\"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lhotsetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Combobox with dynamically generated Options in CQ5 Dialog\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"name\":\"AEM Blog | Lhotse Technologies\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\",\"name\":\"AEM Blog | Lhotse Technologies\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"width\":539,\"height\":172,\"caption\":\"AEM Blog | Lhotse Technologies\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\",\"name\":\"Team Lhotse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Team Lhotse\"},\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Combobox with dynamically generated Options in CQ5 Dialog - AEM Blog | Lhotse Technologies","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/","og_locale":"en_US","og_type":"article","og_title":"Combobox with dynamically generated Options in CQ5 Dialog - AEM Blog | Lhotse Technologies","og_description":"This post I&#8217;ll show you how to create combobox with dynamically generated option values in Adobe CQ5 dialog i.e. Combobox [&hellip;]","og_url":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/","og_site_name":"AEM Blog | Lhotse Technologies","article_published_time":"2014-06-25T12:25:00+00:00","article_modified_time":"2020-01-17T11:39:40+00:00","og_image":[{"url":"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png","type":"","width":"","height":""}],"author":"Team Lhotse","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Team Lhotse","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#article","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/"},"author":{"name":"Team Lhotse","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d"},"headline":"Combobox with dynamically generated Options in CQ5 Dialog","datePublished":"2014-06-25T12:25:00+00:00","dateModified":"2020-01-17T11:39:40+00:00","mainEntityOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/"},"wordCount":518,"commentCount":0,"publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#primaryimage"},"thumbnailUrl":"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png","articleSection":["AEM","Combobox with dynamic generated Options in CQ5 Dialog","CQ","CQ5"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/","url":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/","name":"Combobox with dynamically generated Options in CQ5 Dialog - AEM Blog | Lhotse Technologies","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#primaryimage"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#primaryimage"},"thumbnailUrl":"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png","datePublished":"2014-06-25T12:25:00+00:00","dateModified":"2020-01-17T11:39:40+00:00","breadcrumb":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#primaryimage","url":"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png","contentUrl":"http:\/\/1.bp.blogspot.com\/-Okk4TFOeCdU\/U6qRwRq9ZiI\/AAAAAAAAArQ\/kFnm5RoR8zw\/s1600\/blogs_1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/lhotsetechnologies.com\/blog\/combobox-with-dynamically-generated-options-in-cq5-dialog\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lhotsetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Combobox with dynamically generated Options in CQ5 Dialog"}]},{"@type":"WebSite","@id":"https:\/\/lhotsetechnologies.com\/blog\/#website","url":"https:\/\/lhotsetechnologies.com\/blog\/","name":"AEM Blog | Lhotse Technologies","description":"","publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization","name":"AEM Blog | Lhotse Technologies","url":"https:\/\/lhotsetechnologies.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","width":539,"height":172,"caption":"AEM Blog | Lhotse Technologies"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d","name":"Team Lhotse","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Team Lhotse"},"url":"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/"}]}},"_links":{"self":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":3,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":577,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/42\/revisions\/577"}],"wp:attachment":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}