I tried both @OSGiService and @Inject to call service in Sling model.
It's Not working in both cases. I am using AEM 6.4 with SP6.4.5i am
getting this error: Caused by:
com.arya.mypackage.core.models.HelloWorldModel cannot be correctly
instantiated by the Use APIat
Thanks Leo.. I was facing exactly same issue. After Creating Model, when
tried to create content fragment, my content model template was not
getting listed.After adding this property: /conf/[project-folder-name]
to /content/dam/[my-project]/jcr:content , templates are appearing now.I
think Leo's solution should be marked as correct solution
Hey Guys, got the solution finally :).i found out that it was because i
didn't include "insert" action in editbar, so because of that i was not
able to place any other component above or below it.@steve cave thanks
for helping sir :).
yes kind of... i needed to build column control using sightly... so i
used OOTB column control written in JSP, since there is no column
control OOTB component in sightly... and replaced JSP code with HTML
Hi all,I have created a sightly column-control by extending the OOTB
column control component which uses editbar for start and end of
component.but now i am not able to drag and drop any other component
above this column control component.I used OOTB column control component
which also uses editbar and tried to place a component above it and i am
able to do that.can any one help on this please?