The resource attribute of sling:include accepts either a path to a resource or a org.apache.sling.api.resource.Resource object. The com.day.cq.wcm.foundation.Paragraph class implements the org.apache.sling.api.resource.Resource. So in the code about the toString on the Paragraph object isn't being c...
When you say you published the component did you do that using a package? If you want to publish a delete of a JSP file like that you have to do it via a package and not normal replication. If you create a CRX package, put your component in the package, build it, and then publish the package it will...
The only reason I can think of that you would see differences between CRXDE Lite and Content Explorer was if you were logged into them as different users. Are you sure you are logged in as the same user? The only other possibility is some sort error occurring when you browse in CRXDE Lite. Have you ...
Generally if you want to use the CUG functionality without any custom development you will need to be using the Sling authentication mechanism to authenticate users and not integrate directly to LDAP yourself. There shouldn't be any differences between enabling the LDAP authentication handlers in a ...
Without MongoDB and clustering there are a lot of good options to have two author instances which operate in parallel.In 6.0 you can still run CRX2 and you could do the old style clustering. The big down side is that you won't have an upgrade path - in 6.1 CRX2 support is no longer available. You ca...
There are several available APIs/approaches to getting content into the AEM repository. Some of the available documentation is:Sling RESTful API - http://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html - that's generic Sling documentation not AEM s...
My preferred approach for this type of requirement (page specific CSS/JS) is to do the following:Have a location in your application to store these page specific files - so in your example /etc/clientlibs/my-project/my-page-specific-libsThen for each file or set of files create a client library - so...
AEM stores binaries in the data store using an MD5 hash of the file as the file name - the directory structure is not predictable however. The path to the item in the data store is not exposed outside of the persistence manager so there is no realistic way to leverage the data store. What exactly ar...
Ah I misunderstood your use case. There is no way use the DAM and store the binary somewhere else. Realistically you have 3 options in my opinion:Follow AEM standard and store and serve the binary from AEM. Store the binary somewhere else and in the image components that render image on pages you st...