Re: Custom Sling War

2009-03-17 Thread Bertrand Delacretaz
2009/3/16 Juan José Vázquez Delgado juanjo.vazq...@gmail.com: ...it should be nice to have a way to override some component properties when building a custom sling app. Maybe you can make use of Apache Felix File Install [1] (but i´m not sure about this) The sling jcrinstall module [1]

Re: Custom Sling War

2009-03-17 Thread Bertrand Delacretaz
On Tue, Mar 17, 2009 at 7:53 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: ...The sling jcrinstall module [1] is similar in scope, but more integrated with Sling forgot the ref: [1] http://svn.apache.org/repos/asf/incubator/sling/trunk/contrib/extensions/jcrinstall -Bertrand

Re: re-registering node type definitions on bundle deploy

2009-03-17 Thread Alexander Klimetschek
On Tue, Mar 17, 2009 at 12:03 AM, Stefan Seifert sseif...@pro-vision.de wrote: with using manifest headers like Sling-Namespaces: pvplayground=http://www.playground.org/playground/1.0 Sling-Nodetypes: SLING-INF/content/apps/playground/nodetypes/playground.cnd it is possible to automatically

Re: Custom Sling War

2009-03-17 Thread Juan José Vázquez Delgado
...The sling jcrinstall module [1] is similar in scope, but more integrated with Sling Good point Bernard. I forget this option. BR, Juanjo.

Re: Custom Sling War

2009-03-17 Thread Christophe Lombart
Thanks to all. I'm going to test all this stuff. br, Christophe 2009/3/17 Juan José Vázquez Delgado juanjo.vazq...@gmail.com: ...The sling jcrinstall module [1] is similar in scope, but more integrated with Sling Good point Bernard. I forget this option. BR, Juanjo.

Re: Problem with jcr:created property in initial content loading

2009-03-17 Thread Daniel, de la Cuesta Navarrete
El 16 de marzo de 2009 20:17, Juan José Vázquez Delgado juanjo.vazq...@gmail.com escribió: For example, thorugh the browser: http.//localhost:/content/mycontent/jcr:created What do you get when try this?: http.//localhost:/content/mycontent.txt The property isn't there **

Re: Problem with jcr:created property in initial content loading

2009-03-17 Thread Juan José Vázquez Delgado
Hi Daniel, The property isn't there ** Resource dumped by StreamRendererServlet** Resource path:/content/mycontent Resource metadata: {sling.resolutionPathInfo=, sling.resolutionPath=/content/mycontent} ** Resource properties ** title: My content title size: sling:resourceType:

Re: Problem with jcr:created property in initial content loading

2009-03-17 Thread Daniel, de la Cuesta Navarrete
We want to use these reserved properties (jcr:created, jcr:createdBy, etc.) because they are autocompleted by the SlingPostServlet and we are always to create content using the SlingPostServlet. How can initalize the jcr:created with a long in a json? thank you. El 17 de marzo de 2009 12:19,

SlingWebDavServlet serves resource not only below /dav?

2009-03-17 Thread Marc Speck
While testing a custom bundle, I found that the SlingWebDavServlet also handles HTTP POST requests which are not below the root path (default /dav). Is this expected or a bug? To test this behavior, stop o.a.s.server.post bundle and send a POST request. ResourceCollector.getServelts() finds the

[jira] Created: (SLING-890) JcrModifiablePropertyMap remove method doesn't remove

2009-03-17 Thread christian (JIRA)
JcrModifiablePropertyMap remove method doesn't remove - Key: SLING-890 URL: https://issues.apache.org/jira/browse/SLING-890 Project: Sling Issue Type: Bug Components: JCR

[jira] Updated: (SLING-890) JcrModifiablePropertyMap remove method doesn't remove

2009-03-17 Thread christian (JIRA)
[ https://issues.apache.org/jira/browse/SLING-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] christian updated SLING-890: Attachment: SLING-890.patch Patch fixing the issue JcrModifiablePropertyMap remove method doesn't remove

[jira] Assigned: (SLING-890) JcrModifiablePropertyMap remove method doesn't remove

2009-03-17 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-890: -- Assignee: Carsten Ziegeler JcrModifiablePropertyMap remove method doesn't remove

[jira] Closed: (SLING-890) JcrModifiablePropertyMap remove method doesn't remove

2009-03-17 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-890. -- Resolution: Fixed Fix Version/s: JCR Resource 2.0.4 Applied the suggested patch in

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-03-17 Thread Marc Speck
I've just tested the patch and got the following error message: ... javax.jcr.RepositoryException: addEntry: org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry(): org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry() at

Re: re-registering node type definitions on bundle deploy

2009-03-17 Thread Dominik Süß
If re-registering (only) fails when there are conflicts this might by the intended and sufficient behaviour. It would be possible to extend nodetypes by bundle-deployment in a running system or remove unused (/empty) atttributes. Only if there are any conflicts the reregistering should fail with

Register servlet for subtree

2009-03-17 Thread Andreas Hartmann
Hi everyone, I'd like to provide a JSON-based service for a subtree of my repository. My first idea would be to register a servlet like this: @scr.property name=sling.servlet.paths value1=/path/to/my/content/root value2=/path/to/my/content/root/** But I guess

Re: Register servlet for subtree

2009-03-17 Thread Alexander Klimetschek
On Tue, Mar 17, 2009 at 4:24 PM, Andreas Hartmann andr...@apache.org wrote: I'd like to provide a JSON-based service for a subtree of my repository. My first idea would be to register a servlet like this: �...@scr.property name=sling.servlet.paths               value1=/path/to/my/content/root

Re: Register servlet for subtree

2009-03-17 Thread Alexander Klimetschek
On Tue, Mar 17, 2009 at 6:39 PM, Alexander Klimetschek aklim...@day.com wrote: Otherwise you could also simply register a distinct default get servlet for the extension and the selector (resource type is sling/servlet/default). I meant: Otherwise you could also simply register a default get