Re: Replace ujax: prefix to sling:

2008-03-31 Thread Carsten Ziegeler
Bertrand Delacretaz schrieb: On Mon, Mar 31, 2008 at 11:32 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: I think we should do this renaming asap. Do we already have a jira issue for this? Yes, https://issues.apache.org/jira/browse/SLING-326, but it needs to be updated according to this

Re: Replace ujax: prefix to sling:

2008-03-31 Thread Carsten Ziegeler
Felix Meschberger schrieb: I agree 100%. Are you going to do this ? Otherwise, I could start doing this this afternoon. I would to it tomorrow :) So if you want to do it today... :) Carsten -- Carsten Ziegeler [EMAIL PROTECTED]

Re: Registering a Servlet Filter

2008-03-31 Thread Vidar Ramdal
On Fri, Mar 28, 2008 at 9:07 PM, Bertrand Delacretaz [EMAIL PROTECTED] wrote: On Fri, Mar 28, 2008 at 4:52 PM, Vidar Ramdal [EMAIL PROTECTED] wrote: ... So, is there a way to use a servlet filter with Sling?... Yes, see the ZipFilter example:

Re: Registering a Servlet Filter

2008-03-31 Thread Bertrand Delacretaz
On Mon, Mar 31, 2008 at 2:34 PM, Vidar Ramdal [EMAIL PROTECTED] wrote: ... So I would like to let the filter process the request before SlingMainServlet gets to it. How can I accomplish that (if possible)?... The easiest seems to be for your filter to be declared in web.xml. I'd suggest

Re: Does Sling use Apache BSF or a similar model for scripting language support.

2008-03-31 Thread janandith jayawardena
Hi Bertrand, Thanks, i will have a look at it. :-). janandith. On 3/31/08, Bertrand Delacretaz [EMAIL PROTECTED] wrote: Hi Janadith, On Sun, Mar 30, 2008 at 8:24 PM, janandith jayawardena [EMAIL PROTECTED] wrote: ... Does this mean Sling uses Apache BSF for scripting language support or

Re: Replace ujax: prefix to sling:

2008-03-31 Thread Felix Meschberger
Hi, Am Montag, den 31.03.2008, 12:07 +0200 schrieb Carsten Ziegeler: Bertrand Delacretaz schrieb: On Mon, Mar 31, 2008 at 11:32 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: I think we should do this renaming asap. Do we already have a jira issue for this? Yes,

Re: Registering a Servlet Filter

2008-03-31 Thread Vidar Ramdal
On Mon, Mar 31, 2008 at 3:25 PM, Bertrand Delacretaz [EMAIL PROTECTED] wrote: On Mon, Mar 31, 2008 at 3:10 PM, Felix Meschberger [EMAIL PROTECTED] wrote: Am Montag, den 31.03.2008, 14:52 +0200 schrieb Bertrand Delacretaz: ...The easiest seems to be for your filter to be declared in

Re: Registering a Servlet Filter

2008-03-31 Thread Bertrand Delacretaz
On Mon, Mar 31, 2008 at 3:36 PM, Vidar Ramdal [EMAIL PROTECTED] wrote: ... Errr, I'm not too enthusiastic about mod_proxy :) As mod_proxy would have to live outside Sling, it would not be able to intercept sling.include requests. So that a request from a browser to

Re: Registering a Servlet Filter

2008-03-31 Thread Felix Meschberger
Hi, Am Montag, den 31.03.2008, 15:36 +0200 schrieb Vidar Ramdal: On Mon, Mar 31, 2008 at 3:25 PM, Bertrand Delacretaz [EMAIL PROTECTED] wrote: On Mon, Mar 31, 2008 at 3:10 PM, Felix Meschberger [EMAIL PROTECTED] wrote: Am Montag, den 31.03.2008, 14:52 +0200 schrieb Bertrand

[jira] Commented: (SLING-317) Rename /classes to /var/classes

2008-03-31 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12583698#action_12583698 ] Felix Meschberger commented on SLING-317: - This patch looks good to me can probably

Re: Registering a Servlet Filter

2008-03-31 Thread Felix Meschberger
Hi, Am Montag, den 31.03.2008, 16:07 +0200 schrieb Vidar Ramdal: On Mon, Mar 31, 2008 at 3:54 PM, Felix Meschberger [EMAIL PROTECTED] wrote: OK - how about introducing a new filter.scope - e.g. prerequest, and alter SlingMainServlet so that it invokes prerequest filters before

Re: Request: Create Default Render for XML

2008-03-31 Thread Tobias Bocanegra
...nevertheless, if someone creates a patch to support an XML default rendering (with tests) I guess we' accept it. sure. the problem is that anything else than JCR docview or JCR system view does not make sense Agreed, and that's also easy to implement I guess, using the

[jira] Updated: (SLING-326) Rena me µjax to sling client library

2008-03-31 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-326: --- Assignee: Carsten Ziegeler Remaining Estimate: 0h Original Estimate: 0h

[jira] Updated: (SLING-326) Rena me µjax to sling client library

2008-03-31 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-326: --- Renamed sling/ujax module to sling/servlets-post Renamed /ujax/ujax.js to /sling/sling.js

[jira] Updated: (SLING-326) Rena me µjax to sling client library

2008-03-31 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-326: --- Renamed package to *.servlets.post.* Renamed Ujax* classes to Sling* Rename µjax to sling

[jira] Updated: (SLING-326) Rena me µjax to sling client library

2008-03-31 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-326: --- Renamed all references from ujax to sling. There are some remaining items which will be discussed

Re: Replace ujax: prefix to sling:

2008-03-31 Thread Carsten Ziegeler
Ok, I renamed the ujax stuff to servlets post and renamed all references to sling as well. The integration tests pass. There are at least two remaining issues: a) what about the dojo-ujax module? b) the SlingInfoServlet is currently mounted at /ujax. I didn't want to change this to /sling as

Re: Replace ujax: prefix to sling:

2008-03-31 Thread Bertrand Delacretaz
On Mon, Mar 31, 2008 at 6:43 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... b) the SlingInfoServlet is currently mounted at /ujax. I didn't want to change this to /sling as at this path the console is mounted. What do we want to do here?... /slinginfo maybe? -Bertrand