Re: Script Context custom Bindings for engines

2009-06-26 Thread Felix Meschberger
Hi, Juan José Vázquez Delgado schrieb: > Hi, > >> i want to inject custom objects to our scripts and did not find a solution >> to perform the task. > > If you´re custom class belongs to an exported package from some > bundle, just make: > > (some_script.esp) > > var myCustomObject = new some.

Re: Revisiting the resource super type handling

2009-06-26 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Felix Meschberger wrote: >> I agree, that the behaviour of the Resource.getResourceType() >> implementation for the bundle resource and filesystem resource >> implementations is inconsistent. >> >> The filesystem provider returns

Re: Revisiting the resource super type handling

2009-06-26 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Hi, > > while changing the script resolution in the last days a little bit to > make it cacheable, I stumbled across the handling of the resource super > type. > The jcr resource implementation checks if the node has the > sling:resourceSuperType property and retur

Re: Revisiting the resource super type handling

2009-06-26 Thread Felix Meschberger
Hi, Tobias Bocanegra schrieb: > On Fri, Jun 26, 2009 at 10:30 AM, Carsten Ziegeler > wrote: >> Hi, >> >> while changing the script resolution in the last days a little bit to >> make it cacheable, I stumbled across the handling of the resource super >> type. >> The jcr resource implementation che

Re: [Fwd: git://git.apache.org/sling.git]

2009-06-26 Thread Felix Meschberger
Hi, Ok, will do that. Thanks. Regards Felix Tony Stevenson schrieb: > Felix, > > Send this to infrastructure-dev -- Where Jukka and Gregorz will likely > see it and fix it up for you. > > > On 26 Jun 2009, at 10:33, Felix Meschberger wrote: > >> Hi all, >&

Re: OSGi Compendium

2009-06-26 Thread Felix Meschberger
tends to lead to issues if we upgrade the implementations independetly of the versioning of the different packages. As a result, in Apache Felix we export the respective API from the implementation bundles. This also makes it easy to upgrade the API. Regards Felix > > Carsten >> Regards,

[Fwd: git://git.apache.org/sling.git]

2009-06-26 Thread Felix Meschberger
Hi all, We have move the Sling source code to its new top level location http://svn.apache.org/repos/asf/sling. It looks like the GIT mirror setup is still referring to the old incubator location at http://svn.apache.org/repos/asf/incubator/sling. Can someone please take care of this ? Thanks al

OSGi Compendium

2009-06-25 Thread Felix Meschberger
Hi all, Currently the Sling launcher (in the launchpad/base module) contains the Felix framework, the OSGi Core libraries as well as the OSGi Compendium libraries. While working on the implementation of the new Declarative Services 1.1 features planned for addition in the OSGi Compendium Specific

Re: GWT Tests with Sling

2009-06-25 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: > 2009/6/26 Felix Meschberger : >> Hi, >> >> Torgeir Veimo schrieb: >>> 2009/6/26 Felix Meschberger : >>>> Hi, >>>> >>>> Torgeir Veimo schrieb: >>>>>>> I'm in the development tea

Re: GWT Tests with Sling

2009-06-25 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: > 2009/6/26 Felix Meschberger : >> Hi, >> >> Torgeir Veimo schrieb: >>>>> I'm in the development team of a new CMS which is based on Sling. >>> It seems there are several that are doing this, basing their admin >&g

Re: GWT Tests with Sling

2009-06-25 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: >>> I'm in the development team of a new CMS which is based on Sling. > > It seems there are several that are doing this, basing their admin > console on GWT. There might be an opportunity to put together an open > source project here around this, since there would othe

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: > > On 23 Jun 2009, at 14:06, Felix Meschberger wrote: > >> Hi, >> >> Ian Boston schrieb: >>> >>> On 23 Jun 2009, at 12:28, Bertrand Delacretaz wrote: >>>>> Although Sling might choose to ignore this, I/w

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi, Bertrand Delacretaz schrieb: > Hi, > > On Tue, Jun 23, 2009 at 12:03 PM, Ian Boston wrote: >> On 23 Jun 2009, at 09:42, Felix Meschberger wrote: >>> ... What exact problem do you want to solve with the restriction on script >>> access ? Do you have s

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi, Ian Boston schrieb: > > On 23 Jun 2009, at 12:28, Bertrand Delacretaz wrote: >>> Although Sling might choose to ignore this, I/we (sakai) are going >>> to need to do something since all our users have write access to the >>> repo, and at least 10% of them are Computer Science first year >>>

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi, Dominik Süß schrieb: > Wouldn't this take us the ability to restrict allowed actions by taking > reading rights of the scriptlocation by ACLs? > How would you solve restriction on scriptaccess? What exact problem do you want to solve with the restriction on script access ? Do you have some k

Re: [RT] Script Resolution

2009-06-23 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Another minor issue are the helper methods of the JcrResourceUtil class > (the getResourceSuperType, resourceTypeToPath methods). I think we can > make them completly JCR free and move them to the ResourceUtil class in > the API. +1 But leave the methods in the Jc

[jira] Commented: (SLING-1013) Feed Entry IDs are URL-encoded

2009-06-19 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721789#action_12721789 ] Felix Meschberger commented on SLING-1013: -- Can you be a bit more specific

SVN moved

2009-06-18 Thread Felix Meschberger
Hi all, Thanks to Jukka I could already move the Sling source in SVN to the new location. To adapt your local check-out just use the "svn switch", like in: $ svn switch http://svn.apache.org/repos/asf/incubator/sling/trunk from inside your trunk checkout. Regards Felix

Graduation tasks

2009-06-18 Thread Felix Meschberger
Hi all, as per the graduation task list [1], we have to move things around a bit. I have asked infra@ to support us here [2]. On the frontend the following tasks will be done: * Move SVN from below incubator to our new TLP location * "Rename" the mailing lists (I have asked infra to keep

Re: User Manager and Charset

2009-06-17 Thread Felix Meschberger
Hi, Juan José Vázquez Delgado schrieb: >> There is an issue with accented chars and the sling user manager. >> >> I do a web based interface for the nodes below /system/userManager. >> >> When I POST to createUser or updateUser, then accented chars are messed up >> in the server side authorizable

Re: getting error in sling

2009-06-17 Thread Felix Meschberger
Hi Tanmay, do you get this regularly ? Always on the same resource (or script/servlet) ? This looks like the client has terminated the connection before the service could send the response. Could it be some long-running processing on the server causing the client to time out and abort ? Regards

[jira] Closed: (SLING-1008) Mapping configuration below /etc/map should not require default port number on host level

2009-06-16 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-1008. Resolution: Fixed Fixed by checking the host level of the configuration and ensuring the

[jira] Created: (SLING-1008) Mapping configuration below /etc/map should not require default port number on host level

2009-06-16 Thread Felix Meschberger (JIRA)
Project: Sling Issue Type: Bug Components: JCR Resource Affects Versions: JCR Resource 2.0.4 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.6 Currently the host level of mapping configuration at /etc

Re: Queries with large result sets and sorting.

2009-06-16 Thread Felix Meschberger
Hi Ian, Maybe you might want to ask this question on the Jackrabbit dev list where JCR Query implementation specialist is also lurking. Regards Felix Ian Boston schrieb: > yes it was that thread that triggered the concern. > > " > Obviously, a stupid example, but, unfortunately, not really to m

[jira] Commented: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-16 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720115#action_12720115 ] Felix Meschberger commented on SLING-1003: -- Hmm, it looks like

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Bertrand Delacretaz schrieb: >> Now, this is very simple and easy: As Alex Klimetschek proposes we are >> using ConfigurationAdmin for this. Each service can be described by a >> few properties: >> >> (a) Service Name >> (b) Service Filter >> (c) Number of services... > > And in some ca

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Alexander Klimetschek schrieb: > On Tue, Jun 16, 2009 at 8:02 AM, Felix Meschberger wrote: >> (1) The most basic criterion for the system to be ready is the available >> of certain services. > > Yes, services is probably enough. The availability of bundles doesn&

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
goal) happens, sounds not very productive Regards Felix Alexander Klimetschek schrieb: > On Tue, Jun 16, 2009 at 7:55 AM, Felix Meschberger wrote: >>> Isn't it possible to avoid that case with start levels? (we are >>> talking about the initial startup only, if

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Felix Meschberger wrote: >> Hi, >> >> Replying to this message, but my response applies to the complete thread. >> >> Let's step back a second and look at what we really need to know to be >> able to decide the syste

Re: SLING-490, SystemStatus service discussion

2009-06-16 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Felix Meschberger wrote: > >> Yes, of course. ConfigAdmin is *not* required for DS. > Ah yes, you're right (of course) - I was mistaken as the import for the > config admin are not optional in the *pom* of the scr implementation; I > d

Re: SLING-490, SystemStatus service discussion

2009-06-15 Thread Felix Meschberger
Hi, Replying to this message, but my response applies to the complete thread. Let's step back a second and look at what we really need to know to be able to decide the system is ready or not. And who is responsible to provide this knowledge. (1) The most basic criterion for the system to be rea

Re: SLING-490, SystemStatus service discussion

2009-06-15 Thread Felix Meschberger
HI, Alexander Klimetschek schrieb: > On Mon, Jun 15, 2009 at 5:10 PM, Carsten Ziegeler wrote: >> Now, this depends on how this is done. We're using the declarative >> services in Sling, so when DS is starting the sling main servlet it >> checks for a configuration to provide it to the service. If

[jira] Commented: (SLING-1007) Implement helper classloader

2009-06-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719530#action_12719530 ] Felix Meschberger commented on SLING-1007: -- > Take a look at the JSP c

[jira] Commented: (SLING-1007) Implement helper classloader

2009-06-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719509#action_12719509 ] Felix Meschberger commented on SLING-1007: -- As I said before this is n

[jira] Created: (SLING-1007) Implement helper classloader

2009-06-14 Thread Felix Meschberger (JIRA)
2.0.4 Reporter: Felix Meschberger Currently we require the ScriptEngine[Factory] implementation bundles to create bundle header DynamicImport-Package: * to be able to access anything from the scripts since scripts are executed in the class loader of the script engine bundle. The

Re: Make our first release available on central Maven repo? (was: Problems with dependency paths)

2009-06-13 Thread Felix Meschberger
Hi, The artifacts of the first Sling release are now also available through central. Regards Felix Bertrand Delacretaz schrieb: > Hi Ian, > > On Thu, Jun 11, 2009 at 11:59 PM, Ian Boston wrote: >> ...I have a jar that depends on >> org.apache.sling:org.apache.sling.engine:jar:2.0.4-incubator,

[jira] Commented: (SLING-490) SlingStatusServlet - find out whether a Sling application is ready after startup

2009-06-13 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719166#action_12719166 ] Felix Meschberger commented on SLING-490: - > It's no big deal to hav

Re: JSONQueryServlet questions

2009-06-12 Thread Felix Meschberger
I have committed a fix in Rev. 784278. You might want to update the servlets/get bundle and crosscheck. Thanks. Regards Felix Felix Meschberger schrieb: > Hi Stuart, > > After re-reading the JsonQueryServlet, I saw the bug. It is not related > to any JCR query stuff but to how we ad

[jira] Resolved: (SLING-1006) JsonQueryServlet does not return multi-value properties

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1006. -- Resolution: Fixed I have committed a fix in Rev. 784278. The JsonQueryServlet now

Re: JSONQueryServlet questions

2009-06-12 Thread Felix Meschberger
created SLING-1006 [1] to track this and will commit a fix shortly. Do you still need the full node dump functionality ? Regards Felix [1] https://issues.apache.org/jira/browse/SLING-1006 D. Stuart Freeman schrieb: > On Fri, Jun 12, 2009 at 08:18:01PM +0200, Felix Meschberger wrote: >>

[jira] Created: (SLING-1006) JsonQueryServlet does not return multi-value properties

2009-06-12 Thread Felix Meschberger (JIRA)
: Servlets Get Affects Versions: Servlets Get 2.0.4 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: Servlets Get 2.0.6 >From the mailing list: I'm trying to get back a multivalued property from the JSON Query Servlet, but it appears t

Re: JSONQueryServlet questions

2009-06-12 Thread Felix Meschberger
Hi Stuart, D. Stuart Freeman schrieb: > I'm trying to get back a multivalued property from the JSON Query > Servlet, but it appears that that doesn't work. Here's what I did: > > curl -Ftitle="some title text" -Ftext="some body text content" \ > -Ftest="1" -Ftest="2" http://admin:ad...@localhos

Versions of new modules

2009-06-12 Thread Felix Meschberger
Hi all, It seems to be custom to add new modules with versions like 2.0.5-incubator-SNAPSHOT. I think this is not very sexy and might even be misleading. I suggest we add new modules at version 0.9.0-incubator-SNAPSHOT such that we can release the first version as 1.0.0-incubator. Historical bac

[jira] Commented: (SLING-490) SlingStatusServlet - find out whether a Sling application is ready after startup

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718923#action_12718923 ] Felix Meschberger commented on SLING-490: - Thanks for taking a stab at this.

[jira] Commented: (SLING-1005) JcrResourceResolver2.map should consider request path info for mapping

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718864#action_12718864 ] Felix Meschberger commented on SLING-1005: -- Fixed this as described above in

[jira] Created: (SLING-1005) JcrResourceResolver2.map should consider request path info for mapping

2009-06-12 Thread Felix Meschberger (JIRA)
: Bug Components: JCR Resource Affects Versions: JCR Resource 2.0.4 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.6 The currently the JcrResourceResolver2.map method applies the following basic algorithm for

Re: Integrate a Servlet Filter: init-params

2009-06-12 Thread Felix Meschberger
Hi, Christian Sprecher schrieb: > Felix Meschberger schrieb: >> Hi, >> Yes. And if you have the scr plugin generate the Metatype data (not >> setting metatype="no" on the @scr.component tag) you will be able to >> configure the properties on the

[jira] Resolved: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1003. -- Resolution: Fixed Fix Version/s: Engine 2.0.6 Thanks for reporting the bug

[jira] Assigned: (SLING-1003) Integration of 3rd party servlet filters problematic

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-1003: Assignee: Felix Meschberger > Integration of 3rd party servlet filters problema

Re: Sling configuration

2009-06-12 Thread Felix Meschberger
Thanks for reporting. I added the findings of the mail thread as implementation notes. Regards Felix Claude Vedovini schrieb: > Salut B. > > Just created SLING-1004 > I did not bother reading any guideline for issue creation but I hope > you'll like it :) > > Cheers, > Claude > > > On Thu, Ju

[jira] Commented: (SLING-1004) The folder where Sling servlets store their configuration should be configurable at deployment

2009-06-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718849#action_12718849 ] Felix Meschberger commented on SLING-1004: -- Actually, the default Sling web

Sling Artifacts from incubator repository

2009-06-12 Thread Felix Meschberger
Hi all, In the incubating Sling project we deployed the initial release to the incubator maven 2 repository instead of the central mirror as it was custom until a few months ago. Now that we use repository.a.o it would be cool and good for our users to have the artifacts available from repository.

Re: Make our first release available on central Maven repo? (was: Problems with dependency paths)

2009-06-12 Thread Felix Meschberger
Hi, Jukka Zitting schrieb: > Hi, > > On Fri, Jun 12, 2009 at 8:46 AM, Felix Meschberger wrote: >> My first try to would be to checkout the Sling 3 tag and deploy it to >> repository.apache.org setting the altDeploymentRepository property >> appropriately. > >

Re: Make our first release available on central Maven repo? (was: Problems with dependency paths)

2009-06-11 Thread Felix Meschberger
Hi, Yes at the time of our first release poddlings had to deploy to the incubator repository at http://people.apache.org/repo/m2-incubating-repository And, yes, I agree we should probably deploy this to central, now. Central being managed through the Nexus repository nowadays, it would probab

Re: Caching for ResourceResolver.map()

2009-06-11 Thread Felix Meschberger
Jukka Zitting schrieb: > Hi, > > On Wed, Jun 10, 2009 at 3:10 PM, Carsten Ziegeler wrote: >> While caching in the resource resolver might be a good idea anyway, >> perhaps caching one layer above might give even more benefit. Instead >> of querying the resource resolver a lot, caching above the

Re: launchpad app Snapshot

2009-06-11 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: > Hi, > Looking at [1] there is no > > org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.0.5-incubator-SNAPSHOT > > > but looking at [2] there is > > org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.0.4-incubator It looks like Hudson is not deplo

Re: Integrate a Servlet Filter: init-params

2009-06-10 Thread Felix Meschberger
Hi, Christian Sprecher schrieb: > Hi Felix > > Felix Meschberger schrieb: >> >> Actually, the Sling Main Servlet initializes servlets and filters by >> calling the respective init(ServletConfig) and init(FilterConfig) >> methods. >> >> The pa

Re: Integrate a Servlet Filter: init-params

2009-06-10 Thread Felix Meschberger
Hi Christian, Christian Sprecher schrieb: > Ok, I am a step further with the integration: I still have to find out > about the dynamic providing of init-params, but I do see that the > filterConfig is there & populated with the @scr.property values. Good > stuff! ;-) > > Now, there is a problem

Re: Caching for ResourceResolver.map()

2009-06-10 Thread Felix Meschberger
Hi, Jukka Zitting schrieb: > Hi, > > I have a case where we're doing lots of reverse mappings with the > ResourceResolver.map() method and all the repository accesses caused > by that are hurting performance. In general I'm not a big fan of extra > caching, but in this case it seems like the only

Re: Moving rewriter to contrib

2009-06-09 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Hi, > > I've added a new bundle in our whiteboard: the rewriter. > The rewriter bundle allows to rewrite the output from Sling. It is > possible to configure a pipeline (based on SAX events) which processes > the whole output. > This pipeline can be used for variou

Re: Sling configuration

2009-06-09 Thread Felix Meschberger
eplace the current "sling" prefix. Thus given the system poroperty sling.home.prefix is set to "/var/sling". In this case the default sling.home for the /sling/i1 web app would be "/var/sling/_sling_i1". Would such a prefix suit your needs ? Regards Felix > > Cheers, >

[jira] Updated: (SLING-998) Request fails with HTTP ERROR 200 - Reason: OK if anonymous access is disabled

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-998: Fix Version/s: Extensions httpauth 2.0.6 Also marking as fixed in HTTP Authenticator since

[jira] Resolved: (SLING-995) resource types for users are sling:users in some places and sling/users in others.

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-995. - Resolution: Fixed Fix Version/s: JCR Jackrabbit User Manager 2.0.4 Thanks for

[jira] Assigned: (SLING-995) resource types for users are sling:users in some places and sling/users in others.

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-995: --- Assignee: Felix Meschberger > resource types for users are sling:users in some pla

Nexus Repository and Parent POM

2009-06-09 Thread Felix Meschberger
Hi all, We are now setup to use the Nexus Repository at repository.apache.org for our releases and SNAPSHOTs. Thus we should not deploy anymore to the old locations on people.a.o. A first step supporting this new setup for us is to updated the Sling parent pom. As per SLING-917 [1] I have updated

[jira] Commented: (SLING-917) Use repository.apache.org for deployments

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717616#action_12717616 ] Felix Meschberger commented on SLING-917: - Now that we are registered on the N

[jira] Resolved: (SLING-985) Allow ATOM Syndication Format output

2009-06-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-985. - Resolution: Fixed Applied my last patch. This is probably it for now. If you agree

Re: Integrate a Servlet Filter: init-params

2009-06-09 Thread Felix Meschberger
Hi, Ian Boston schrieb: > You can make a filter available to a servlet managed by the > MainSlingServlet, by creating a declarative service implementing the > java.servlet.Filter Interface. Basically, you register an OSGi service for the javax.servlet.Filter interface. You do not need to use decl

Re: Sling configuration

2009-06-08 Thread Felix Meschberger
Hi, Bertrand Delacretaz schrieb: > Hi, > > On Tue, Jun 9, 2009 at 8:03 AM, Felix Meschberger wrote: >> Claude Vedovini schrieb: >>> ...I guess that now that each deployed sling servlet has it's own >>> subfolder under sling.home to store configurat

[jira] Updated: (SLING-985) Allow ATOM Syndication Format output

2009-06-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-985: Attachment: SLING-985-BundleActivator.patch Patch implementing the Abdera instance as a

[jira] Commented: (SLING-985) Allow ATOM Syndication Format output

2009-06-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717575#action_12717575 ] Felix Meschberger commented on SLING-985: - So how about creating a BundleActiv

Re: Sling configuration

2009-06-08 Thread Felix Meschberger
plication). In general system properties are fine for standalone applications but for web applications it is a bit more complicated and I am not sure, whether using system properties to configure web applications is a good thing. Regards Felix > > my 2cts > Claude > > On Sun,

[jira] Commented: (SLING-985) Allow ATOM Syndication Format output

2009-06-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717261#action_12717261 ] Felix Meschberger commented on SLING-985: - Thanks for providing this patch. I

[jira] Assigned: (SLING-985) Allow ATOM Syndication Format output

2009-06-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-985: --- Assignee: Felix Meschberger > Allow ATOM Syndication Format out

Re: [jira] Commented: (SLING-993) Sling Explorer with jquery

2009-06-08 Thread Felix Meschberger
Hi, Renaud Richardet (JIRA) schrieb: > What is left to be done to have it "fully" integrated? Depends on how we defined "fully integrated" ;-) I think having an explorer in the first place is already a good thing and a good start (incidentally there is a second approach based on GWT [1]. I thin

[jira] Updated: (SLING-993) Sling Explorer with jquery

2009-06-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-993: Attachment: explorer.zip Attaching a slight modification: * Created a maven project

Re: Possible sling JSONObject bug

2009-06-07 Thread Felix Meschberger
Hi, Alexander Klimetschek schrieb: > On Sat, Jun 6, 2009 at 5:55 PM, Felix Meschberger wrote: >>> On Fri, Jun 05, 2009 at 09:18:05PM +0200, Alexander Klimetschek wrote: >>>> I think they are not equivalent in the strict Javascript sense, as the >>>> order of th

[jira] Issue Comment Edited: (SLING-993) Sling Explorer with jquery

2009-06-07 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717036#action_12717036 ] Felix Meschberger edited comment on SLING-993 at 6/7/09 5:1

[jira] Commented: (SLING-993) Sling Explorer with jquery

2009-06-07 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717036#action_12717036 ] Felix Meschberger commented on SLING-993: - This looks very light-weight

Re: Sling configuration

2009-06-07 Thread Felix Meschberger
Hi, Claude Vedovini schrieb: > Hi all, > > I use the sling web app on jBoss and I have issue with the location of > the sling home folder. > >>From what I read in [1] it seems one can setup the sling.home property > either using the sling.property or the web.xml file, both located > inside the s

Re: Possible sling JSONObject bug

2009-06-06 Thread Felix Meschberger
Hi, D. Stuart Freeman schrieb: > OK, in that case it sounds like comparing the results of toString() > should suffice for my purposes. No, this won't work - technically - since the order of properties in an object is *explicitly* defined as not being defined in the spec. In our implementation we

Re: Openid integration for Sling 3

2009-06-05 Thread Felix Meschberger
Hi Tanmay, Tanmay Barman schrieb: > I was trying to integrate openid in my project that is based on sling 3. I > was trying with openid4java api. But I am having the following error > > java.lang.NoClassDefFoundError: > org/apache/commons/httpclient/methods/RequestEntity > at > org.apache.

Re: Exposing DB Data

2009-06-05 Thread Felix Meschberger
Hi Andreas, Andreas Kollegger schrieb: > Hi, > > I'd like to expose data stored in an external database as resource nodes > in Sling. Access to the database is already wrapped in an OSGi service > (MyService.java), and there is a Java model for the data (MyModel.java). > From what I can understan

Re: Binding to a resource Type

2009-06-03 Thread Felix Meschberger
Hi Ian I have posted a review there. Regards Felix Ian Boston schrieb: > I have pushed a patch for inspection at > http://codereview.appspot.com/67146 > > Is this along the lines you were thinking ? > Ian > > On 3 Jun 2009, at 10:14, Felix Meschberger wrote: > &g

[jira] Created: (SLING-992) Document Servlet Resolution and Error Handling

2009-06-03 Thread Felix Meschberger (JIRA)
Reporter: Felix Meschberger The Sling Servlet Resovler bundle provides elaborate functionality to select a Script or Servlet to handle a request. In addition it provides nice functionality to select error handler Scripts or Servlets to handle HttpServletResponse.sendError calls. This

Re: Binding to a resource Type

2009-06-03 Thread Felix Meschberger
, which would be called when the ResourceResolver is about to create the NonExistingResource. Regards Felix Ian Boston schrieb: > > On 3 Jun 2009, at 09:26, Felix Meschberger wrote: > >> Not in the sense of "inheriting the resource type from the parent node >> if none i

[jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715868#action_12715868 ] Felix Meschberger commented on SLING-990: - > I will modify the JSON scripts.

Re: Binding to a resource Type

2009-06-03 Thread Felix Meschberger
Hi, Ian Boston schrieb: > > On 3 Jun 2009, at 06:32, Felix Meschberger wrote: > >> Hi Ian, >> >> Ian Boston schrieb: >>> Should a servlet (with sling.servlet.resourceTypes value="x") bind to >>> JCR nodes where a parent node has a resourc

[jira] Closed: (SLING-991) JcrResourceResolver2.map does not handle resource paths with fragments and queries correctly

2009-06-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-991. --- This can be closed > JcrResourceResolver2.map does not handle resource paths with fragments

[jira] Resolved: (SLING-991) JcrResourceResolver2.map does not handle resource paths with fragments and queries correctly

2009-06-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-991. - Resolution: Fixed Applied fix to this problem in Rev. 781285: * Cut off fragment and

[jira] Created: (SLING-991) JcrResourceResolver2.map does not handle resource paths with fragments and queries correctly

2009-06-02 Thread Felix Meschberger (JIRA)
Project: Sling Issue Type: Bug Components: JCR Resource Affects Versions: JCR Resource 2.0.4 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.6 The JcrResourceResolver2.map(HttpServletRequest, String

Re: Clarification for ResourceResolver#map

2009-06-02 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Felix Meschberger wrote: >> Hi Carsten >> >> Carsten Ziegeler schrieb: >>> how is the ResourceResolver#map method supposed to work or more precisly >>> what input is expected. The javadoc mentions a resource path as input

[jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715822#action_12715822 ] Felix Meschberger commented on SLING-990: - I did not run the code, I just looke

Re: [jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-02 Thread Felix Meschberger
Hi all, Felix Meschberger (JIRA) schrieb: >> Not sure but I think that LGPL is compatible with the Apache project. > > Unfortunately not. Apache projects are not allowed to distribute artifacts > including artifacts licensed under any GPL or LGPL license. I think, this primari

[jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715811#action_12715811 ] Felix Meschberger commented on SLING-990: - > Not sure but I think that

Re: Binding to a resource Type

2009-06-02 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: > Should a servlet (with sling.servlet.resourceTypes value="x") bind to > JCR nodes where a parent node has a resourceType of x, or will it only > bind to JCR nodes where the node itself has the resourceType x ? I do not exactly understand what you mean by "bind to JCR

Re: Clarification for ResourceResolver#map

2009-06-02 Thread Felix Meschberger
Hi Carsten Carsten Ziegeler schrieb: > how is the ResourceResolver#map method supposed to work or more precisly > what input is expected. The javadoc mentions a resource path as input > parameter. > What is supposed to happen if the path contains a query string or an anchor? The query string is c

Re: JcrResoruceResolver2, by design ?

2009-06-02 Thread Felix Meschberger
Hi Ian, I could imagine two approaches to your problem: (1) Register a resource provider for the root node of your "hashed" tree. When asked for a resource, it will apply the mapping function to find the actual resource. (2) Employ the dynamic URL Rewriting patch you proposed in SLING-986: You a

Re: Google Analytics for the Sling web site

2009-06-02 Thread Felix Meschberger
Hi, Jukka Zitting schrieb: > Jackrabbit is using Google Analytics to track usage of the > jackrabbit.apache.org web site, and I was wondering if Sling would be > interested in similar data. See [1] for an example report. With my Sling Hat on I could be interested in these figures and favor it. Wi

[jira] Commented: (SLING-917) Use repository.apache.org for deployments

2009-06-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715518#action_12715518 ] Felix Meschberger commented on SLING-917: - Created INFRA-2081 to ask for addi

  1   2   3   4   5   6   7   8   9   10   >