Script Naming Convention

2009-01-16 Thread Felix Meschberger
Hi all, Prompted by Shane Johnson's comments on the naming conventions for servlets in the repository [1], I come to think, that there might be another solution or way to look at it. Currently a script must basically be named according to the following convention: [ selector "." ] method |

Re: Script Naming Convention

2009-01-16 Thread Carsten Ziegeler
Felix Meschberger wrote: > > So the request "GET /some/path.print.html" could be handled by any of > the following scripts > >path.GET.jsp >GET.jsp >PathGET.java >path.html.esp >html.esp >PathHtml.vlt >path.gsp >Path.groovy > > This would of course extend the list

Re: Script Naming Convention

2009-01-16 Thread Tobias Bocanegra
On 1/16/09, Felix Meschberger wrote: > Hi all, > > Prompted by Shane Johnson's comments on the naming conventions for > servlets in the repository [1], I come to think, that there might be > another solution or way to look at it. > > Currently a script must basically be named according to the

[jira] Created: (SLING-832) ValueMapDecorator does not support arrays.

2009-01-16 Thread Tobias Bocanegra (JIRA)
ValueMapDecorator does not support arrays. -- Key: SLING-832 URL: https://issues.apache.org/jira/browse/SLING-832 Project: Sling Issue Type: Improvement Components: API Affects Versions:

[jira] Updated: (SLING-832) ValueMapDecorator does not support arrays.

2009-01-16 Thread Tobias Bocanegra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated SLING-832: --- Attachment: ValueMapDecorator.r735030.patch fixes this issues by supported array types. > Val

Re: Script Naming Convention

2009-01-16 Thread Jim White
Hi gang! The way I'd like to provide path mapping for classes is with JAX-RS (Jersey) annontations. That should be pretty straightforward for compiled bundles, but I think it can work for scripts too (at least Groovy scripts anyhow). I just started using Sling and don't my way around at all

[jira] Assigned: (SLING-832) ValueMapDecorator does not support arrays.

2009-01-16 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-832: -- Assignee: Carsten Ziegeler > ValueMapDecorator does not support arrays. > --

[jira] Updated: (SLING-832) ValueMapDecorator does not support arrays.

2009-01-16 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-832: --- Affects Version/s: (was: Scripting API 2.0.2) API 2.0.2 Fix

[jira] Resolved: (SLING-832) ValueMapDecorator does not support arrays.

2009-01-16 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-832. Resolution: Fixed Thanks for your patch. I've applied it in revision: 735083. Please cross c

Re: Script Naming Convention

2009-01-16 Thread Felix Meschberger
Hi Jim, Jim White schrieb: > Hi gang! > > The way I'd like to provide path mapping for classes is with JAX-RS > (Jersey) annontations. Support for this would be a great addition to Sling IMHO. > > That should be pretty straightforward for compiled bundles, but I think > it can work for scripts

SlingServerRepository configuration change - expected behavior?

2009-01-16 Thread Rory Douglas
If I select the SlingServerRepository configuration in the webconsole ( the .2423424etc configuration, not the factory configuration), change a property (in this case, max idle sessions) and click "Save", I see a second configuration gets created ( .44534534etc), and I start seeing workspace lo

Re: SlingServerRepository configuration change - expected behavior?

2009-01-16 Thread Felix Meschberger
Hi Rory, Rory Douglas schrieb: > If I select the SlingServerRepository configuration in the webconsole ( > the .2423424etc configuration, not the factory configuration), change a > property (in this case, max idle sessions) and click "Save", I see a > second configuration gets created ( .44534534e

Re: SlingServerRepository configuration change - expected behavior?

2009-01-16 Thread Rory Douglas
Looks like I'm running 1.2.2 of the console. I can reproduce this on FireFox 3, Google Chrome and IE 6 (all on WinXP). Regards, Rory Felix Meschberger wrote: Hi Rory, Rory Douglas schrieb: If I select the SlingServerRepository configuration in the webconsole ( the .2423424etc configurati

[jira] Closed: (SLING-831) Apache Sling Object Content Mapping fails to load due to unresolved package (package=org.apache.commons.lang)

2009-01-16 Thread Pontus Amberg (JIRA)
[ https://issues.apache.org/jira/browse/SLING-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pontus Amberg closed SLING-831. --- Works fine now. > Apache Sling Object Content Mapping fails to load due to unresolved package > (package

Re: Script Naming Convention

2009-01-16 Thread Jim White
Felix Meschberger wrote: Hi Jim, Jim White schrieb: Hi gang! The way I'd like to provide path mapping for classes is with JAX-RS (Jersey) annontations. Support for this would be a great addition to Sling IMHO. Great minds and all... ;-) That should be pretty straightforward for compile