Re: Scripts for Basic Versioning

2008-08-12 Thread Tobias Bocanegra
On 8/13/08, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi Outta, > > Outta Sight schrieb: > > > I'm looking for an example of how to perform versioned POSTs (POST.esp) > and also how to access a list of these versions (versions.esp) for any node. > It seems that this sort of capability must be

[jira] Closed: (SLING-609) Add PersistableValueMap

2008-08-12 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-609. -- Resolution: Fixed Added in rev 685455 > Add PersistableValueMap > --- > >

Re: Create New UserID?

2008-08-12 Thread Felix Meschberger
Hi Outta, Outta Sight schrieb: I looked at Day's notes application and I understand a bit more about how to do versioning when posting. http://dev.day.com/microsling/content/blogs/main/anothersampleapp.html http://dev.day.com/microsling/content/blogs/main/anothersampleapp/notes.zip In my new

[jira] Created: (SLING-609) Add PersistableValueMap

2008-08-12 Thread Carsten Ziegeler (JIRA)
Add PersistableValueMap --- Key: SLING-609 URL: https://issues.apache.org/jira/browse/SLING-609 Project: Sling Issue Type: Improvement Components: API, JCR Resource Affects Versions: JCR Resource 2.0.2, API

Re: Scripts for Basic Versioning

2008-08-12 Thread Felix Meschberger
Hi Outta, Outta Sight schrieb: I'm looking for an example of how to perform versioned POSTs (POST.esp) and also how to access a list of these versions (versions.esp) for any node. It seems that this sort of capability must be scripted using Sling scripts. Does anybody have examples using Java

[jira] Commented: (SLING-608) Provide Authentication Control

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622108#action_12622108 ] Felix Meschberger commented on SLING-608: - @Marvin: You are right. We don't have mu

[jira] Commented: (SLING-591) NoSuchMethodError exception in javax.script.Bindings when running on Java 5

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622102#action_12622102 ] Felix Meschberger commented on SLING-591: - > I would like to see this handled more g

[jira] Commented: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622101#action_12622101 ] Felix Meschberger commented on SLING-607: - Thanks for the feedback. > org.apache.lo

[jira] Commented: (SLING-608) Provide Authentication Control

2008-08-12 Thread Rory Douglas (JIRA)
[ https://issues.apache.org/jira/browse/SLING-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622098#action_12622098 ] Rory Douglas commented on SLING-608: One way of improving the authentication aspect is t

[jira] Created: (SLING-608) Provide Authentication Control

2008-08-12 Thread Marvin Phelps (JIRA)
Provide Authentication Control -- Key: SLING-608 URL: https://issues.apache.org/jira/browse/SLING-608 Project: Sling Issue Type: Improvement Components: Documentation, JCR, Launchpad Affects Versions

Create New UserID?

2008-08-12 Thread Outta Sight
I looked at Day's notes application and I understand a bit more about how to do versioning when posting. http://dev.day.com/microsling/content/blogs/main/anothersampleapp.html http://dev.day.com/microsling/content/blogs/main/anothersampleapp/notes.zip In my new POST script, I am also setting a p

Using java annotations for servlet resolution mapping

2008-08-12 Thread Tobias Bocanegra
hi, currently sling uses @scr javadoc comments to specify the bindings from the request infos to servlets. for example: /** * @scr.service * @scr.property name="sling.servlet.resourceTypes" values="bin/test" * @scr.property name="sling.servlet.extensions" values="txt, html" */ public class Tes

Scripts for Basic Versioning

2008-08-12 Thread Outta Sight
I'm looking for an example of how to perform versioned POSTs (POST.esp) and also how to access a list of these versions (versions.esp) for any node. It seems that this sort of capability must be scripted using Sling scripts. Does anybody have examples using Javascript? Because Sling is built on

[jira] Commented: (SLING-591) NoSuchMethodError exception in javax.script.Bindings when running on Java 5

2008-08-12 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621855#action_12621855 ] Oliver Lietz commented on SLING-591: I would like to see this handled more gracefully. a

[jira] Closed: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz closed SLING-607. -- Resolution: Won't Fix removing logging classes from causing bundle helped > org.apache.log4j.CategoryKe

[jira] Commented: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621807#action_12621807 ] Oliver Lietz commented on SLING-607: Yes, I can confirm - same exception. I'm rebuilding

[jira] Commented: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621799#action_12621799 ] Felix Meschberger commented on SLING-607: - Hmm, I don't think our logging bundle is

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:43, Felix Meschberger wrote: Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes Fs

[jira] Created: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Oliver Lietz (JIRA)
org.apache.log4j.CategoryKey is missing --- Key: SLING-607 URL: https://issues.apache.org/jira/browse/SLING-607 Project: Sling Issue Type: Bug Components: Commons Log Affects Versions: Common

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 21:43, Felix Meschberger wrote: Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes FsResourceProvider to activat

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes FsResourceProvider to activate. If you are using the old (I think this is default)

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes FsResourceProvider to activate. If you are using the old (I think this is default) 1.0 release of the Felix

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: Macintosh-3:fsresource torgeir$ cat ~/java/apache-tomcat-6.0.14/sling/config/org/apache/sling/fsprovider/FsResourceProvider.config service.pid="org.apache.sling.fsprovider.FsResourceProvider" provider.roots="/test" provider.file="." Ah ! That is the point. The FsR

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 20:30, Felix Meschberger wrote: Torgeir Veimo schrieb: Starting with a fresh org.apache.sling.launchpad.webapp-4-incubator- SNAPSHOT.war (from trunk) deployed as sling.war into a tomcat instance. Also deploying FsResourceProvider bundle using mangement console. ok, fre

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi Torgeir, Torgeir Veimo schrieb: Starting with a fresh org.apache.sling.launchpad.webapp-4-incubator-SNAPSHOT.war (from trunk) deployed as sling.war into a tomcat instance. Also deploying FsResourceProvider bundle using mangement console. ok, freshly built FsResourceProvider from svn-up-ed

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 19:43, Felix Meschberger wrote: Ok, I found it and tried configuring with eg. provider.roots = test and provider.file = . I still cannot seem to trigger that this one is being used when trying to access localhost/sling/test/. Any ideas? Could it be that the provider.root

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi Torgeir, Torgeir Veimo schrieb: On 12 Aug 2008, at 16:00, Felix Meschberger wrote: Nothing needs to be changed to the sling.properties file. Just create a configuration object with the "Provider Root" set to the location where you want to hook (mount) the filesystem provider in the resour

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 16:00, Felix Meschberger wrote: Nothing needs to be changed to the sling.properties file. Just create a configuration object with the "Provider Root" set to the location where you want to hook (mount) the filesystem provider in the resource tree and set the "Filesystem R