I have a use-case where for a normal page in AEM having a custom look/feel, we have add button.
Once user clicks on add button, Custom HTML form appears in which he can enter few pieces of information like title and select AEM tags.
I want tags to be displayed and functioning in same way like cq tags does in which we can pick multiple also and rendering similar to it, so that I can use that in custom html form and persist to JCR on ajax post request. Can anyone suggest approach for the same to reuse tags functionality.
The last solution to implement will be to have servlet call to /etc/tags and use jquery multi select plugin to populate in a certain way. Let me know if this can be avoided and cq/aem tags functionality can be incorporated into my use case.
Any relevant response will be helpful
WHen you say -- "I have a use-case where for a normal page in AEM having a custom look/feel" why are you using tags to do this. You should be using Styling as described here: Getting Started with AEM Sites - WKND Tutorial
By the way - if you are interested in AEM and Tags - i recommend that you sign up for the webinar next week on this subject -- Scott's Digital Community: [Webinar | July ] Ask the AEM Community Experts: Adobe Experience Manager...
why are you not using existing tag functionality? I meant create and selecting tags OOTB functionality.
If you want same functionality for anonymous users then you can't do that in OOTB way because of restricted permissions to read and create data on Publishers.
you need to create a custom Utility capturing and displaying details using HTML form and sling servlet with subservience session.