Questions tagged [sling]

Apache Sling is a web framework that uses Java Content Repository to store and manage content. It also uses OSGi (Apache Felix) for dynamic loading.

Description

Apache Sling is a web framework that uses a Java Content Repository , such as Apache Jackrabbit , to store and manage content.

Sling applications use either scripts or Java servlets, selected based on simple name conventions, to process HTTP requests in a RESTful way.

The embedded Apache Felix OSGi framework and console provide a dynamic runtime environment, where code and content bundles can be loaded, unloaded and reconfigured at runtime.

As the first web framework dedicated to JSR-170 Java Content Repositories, Sling makes it very simple to implement simple applications, while providing an enterprise-level framework for more complex applications.

Links

863 questions
-1
votes
2 answers

How to create new custom Node Type in adobe CQ

I am new to CQ ,How to create new custom Node type in Day(adobe) CQ5.4 like mycmpny:testNode
CQ user
  • 11
  • 1
  • 2
-2
votes
1 answer

NullPointer exception on calling @Postconstruct method in AEM Model

I am trying to use AemContext to adapt the JSON resource file with Model. I used @Postconstruct annotation for initializing the model function. But every time I run the project, I get a null pointer exception on invocking getList() function in the…
Anim
  • 49
  • 6
-2
votes
1 answer

What is the significance of declaring a sling model as (adaptables = Resource.class)

In Sling Model, the model class is annotated as @Model(adaptables = Resource.class) What is the significance of passing the param as adaptables = Resource.class. What if I don't pass any parameter. What all parameter @Model accepts.
-2
votes
1 answer

Adobe Experience Manager 6.1 AEM 6.1 AEM 6.2 customize page content

I want to create a page template might be used in multiple sites. what I am currently doing is like this