Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Apache Sling Recent threads

Threads Replies First post Last post
Uploading binary data via json
By: Günther Schmidt
Hi everyone, I'm using sling to store, and index, my emails. Once I figured out how to do that via the JSON import it became a lot easier to even upload quite complex structures. No moving on to the attachments, I'd like to store those too…
7 May 24 2012
15:14
May 25 2012
07:02
Sling JSON import date formats
By: Günther Schmidt
Hi, I'm using JSON to import more complex data structures into sling. I can't seem to manage to import dates as "Date", they always arrive as strings. I did use "EEE MMM dd yyyy HH:mm:ss 'GMT'Z" as the format. I also tried adding a typehint but…
3 May 23 2012
11:21
May 23 2012
12:45
Talking to the JCR from a bundle
By: Marius Giepz
Hi! I have a bundle with some legacy code that uses apache VFS to access resources. That means i need to implement a FileProvider that can access the sling repository. What is the standard way of doing this? Using webdav from an internal bundle…
1 May 22 2012
09:46
May 23 2012
07:49
Run Sling Examples
By: Bhathiya Jayasekara
Hi all, I'm new to sling and trying to run samples given in sling source code at org.apache.sling.sample. But I'm unable to run any sample code. Can someone please guide me to run one of them? (* org.apache.sling.samples.custom-login-form* and *…
0 May 22 2012
11:27
May 22 2012
11:27
Re: JAX-RS/SLING-RS Sample with Sling/Karaf
By: Marius.giepz
On Tue, May 22, 2012 at 12:40 AM, Marius Giepz <marius.### @t-online.de> [1]wrote: Thanks for your suggestions, Reto! Am 16.05.2012 16:15, schrieb Reto Bachmann-Gmür: As far as I know the mechanism by which the servlet filter is…
2 May 22 2012
03:13
May 22 2012
08:13
ESP-scripting support for IDE
By: Rico Bärisch
Hey, I am a newbie in Sling development :) I decided to develop my scripts in ESP(ECMAScript Pages)...and my favorite IDE is Eclipse. Because Eclipse don't know anything about *.esp-files by default I can't use features like code completion or…
2 May 21 2012
12:46
May 22 2012
04:39
JAX-RS/SLING-RS Sample with Sling/Karaf
By: Marius.giepz
Hi! I am trying to bring some legacy jax-rs classes into my sling installation. I deployed org.apache.sling.extensions.jaxrs into Sling and everything seems to be working nicely. When Sling is running in Karaf only the sling-rs resources are…
3 May 11 2012
09:07
May 22 2012
03:03
jspc and java.lang.NoClassDefFoundError: org/apache/sling/commons/classloader/DynamicClassLoader
By: sam ”
Hey, I am using maven-jspc-plugin 2.0.7-SNAPSHOT to compile jsp files. I get the following error. $ mvn clean compile [INFO] [clean:clean {execution: default-clean}] [INFO] [enforcer:enforce {execution: enforce-java}] [INFO] [resources:resources…
11 May 16 2012
10:14
May 21 2012
07:00
JAX-RS in Sling/Karaf and Servlet Filter Registration
By: Marius Giepz
Hi everybody, as posted recently, I am having issues integrating Jax-Rs in Sling. I narrowed down the problem further and have to admit that I have difficulties to understand how the registration of Servlet Filters works in Sling. In all…
1 May 14 2012
15:24
May 16 2012
09:06
runmode configuration & priorities
By: Jon Barber
Hi, We're using CQ 5.4 which in turn is using Sling & the org.apache.sling.installer.provider.jcr bundle version 3.0.4, and I'm seeing some behaviour which may be a bug, but may be a misunderstanding on my part. I've been experimenting with…
2 May 15 2012
04:35
May 15 2012
06:17
Sling on JBoss 7.1 - Servlet Resolution
By: Dascalita Dragos
Hi, Thanks to a patch on Apache Felix, committed by Felix Meschberger a few days ago( with the patch from David Jencks ) I was able to build Apache Sling launchpad with org.apache.felix.framework version 4.1.0-SNAPSHOTinstead of 3.0.8. With than,…
6 May 7 2012
12:54
May 15 2012
05:31
currentResource in OSGi
By: Davide
Hi All, probably a stupid and easy question. Normally to retrieve the currentResource in OSGi bundles I pass in the SlingHttpServletRequest. Is there a way to have it using the @Reference? Maybe with the ResourceResolver? Thank you Regards…
8 May 14 2012
05:49
May 14 2012
11:49
Smalltalk influences (was: Trying to post via HttpClient)
By: Bertrand Delacretaz
Hi, On Wed, May 9, 2012 at 1:19 AM, Günther Schmidt <gue.s### @web.de> wrote: > ...From your reply I gather you're involved in Sling > development?... Yes, I'm a Sling committer - see the list at…
0 May 14 2012
09:14
May 14 2012
09:14
Swing based JCR Explorer
By: Günther Schmidt
Hi everyone, I'm planning quite an ambitious project, a swing desktop app (based on Netbeans Platform) which is supposed to offer Groupware functionality & DMS. In particular the app will eventually include * an email client * a task…
4 May 12 2012
23:29
May 14 2012
03:49
Trying to post via HttpClient
By: Günther Schmidt
Hello, I'm trying to create a directory using Apaches HTTP components HTTPClient. I've tried for a couple of days now to figure out how authentication is meant to be used but keep getting Access Denied Errors. Here's my code: package…
5 May 8 2012
13:50
May 12 2012
23:25
mix:versionable on an nt:file node
By: Günther Schmidt
Hello, I've just managed to upload a local directory to Apache Sling via an HttpClient I wrote in Java. For those who wonder why I haven't simply used WebDav for this: I'm using a Mac and every time you copy/move files from local filesystem to…
3 May 10 2012
10:59
May 11 2012
05:44
RE: Building sling trunk
By: Sarwar Bhuiyan
I'm trying to build the latest trunk of sling. I've got java 1.6 and maven 3 installed, no settings file in .m2/ folder. I keep getting this error before the build fails:
1 May 8 2012
15:55
May 10 2012
16:27
JCR Standard Schemes
By: Günther Schmidt
Hi, does anybody know if there are standard JCR Schemes for let's say calendar entries, contacts, emails, whatnot? Like standard schemes for LDAP. I suppose it wouldn't be too difficult to roll your own, but possible there is a scheme repository…
2 May 10 2012
10:59
May 10 2012
13:06
Stanbol (Sling) do not start using OpenJDK7
By: Andreas Kuckartz
I tried to run the trunc version of Stanbol (using Sling) on OpenJDK7 and got the error below. There are no such problems when using a proprietary JDK6. It is not urgent. I would just like to know that OpenJDK7 can be used. Is that a known…
4 May 9 2012
23:57
May 10 2012
09:05
JCRBrowser for Sling
By: Sandro Boehme
Hello, to examine the content in a Sling resource tree I created a preview version of the JCRBrowser for Sling. It currently provides the following features: o It is easily installable with an OBR. o Navigation by keyboard (arrow keys and space…
2 May 9 2012
14:39
May 10 2012
02:08