Told you, we love sharing!
adaptTo() is the premier event for AEM enthusiasts in Berlin. The conference features some exclusive technical sessions about the latest industry innovations and developments on AEM. This three day meetup will commence on September 22 this year. I will be taking a session on "Integrating ElasticSearch with AEM". The session will...
Being a CQ5 developer, I have to register components and services almost everyday. Knowing how powerful Groovy is, I wanted to replace all Java code with Groovy. First step towards it was being able to compile Groovy. I got it to work with the help of this blog. Although I was facing following problem even after this: - I was not...
Almost all the time, we have fields of a component's dialog fixed and any change in it requires change in code. I had a use case in which all the fields had to be populated dynamically from a node that had information in its child nodes. Some challenges that I faced was: - The component was used in lot of places and any change...
In almost all the applications that we work on, we have to transform elements of a collection in one way or the other. We can do it in different ways. Let there be a domain "Employee" with following attributes: [java] class Employee{ String firstName String lastName Double salary } [/java] And we have 5 Employees: [java] ...
Every now and then we have to bootstrap data in our application. It takes lot of time thinking what name to give, what description to add and other stuff. To overcome this, we can use faker plugin which can generate random tokens as per your need. To use this, add following in BuildConfig.groovy [java] compile...
Some of the commonly faced problems are: 1) In case we give different width combinations for cells of different rows, the width combination of first row is accepted and subsequent combinations are neglected. [html] <tr> <td...