Re: Ordering nodes after initial import

2016-02-23 Thread Guillaume Lucazeau
Thank Marius, I didn't know this interface and it works well (event though my bundle seems to start twice by itself but the second time it works so it's ok). Regarding the changes not save, I used ResourceResolver.commit instead of Session.save() and it works. Thank you! Best regards, Guillaume

Re: Ordering nodes after initial import

2016-02-23 Thread Marius Petria
On 2/23/16, 12:51 PM, "Guillaume Lucazeau" wrote: >The second issue is that my service needs access to an administrative >session for this ordering. I mapped it to the admin user with >ServiceUserMapperImpl.amended in sling:OsgiConfig nodes, however this >configuration

Ordering nodes after initial import

2016-02-23 Thread Guillaume Lucazeau
Hello, I'm loading content through a JSON file. I would like then to sort nodes (mostly page nodes under document nodes) with the JCR API. I'm calling my service in my bundle's activator, but i'm facing two issues. The first one is that no changes seems to be applied to the content tree. While

adaptTo() 2016 conference

2016-02-23 Thread Stefan Seifert
Hi everyone, with the good memories of last year's adaptTo() still in mind, we are beginning to set our focus on this year's convention. adaptTo() is a conference focused on Apache Sling, including Apache Felix and Apache Jackrabbit. If you are not familiar with our event yet, you might find