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
0
votes
1 answer

How to Create Group description[About Field or aboutMe property] in AEM programatically?

I wrote a java program to create a Group inside AEM. It is working fine. But along with Group I also need to create another Group aboutMe property. My code: ResourceResolver resourceResolver =…
Hanin Jazi
  • 1
  • 2
  • 4
0
votes
1 answer

Problems Testing Sling Model with Custom Injectors

I've been doing some work with sling models for a project and in the process created a couple of custom injectors. Everything seems to work great when implemented (used in AEM). However, when I'm testing the custom injectors are not getting…
Brodie
  • 8,399
  • 8
  • 35
  • 55
0
votes
1 answer

sling run modes use?

what is the use of sling run modes property in sling.properties file? I have a osgi felix bundle that installed onto aem admin bundle console through aem cq5 package manager. ** configuration properties of one of the bundle service is not…
Sri
  • 1,205
  • 2
  • 21
  • 52
0
votes
1 answer

How does sling selectors work?

I am working on HTTP caching and to implement cache busting, I am using ACS Versioned ClientLibs. Now this works fine for js file when it is part of clientlib. For example