Hi,first of all, you should not run a profiler on a production environment if you don't have problems that only occure in production. However, you should use a JMX Monitor to log memory usage and such and if you find yourself in trouble that you can't solve in another environment, then push the prof...
It depends...If you just need to pass a selection, like "show med the cities in the country I selected" - use request parameter or Sling Suffix. This is always the default choice imho.If it is some sort of wizard, like a registration, then use the session or a cookie. That is if you need to be able ...
I think you are looking at the problem from a slightly wrong angle.Your angle is: I need to have ONE service that can do A or B depending on the time.My angle would be: I need a service that can create a task that runs depending on the date-time-pattern.This means that I would create a service facto...
This is a common misunderstanding that you are updating the same node on the publisher.What is actually happening is that you are creating a new version of the node when you activate it and on the publisher, you then insert the new node instead of the old one. If you look at the jcr:content of your ...
In the bundle that holds the class com.book.rental.modal.Book, make sure that it is exported in the OSGi-manifest. Otherwise, there is no bundle that will present this class to the system./Ove
This is the CORS-problem (Cross-Origin Resource Sharing)Basically, there are two ways of doing this.1. Have the external domain use a JSONP and implement that interface. (See http://stackoverflow.com/questions/13893361/access-control-allow-origin-localhost).2. You can manipulate on the Access-Contro...
dcollie wrote... You need to either "scope" your own jQuery UI CSS, or scope the CQ version. If you choose to scope the CQ version, you need to change "\etc\clientlibs\granite\jquery-ui\css\jquery-ui.css" file. Add the scope of ".cq5jqui" to all the classes. If you continue to have problems, please...
That is exactly what the Sling Post Servlet can do.Attached is a small package I've done for test and education purposes (change the ext to zip). It adds a node /content/geometrixx-media/en/propertytest and 8 subpages that all has the tag Music but only half of the pages has the "wrongly set" Movies...
What you need to do is sending the following information in the request to the metadata to remove is, here removing the tag year/2011:./cq:tags -year/2011 ./cq:tags@Patch true ./cq:tags@TypeHint String[]The magic is in the @TypeHint String[] that tells the SlingPost servlet that...