Re: what's the correct way to use addSelector in sling:include tag

2008-07-18 Thread Paul Noden
Janandith, I think I misunderstood what sling:include does slightly, it seems sling:include is only designed to include different scripts for the same resource, useful if you have broken your output into several scripts driven by selectors.. What i had imagined was that sling:include would have

Re: Question to clear out my picture of Integration test writing.

2008-07-18 Thread Alexander Klimetschek
Hmm, shouldn't the selector script be named bar.html.jsp? Looks like the script resolution (http://cwiki.apache.org/SLING/url-to-script-resolution.html) could allow bar.jsp for selectors as well, but it would give a conflict if someone would GET a resource/path.bar and IMHO it is clearer.

Re: what's the correct way to use addSelector in sling:include tag

2008-07-18 Thread Bertrand Delacretaz
On Fri, Jul 18, 2008 at 10:18 AM, Paul Noden [EMAIL PROTECTED] wrote: ...Bertrand - how would you include different resources into your script, and should I be using resource whenever I have used nodes? I noticed I have managed to use both in a similar context... sorry In most cases, a

Re: Sling inter-dependencies

2008-07-18 Thread Carsten Ziegeler
Craig L. Ching wrote: Hi, I'm trying to get the code to support the JCR explorer integrated into the current trunk of sling, but I'm looking at the project dependencies from the org.apache.sling.servlets.get project to the org.apache.sling.commons.json project (since I have changes for both of

Re: Sling inter-dependencies

2008-07-18 Thread Alexander Klimetschek
On Fri, Jul 18, 2008 at 11:45 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: this is actually a hot topic where people have different opinions. For now we think that we should change dependencies between modules if there is no reason for it. You probably mean For now we think that we should

Re: Sling inter-dependencies

2008-07-18 Thread Carsten Ziegeler
Alexander Klimetschek wrote: On Fri, Jul 18, 2008 at 11:45 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: this is actually a hot topic where people have different opinions. For now we think that we should change dependencies between modules if there is no reason for it. You probably mean For

Re: what's the correct way to use addSelector in sling:include tag

2008-07-18 Thread Tobias Bocanegra
On 7/18/08, Paul Noden [EMAIL PROTECTED] wrote: Janandith, I think I misunderstood what sling:include does slightly, it seems sling:include is only designed to include different scripts for the same resource, useful if you have broken your output into several scripts driven by

Re: what's the correct way to use addSelector in sling:include tag

2008-07-18 Thread Paul Noden
Hi thanks all, Glad to know my understanding wasn't off the mark, my code terminology might have been pseudo code, but the meaning was accurate! Paul Noden [EMAIL PROTECTED] On Fri, Jul 18, 2008 at 12:38 PM, Tobias Bocanegra [EMAIL PROTECTED] wrote: On 7/18/08, Paul Noden [EMAIL PROTECTED]

Re: problem with sling web app under tomcat with other jcr apps

2008-07-18 Thread Carsten Ziegeler
Torgeir Veimo wrote: On 16 Jul 2008, at 19:41, Torgeir Veimo wrote: On 16 Jul 2008, at 17:25, Carsten Ziegeler wrote: 'm not sure but it could be that you have problems because there are two repositories in your installation: the one from your webapp and the other one embedded into Sling.

quick .jsp question

2008-07-18 Thread John Langley
Hi Folks, I'm new to the list and the project but so far I'm very impressed by the capabilities and potential! One of the things I need to do with the project is be able to drop .jsp pages into the repository using webdav and see them run by accessing them via a browser. So... a)

RE: Sling inter-dependencies

2008-07-18 Thread Craig L. Ching
Hi Alex and Carsten, -Original Message- From: Alexander Klimetschek [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2008 6:23 AM To: sling-dev@incubator.apache.org Subject: Re: Sling inter-dependencies On Fri, Jul 18, 2008 at 11:45 AM, Carsten Ziegeler [EMAIL PROTECTED]