{"action":"closed","issue":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/696","repository_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons","labels_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/696/labels{/name}","comments_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/696/comments","events_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/696/events","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/696","id":149634408,"number":696,"title":"Query Autocomplete List","user":{"login":"kaushalmall","id":4323558,"avatar_url":"https://avatars.githubusercontent.com/u/4323558?v=3","gravatar_id":"","url":"https://api.github.com/users/kaushalmall","html_url":"https://github.com/kaushalmall","followers_url":"https://api.github.com/users/kaushalmall/followers","following_url":"https://api.github.com/users/kaushalmall/following{/other_user}","gists_url":"https://api.github.com/users/kaushalmall/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushalmall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushalmall/subscriptions","organizations_url":"https://api.github.com/users/kaushalmall/orgs","repos_url":"https://api.github.com/users/kaushalmall/repos","events_url":"https://api.github.com/users/kaushalmall/events{/privacy}","received_events_url":"https://api.github.com/users/kaushalmall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-20T02:11:55Z","updated_at":"2016-06-01T13:07:05Z","closed_at":"2016-06-01T13:07:05Z","body":"For a project we had to build an autocomplete list generator that would run based on a query. A simple example of the node structure would look something like \r\n\r\n```\r\n<filter\r\n         jcr:primaryType=\"nt:unstructured\"\r\n\tsling:resourceType=\"granite/ui/components/foundation/form/autocomplete\"\r\n\tfieldLabel=\"Select Old Part *\"\r\n\tname=\"./filterOld\">\r\n\t<options\r\n\t\tjcr:primaryType=\"nt:unstructured\"\r\n\t\tsling:resourceType=\"granite/ui/components/foundation/form/autocomplete/list\"\r\n\t\tpredicates=\"[type=nt:unstructured,1_property=sling:resourceType,1_property.value=my-app/components/content/part]\"\r\n\t\tproperty=\"jcr:title\"\r\n\t\tsrc=\"/apps/my-app/gui/content/common/filterautocomplete.html{?query,start,end}\"/>\r\n</filter>\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4323558/14661580/91bd267a-0663-11e6-83ce-57cda6b36b43.png)\r\n\r\n@davidjgonzalez @justinedelson. Is this something worth contributing? Basically the idea is that, you provide a list of predicates and the query result set becomes your autocomplete list. "}}
{"actor":{"display_login":"davidjgonzalez"}}