Re: Image rendering (image creation / manipulation)

2008-07-17 Thread Bertrand Delacretaz
Hi Bryce, On Thu, Jul 17, 2008 at 8:30 AM, Bryce Ewing <[EMAIL PROTECTED]> wrote: > ...Yes, just the jai-core libraries are required (there are two included in > the > releas of jai-core, jai-core jar and jai-codec jar - both covered by the > same license) If you want to use jai-core, [3] in

[jira] Created: (SLING-573) google-style shorthand on query.json

2008-07-17 Thread David Nuescheler (JIRA)
google-style shorthand on query.json Key: SLING-573 URL: https://issues.apache.org/jira/browse/SLING-573 Project: Sling Issue Type: Improvement Components: Servlets Get Reporter: Dav

[jira] Created: (SLING-574) include fully qualified urls in json repsonses

2008-07-17 Thread David Nuescheler (JIRA)
include fully qualified urls in json repsonses -- Key: SLING-574 URL: https://issues.apache.org/jira/browse/SLING-574 Project: Sling Issue Type: Improvement Components: Servlets Get

[jira] Created: (SLING-575) include fully qualified urls in json repsonses from search

2008-07-17 Thread Michael Marth (JIRA)
include fully qualified urls in json repsonses from search -- Key: SLING-575 URL: https://issues.apache.org/jira/browse/SLING-575 Project: Sling Issue Type: Improvement Repo

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

2008-07-17 Thread janandith jayawardena
hi , I want to use sling:include tag's addSelector propert. The scenario is as follows, I have two resources /a/b and /a/c . the script for /a/b is html.jsp and script for /a/c was renamed to selector.jsp. Now in the html.jsp when I use and type "http://localhost:8080/b.html"; it displays det

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

2008-07-17 Thread Bertrand Delacretaz
Hi Janandith On Thu, Jul 17, 2008 at 12:15 PM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > ...I want to use sling:include tag's addSelector property... I'd suggest the following: -Use a single resource, say /test, with resource type=foo -Create two scripts, /apps/foo/foo.jsp and /apps/foo

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

2008-07-17 Thread janandith jayawardena
Hi Bertrand, I tried as you suggested. It works for a single resource. How can I use it for multiple resources. janandith. On Thu, Jul 17, 2008 at 4:06 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > Hi Janandith > > On Thu, Jul 17, 2008 at 12:15 PM, janandith jayawardena > <[EMAIL PROTEC

Sling inter-dependencies

2008-07-17 Thread Craig L. Ching
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 those) and wondering

how can i run webloader sample

2008-07-17 Thread janandith jayawardena
Hi, I would like to know how to run the samples/webloader . I've followed the README.txt file. but I get the error , "cant find org.apache.sling.scripting.core.scripthelper.getService(object) (apps/sling/webloader/html.esp#34)" line 34 is this, "loader = sling.getService(Packages.org.apache.s

Re: how can i run webloader sample

2008-07-17 Thread Alexander Klimetschek
Note 100% sure, but maybe ".class" must be appended just as in plain Java: loader = sling.getService(Packages.org.apache.sling.samples.webloader.Webloader.class); Regards, Alex On Thu, Jul 17, 2008 at 8:59 PM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to know how t

Re: how can i run webloader sample

2008-07-17 Thread Bertrand Delacretaz
Hi, On Thu, Jul 17, 2008 at 8:59 PM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > ...I would like to know how to run the samples/webloader . I've followed > the README.txt file. > but I get the error , > > "cant find org.apache.sling.scripting.core.scripthelper.getService(object) > (apps/sl

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

2008-07-17 Thread Paul Noden
Janandith, Try setting multiple resources to have a resource type=foo you should find the two scripts work for all resource with this resource type. Paul Noden [EMAIL PROTECTED]

Question to clear out my picture of Integration test writing.

2008-07-17 Thread janandith jayawardena
hi, I'm taking the following approach to write integration tests. I want to verify whether it's correct. This is how i create nodes and upload scripts. Map props = new HashMap(); rootNodeUrl = testClient.createNode(HTTP_BASE_URL +pathToRoot, null); testTextA = pathToR

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

2008-07-17 Thread janandith jayawardena
Hi Paul, Do you mean janandith On Fri, Jul 18, 2008 at 2:46 AM, Paul Noden <[EMAIL PROTECTED]> wrote: > Janandith, > > Try setting multiple resources to have a resource type=foo you should > find the two scripts work for all resource with this resource type. > > Paul Noden > [EMAIL PROTECTED]

Re: how can i run webloader sample

2008-07-17 Thread janandith jayawardena
Hi Bertrand, I'll try that. A small question, How do I get the revision number and checkout the correct code in svn janandith. On Fri, Jul 18, 2008 at 1:40 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > Hi, > > On Thu, Jul 17, 2008 at 8:59 PM, janandith jayawardena > <[EMAIL PROTECTED]>