I must be doing something wrong, but I'm having trouble figuring it out ......I'm trying to get a connection to a db connection pool but I get a Null Pointer Exception on the DataSourcePool. Here is the code:@Component@Service(value = DatabaseConnectionImpl.class)public class DatabaseConnectionImpl...
Thank you so much BSLOKI for your help.The support on this forum never ceases to amaze me. Once again, you have and others have gone above and beyond my expectations.Thanks again!!!!-Dean Anderson
I'm trying to run the following on both our author and publish servers.~package ewcm.global.core;import java.io.IOException;import javax.jcr.NodeIterator;import javax.jcr.Session;import javax.servlet.ServletException;import org.apache.felix.scr.annotations.sling.SlingServlet;import org.apache.sling....
Justin,I've added code to the Transformer, but I'm still not able to see the comments in the transformer.<!-- add="ASSOCIATE_1" <div class="image parbase section"> <img src="/content/business/test-pages/components/abc/image.img.png" alt="image" class="img-responsive"/> </div>-->Any suggestions o...
Justin,I'm open to trying anything ...When I print out the attributes in the startElement method, I never see the comments. Is it just ignoring them?The contents of the comments are extremely regular ... I'd like to be able to use regex.I've reviewed the slides but I'm still not sure how I can chang...
We have something like this:...<!-- add="ASSOCIATE_1" <div class="image parbase section"> <img src="/content/business/test-pages/components/abc/image.img.png" alt="image" class="img-responsive"/> </div>-->...So we comment out the html for certain associates. They can then uncomment and use accordi...
We've implemented a TransformerFactory in our project to help re-write some links from "/content/project_name" to just "/project_name".The only downfall is that this Factory IGNORES any comments. For a number of reasons, we need to have the COMMENTS updated as well.Is anyone aware of a way to updat...
I'm seeing some odd behavior and I'm not sure where to find the default functionality or how to override it.If I go to View Properties for a page and then click edit it shows me the attached image viewproperties.pngWhen I click on the Generate Preview button it shows me the attached image generatepr...
Every time I load a package, even a small package (just 4 content pages), I get a message that says "Starting System Components" and it continues to spin for about 10 minutes.Has anyone experienced this issue?Thank you in advance.-Dean
Thank you Lokesh.That worked for when I actually open the dialog and see that the checkbox is enabled.If someone creates a page, but does NOT edit page properties, is there a way to have it default to "checked"?Thanks,-Dean