Expand my Community achievements bar.

Ojjis
Ojjis
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Well you could also do as you did in your first post. This is usually how CQ/AEM solves the problem with some includes that it don't want to be cached. Eg. in the javascript api there are methods for this where it simply adds a timestamp (as a querystring) to links that are supposed to be non-cachab...

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • Hi punith this is absolutely possible.In the dispatcher.any file there is a caching section where you tell the dispatcher what to cache. In the rules section you could add this: /rules { /0000  { /glob "*" /type "allow" } /0001  { /glob "/path/to/noncachablefile*" /type "deny" } }This first allows e...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • Yes. Its further down on the page ->java.lang.Void    runDataStoreGarbageCollection(java.lang.Boolean delete)Runs data store garbage collectionIt's the single argument called delete to the method. It's all in the article i posted above.Here is also a screenshot :)Regards/Johan[img]gb.png[/img]

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • Hi,are you running 5.5 ? From 5.5 onwards there is no options. There is only one parameter "Delete unused item" (boolean).The rest is explained further down on this article:http://helpx.adobe.com/crx/kb/DataStoreGarbageCollection.htmlGood Luck/Johan

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • I would say that it's basically up to the team what they prefer.You can also check out http://masonry.desandro.com/ if you haven't already done so if you are into thethe whole "placing things in an optimal way" (when it comes to the available space in the browser). Of course things can be a bit mess...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • Hi,if you have annotated your servlet like this:@SlingServlet(methods = { "POST" }, paths = "/apps/mycompany/servlets/GenericServlet")the form shoud post to the same same url as in paths, that is "/apps/mycompany/servlets/GenericServlet"so if you would change you "paths" line in the servlet to "/ser...

    Type

    Questions

    Views

    1.1K

    Like

    1

    Replies

    0
  • Ive tried with the following command:curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/my.company.package/my-common-package-1.1.1-SNAPSHOT.zip?cmd=installand that works like a charm.. Whats important is the /my.company.package/ part which you would find for you...

    Type

    Questions

    Views

    1.2K

    Like

    1

    Replies

    0
  • Are you sure you are running the correct command ?From http://dev.day.com/docs/en/crx/current/how_to/package_manager.htmlit looks like this should be used: http://localhost:7402/crx/packmgr/service/console.html/etc/packages/mycontent.zip?cmd=install/Johan

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • Could you use this for the session instead ?Session session = resource.getResourceResolver().adaptTo(Session.class);/Johan

    Type

    Questions

    Views

    2.1K

    Likes

    0

    Replies

    0
  • Hi, have you tried iterating through the child nodes of your monster node and deleting these 100 at a time.After 100 nodes (with 10 child nodes each that becomes 1000) you make sure that you do a session save.I don't think that doing more than 1000 at a time would works very well so with this method...

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0