Comments for AEM CQ5 Tutorials http://www.aemcq5tutorials.com Mon, 14 Oct 2019 06:24:15 +0000 hourly 1 https://wordpress.org/?v=5.2.3 Comment on Create TouchUI Multifield Component using HTL by Ankur Ahlawat http://www.aemcq5tutorials.com/tutorials/touchui-multifield-component-using-htl/#comment-143175 Mon, 14 Oct 2019 06:24:15 +0000 http://www.aemcq5tutorials.com/?p=2829#comment-143175 It is written for AEM 6.3, need to check its compatibility with 6.5. I will try to update the post with AEM 6.5 code as well.

]]>
Comment on Use Sling Model with Sightly in AEM by Ankur Ahlawat http://www.aemcq5tutorials.com/tutorials/adobe-aem-cq5-tutorials/sling-model-sightly-aem/#comment-143174 Mon, 14 Oct 2019 06:21:08 +0000 http://www.aemcq5tutorials.com/?p=2168#comment-143174 Option 2 is correct – It check that the The model class is used in the script “helloworld.html” like
since it is used in this script so the model will be mapped to this component containing this script.

]]>
Comment on Create TouchUI Multifield Component using HTL by Debajyoti Bandopadhyay http://www.aemcq5tutorials.com/tutorials/touchui-multifield-component-using-htl/#comment-141302 Thu, 10 Oct 2019 07:22:40 +0000 http://www.aemcq5tutorials.com/?p=2829#comment-141302 Hi Ankur ,

This thing is not working in 6.5 instance with acs-commons version 4.1.0.Is there any thing else needs to be done.

]]>
Comment on Use Sling Model with Sightly in AEM by Narayan Ji http://www.aemcq5tutorials.com/tutorials/adobe-aem-cq5-tutorials/sling-model-sightly-aem/#comment-140969 Wed, 09 Oct 2019 05:44:26 +0000 http://www.aemcq5tutorials.com/?p=2168#comment-140969 Thanks for your quick response.

Like in code we do
@Model(adaptable=Resource.class)
public class HelloWorldModel{
……….
}

So i think it tells that we need to map this model to some kind of Resource. But how does it identifies that it has to be mapped to “helloworld” component node?

1) Does it identify with the name of class like class name is HelloWorldModel so it removes model and maps it to only “helloworld” component?

or
2) does it check that the The model class is used in the script “helloworld.html” like

since it is used in this script so the model,it will be mapped to this component containing this script?

Or
Is there any other mechanism by means of which it identifies resource. I want to understand the internal mechanism?

]]>
Comment on Use Sling Model with Sightly in AEM by Ankur Ahlawat http://www.aemcq5tutorials.com/tutorials/adobe-aem-cq5-tutorials/sling-model-sightly-aem/#comment-140949 Wed, 09 Oct 2019 03:34:16 +0000 http://www.aemcq5tutorials.com/?p=2168#comment-140949 This is a bit old article , it is using SCR annotations now we have moved to R6 annotations will update post o that soon. But just to answer your question how it is mapped, if you focus on line value = {“Resource” }), Here we tell model to which resource it has to bind. Hope it clears your doubt

]]>
Comment on Use Sling Model with Sightly in AEM by Narayan Ji http://www.aemcq5tutorials.com/tutorials/adobe-aem-cq5-tutorials/sling-model-sightly-aem/#comment-140139 Sat, 05 Oct 2019 13:40:51 +0000 http://www.aemcq5tutorials.com/?p=2168#comment-140139 How model is automatically synced with the resource? For example we created HelloWorldModel class, then it is mapped to corresponding resource i.e to ‘hellworld’ component. So how does this model map to only this component and it’s properties are injected? Why is this model not mapped to any other component(Resource)?

May be I missed something about models that’s why not getting this. Kindly guide me.

]]>
Comment on Explore Expression Customizer in AEM by Piyush Khanna http://www.aemcq5tutorials.com/tutorials/expression-customizer-aem/#comment-131439 Thu, 05 Sep 2019 09:54:26 +0000 http://www.aemcq5tutorials.com/?p=34301#comment-131439 2nd screenshot needs to be from component’s dialog where we have used cqDesgin object, instead of again policies node.

]]>
Comment on Sling Servlet in AEM by Ritu http://www.aemcq5tutorials.com/tutorials/sling-servlet-in-aem/#comment-130997 Tue, 03 Sep 2019 13:03:58 +0000 http://www.aemcq5tutorials.com/?p=2687#comment-130997 @Satish – is POST call to sling servlet with resource type resolved? I am also facing the same issue. Already check:
1. Passing method is “POST”
2. extended SlingAllMethodsServlet

@Ankur – Can you please help here?

AEM version is 6.2

]]>
Comment on AEM: Create Custom Component in CQ5 with Custom Dialog by Sandhya http://www.aemcq5tutorials.com/tutorials/aem-create-custom-component-in-cq5/#comment-129405 Tue, 27 Aug 2019 04:45:43 +0000 http://www.aemcq5tutorials.com/?p=562#comment-129405 Hi Ankur,

Can you please send me the docs.

Email – sandhyareddy1794@gmail.com

]]>
Comment on Sling Servlet in AEM by Ankur Ahlawat http://www.aemcq5tutorials.com/tutorials/sling-servlet-in-aem/#comment-125891 Sat, 10 Aug 2019 04:26:39 +0000 http://www.aemcq5tutorials.com/?p=2687#comment-125891 2 things for post check that you are passing methods = “POST” and instead of SlingSafeMethodsServlet you are extending SlingAllMethodsServlet

]]>