Needed it to configure default AEM forms (Not AEM adaptive forms) to display list of Servlets in Action dropdown, as it seems better to have Servlets as bundle instead of GET.jsp or POST.jsp nodes in crx.Any help is highly appreciated.TYA,Sunil
Hi hemanta78169562Would it be possible for you to confirm with a CQ5.6 installation, as I doubt there exists such functionality in CQ5.6 .Please confirm.Thanks.
The property which we can use , in this case may be is : cls[example : /libs/foundation/components/page/tab_basic/items/vanity/items/vanityPath]It allows to add custom class on component container.This class then can be used by css/js (which loads only in author environment ) to hide remove icon.~Th...
I think you have done it right, the only modification we have to do is to load clientlibs path instead of jquery file .So instead of plugin/js/jquery-1.11.3.min.js just use your clintlibs path which is basically based on the category name provided in clientlibrary folder.
Looks like solution to problem suggested is to use listener or dialog event to load clienlibs/js+css.+ Points:- Not dependent on page jsp or siteadmin or site. The js will get loaded before the dialog opens and gets rendered.- Points:-The js events may not bind properly but it basicall...
For tags apearing in new line:-Seems like a css issue.Please inspect the element and check the applied css.For 123 not appearing in html:-Check the value saved in node and how the value gets retrieved in jsp.It should work.Please let it know if any issue and, let us know the solution if you already...
Thanks for your reply.Went through the mentioned article, but still not able to get the use of below code available athttps://sling.apache.org/documentation/bundles/models.html @Inject@Filter("(paths=/bin/something)")private List<Servlet> servlets;
Yes, reason being calling servlet methods do not makes much sense. May be I am missing something here in case of servlet. Injecting any other service seems reasonable though.
Any ideal use-case of injecting servlet in Sling Models ? @Model(adaptables=SlingHttpServletRequest.class)public class MyModel {@Inject@Filter("(paths=/bin/something)")private List<Servlet> servlets;}Ref. :-https://sling.apache.org/documentation/bundles/models.html