Re: JCR Explorer

2008-04-25 Thread Peter Svensson
This sounds very good. Perhaps you can find the time to do what I can't :) Please mail me if you need any assistance or have questions. Cheers, PS On Fri, Apr 25, 2008 at 4:57 PM, Craig L. Ching <[EMAIL PROTECTED]> wrote: > > And BTW, Lars Trieloff contributed two Dojo data providers for nodes >

Re: Clearing JCR repository

2008-04-22 Thread Peter Svensson
mbered about that message now) > > On Fri, Apr 18, 2008 at 8:30 PM, Peter Svensson <[EMAIL PROTECTED]> > wrote: > > ... My intention has been to deliver something finished, but I can only > work an > > hour or so a day on it, and have some other projects on the side.

Re: Clearing JCR repository

2008-04-18 Thread Peter Svensson
Hi Craig. Actually, since I progress so slowly, maybe it's better if I just check in what I've got and see what we all can do with it? My intention has been to deliver something finished, but I can only work an hour or so a day on it, and have some other projects on the side. It's hard to find time

[jira] Commented: (SLING-261) Request to donate Bunkai Dojo resource editor to Sling

2008-04-09 Thread Peter Svensson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587087#action_12587087 ] Peter Svensson commented on SLING-261: -- I have finally been able to continue on Bu

Re: Failed Tests

2008-03-17 Thread Peter Svensson
Hmm. have you checked that you are using JDK 1.5? I have had issues building Sling with 1.6 Cheers, PS On Mon, Mar 17, 2008 at 9:22 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > HI, > > I just tried to build Sling using "mvn clean install" from the top level > directory and it works for me w

Re: Cute name for Sling Client Library: Catapult (Re: [jira] Commented: (SLING-326) Rename µjax to "sling client library")

2008-03-14 Thread Peter Svensson
+1 On Fri, Mar 14, 2008 at 4:33 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Felix Meschberger wrote: > > Hi all, > > > > Once upon a time Carsten proposed "Catapult" when we were looking for a > > name - it escapes my memory, what exactly it was ;-) > > > > Now we are more closely integrati

[jira] Commented: (SLING-261) Request to donate Bunkai Dojo resource editor to Sling

2008-03-14 Thread Peter Svensson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578765#action_12578765 ] Peter Svensson commented on SLING-261: -- Yes! Christophe Dolivet released a versio

Re: Allowing anonymous access per default?

2008-02-22 Thread Peter Svensson
I don't know if I am allowed to vote or count :) But I think that since Sling is a generic framework and does not have anything to hide, it would be a good idea to make it as easy as possible to 'try it out' for newcomers. As long as it is documented how to enable security. +1 Cheers, PS On Fri,

[jira] Commented: (SLING-261) Request to donate Bunkai Dojo resource editor to Sling

2008-02-21 Thread Peter Svensson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571296#action_12571296 ] Peter Svensson commented on SLING-261: -- I have been in contact with Stephane Dol

Re: Bunkai and EditArea

2008-02-21 Thread Peter Svensson
OK, I'll see what he thinks. It sounds like the simplest solution. Cheers, PS On Thu, Feb 21, 2008 at 2:16 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > Hi Peter, > > On Thu, Feb 21, 2008 at 2:07 PM, Peter Svensson <[EMAIL PROTECTED]> > wrote: >

Bunkai and EditArea

2008-02-21 Thread Peter Svensson
Hi all, I have received reply from Christophe Dolivet, who is the creator of EditArea, and the highlights are the following; 1. He is not interested in maintaining EditArea any more (I am :) 2. He is OK with using EditArea as dual licensed. 3. He's an OK kind of person. But neither he nor I am

Re: How to I chmod -x on Javascript files

2008-02-20 Thread Peter Svensson
regards, toby > > On 2/20/08, Lars Trieloff <[EMAIL PROTECTED]> wrote: > > Another hackish solution would be the introduction of a do-not-execute > > header or selector or request parameters. > > > > The main problem is the ambiguity that these PHP-style scri

Re: How to I chmod -x on Javascript files

2008-02-20 Thread Peter Svensson
One hackish solution could be for Bunkai to save the scripts as .esp.src or somethin like that, and then I could have a "deplot" button (which could work hierarchically) which just copies those files to .esp extensions. Cheers, PS On Wed, Feb 20, 2008 at 5:32 PM, Lars Trieloff <[EMAIL PROTECTED]>

Re: Donating Bunkai to Sling

2008-02-20 Thread Peter Svensson
OK. That's good to know. I'll try to contact the person in question. Cheers, PS On Wed, Feb 20, 2008 at 3:23 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Feb 20, 2008 3:20 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> > wrote: > > > ...It's not unfortunately, we are not allowed to redis

[jira] Updated: (SLING-261) Request to donate Bunkai Dojo resource editor to Sling

2008-02-20 Thread Peter Svensson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Svensson updated SLING-261: - Attachment: bunkai.tar.gz This is a snapshot of the current Bunkai, hairy legs and all. I found

[jira] Created: (SLING-261) Request to donate Bunkai Dojo resource editor to Sling

2008-02-20 Thread Peter Svensson (JIRA)
: JSON, Launchpad, microsling, Scripting Affects Versions: 2.0.0 Environment: Dojo >= 1.0.2. All major browsers supported. Reporter: Peter Svensson Priority: Minor Bunkai is a Browser-based editor which requires (and includes) Dojo >= 1.0.2. It is started

Re: Donating Bunkai to Sling

2008-02-20 Thread Peter Svensson
e. Thanks! Cheers, PS On Feb 20, 2008 2:53 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > Hi Peter, > > On Feb 20, 2008 2:45 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > > ...But basically I'm asking if you want the Bunkai codebase to be a part > of

Donating Bunkai to Sling

2008-02-20 Thread Peter Svensson
Hi Everybody! I've been talking with Lars a bit about Apache and Sling and Bunkai and so on, and from my point of view, it might be a good idea to donate Bunkai to Sling. At the moment, the code is a little bit in disarray, but workable. I'm continually working on it to make it more modular. My m

Re: Documentation principles and Developer Usability (was: Sling Site, aka Documentation)

2008-02-19 Thread Peter Svensson
I think this sounds very reasonable. I hope to be able to contribute as soon as I understand more and start doing some good work :) Cheers, PS On Feb 19, 2008 9:34 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > (phew - long message but I think it's worth it ;-) > > Hi Felix, > > Thanks for

Bunkai correction -or possibly just instructions :)

2008-02-14 Thread Peter Svensson
Hi! I just realized that I've misplaced old html files in the top folder of Bukain, so if anyone have had problems getting things working, I apologize. The steps to get the demo working are as follows (from memory) 1. Mount Sling as webDAV file system 2. Copy the whole bunkai directory satructure

Re: Bunkai coming closer

2008-02-13 Thread Peter Svensson
But I think that I can get it going now, with the correctly named parameter. I did some digging and Dojo have a very nice content: {} parameter for setting 'form' data ina apost on the fly, so I'll use that ^-^ I hope I have time tomorrow to finish a version that can be used for generic editing..

Re: [PROPOSAL]: Add Resource.listChildren() method

2008-02-13 Thread Peter Svensson
Personally, I don't care if I write 10, 30 or 60 characters to get a handle to an object which lets me access all available methods for the resource node, or the system as such. Either way you choose, just make sure to add the list of availabel methods to some page in the wiki, so that all script

Re: Bunkai coming closer

2008-02-12 Thread Peter Svensson
Hi Toby, Maybe this will work out anyway, because I can create the nodes with required type from the bunkai tree right now. If I then fill the content of the node in a form field with the name "jcr:data", it should work, shouldn't it? Cheers, PS On Feb 12, 2008 9:51 PM, Tobias Bocanegra <[EMAIL

Re: Bunkai coming closer

2008-02-12 Thread Peter Svensson
ble currently, since you can't define > > the nodetype, yet). > > 3) you upload a file in a multipart post. the post servlet will > > automatically create a nt:file or nt:resource node and store the > > content in the jcr:data property. after that you should be able to > >

Re: Breakthrough with Bunkai

2008-02-12 Thread Peter Svensson
Thanks David. Yes, actually the esp script produces generic JSON. When I get that in my Ajax call, I then build a Dojo tree-specific object which attaches the JSOn structure as a property, so it should be usable for anything that wants general JSON, I hope. I think I'll let you guys decide where t

Re: Bunkai coming closer

2008-02-11 Thread Peter Svensson
automatically create a nt:file or nt:resource node and store the > content in the jcr:data property. after that you should be able to > address the content directly. > > hope this helps, > regards, toby > > > On 2/11/08, Peter Svensson <[EMAIL PROTECTED]> wrote: >

Re: Bunkai coming closer

2008-02-11 Thread Peter Svensson
e as the > property you want to save. > regards, toby > > On 2/11/08, Peter Svensson <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm now able to create new nodes and subnodes in the Sling hierarchy > with > > bunkai. I'm now trying to load and

Bunkai coming closer

2008-02-11 Thread Peter Svensson
Hi, I'm now able to create new nodes and subnodes in the Sling hierarchy with bunkai. I'm now trying to load and save the 'contents' of each node, but I can't seem to figure out what to call the form property. Could someone help me out on this? I've tried to read Bertrands 15 minute intro, but I'

Breakthrough with Bunkai

2008-02-09 Thread Peter Svensson
With a lot of help from Bertrand, I've been able to create en esp script which gives back fairly standard json. I don't know much about which properties and function s are actually present on each node, so I grabbed the ones I saw, just to get a tree up and running. heres a snippet which I used i

Re: SLING-213 vs. SLING-126

2008-02-04 Thread Peter Svensson
:31 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008 9:20 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > > ...If you/we use JSON, I might also suggest to wrap > > it in an error-inducing layer, to be stripped by the client before > eval(), > >

Re: SLING-213 vs. SLING-126

2008-02-04 Thread Peter Svensson
I can't say that I follow all examples described properly, but in general I would very much agree that, wherever possible, only use 'raw' data between server and (Ajax/JavaScript) client. As soon as the server does View or redirects, things gets complicated quickly - for both sides. So if it is at

Re: Apache License agreement signed.

2008-02-04 Thread Peter Svensson
ck out the tests for launchpad to see how to get an object which defines the root of the resource tree in ESP and then I'll build a classical JSON structure from there. The rest is mostly done. Cheers, PS On Feb 4, 2008 8:49 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan

Re: Apache License agreement signed.

2008-01-31 Thread Peter Svensson
One would think that I should have seen it! Thanks. I've mailed it now, so I'll ping you in a couple of days Cheers, PS On Jan 31, 2008 2:23 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > Hi Peter, > > > ...Does anyone know if it is possible to send the signed and scanned > agreement >

Apache License agreement signed.

2008-01-31 Thread Peter Svensson
Does anyone know if it is possible to send the signed and scanned agreement as a file to .. somwhere? It feels much more effective if I didn't have to fax all the way to the US, or send a physical letter. Does anyone know how to do it electronically? Thanks! Cheers, PS

Re: Discover Sling in 15 minutes

2008-01-29 Thread Peter Svensson
Great!!! Ahem. I hope to contribute soon :) Meanwhile, I've written a blog about it; http://unclescript.blogspot.com/2008/01/sling-tutorial-online.html Very good introduction! Cheers, PS On Jan 29, 2008 12:22 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > I've started working on this pa

Re: WebDAV - committed before 401 Unauthorized (was: A quick build question)

2008-01-29 Thread Peter Svensson
AIL PROTECTED]> wrote: > On Jan 29, 2008 9:43 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > ...I'd rather build a stand-alone Launchpad, though, if there's > > maven options for that > > We don't have a standalone launchpad yet, but "mvn

Re: WebDAV - committed before 401 Unauthorized (was: A quick build question)

2008-01-29 Thread Peter Svensson
9.01.2008, 09:28 +0100 schrieb Peter Svensson: > > OK. Thanks! > > But I'm not so got at maven. Am I correct in assuming that the arguments > are > > set somewhere in the pom.xml in the launchpad directory nearby some > lines > > saying jett6 .. ?? > > Ah,

Re: WebDAV - committed before 401 Unauthorized (was: A quick build question)

2008-01-29 Thread Peter Svensson
gt; Am Dienstag, den 29.01.2008, 09:12 +0100 schrieb Peter Svensson: > > Sorry Felix. I never got to curl. What I did was to try to mount -t > davfs > > ... and I did get 302 reported as an errro by linux mount, which means > it's > > not compatible with handling th

Re: Change in default handler

2008-01-29 Thread Peter Svensson
Thanks! Well, I thought it would be a good idea if any scripts I make can be included in Sling/Launchpad from scratch, if you want. Cheers, PS On Jan 29, 2008 9:14 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi Peter, > > Am Dienstag, den 29.01.2008, 09:05 +0100 schrieb

Re: WebDAV - committed before 401 Unauthorized (was: A quick build question)

2008-01-29 Thread Peter Svensson
> to the first. > > Regards > Felix > > Am Montag, den 28.01.2008, 19:21 +0100 schrieb Peter Svensson: > > Ahaaa! In your previous psot, you misspelled the url :) You said it was > > different, and only /dav, but now I saw that you write /dev/default in > this >

Re: Change in default handler

2008-01-29 Thread Peter Svensson
:46 +0100 schrieb David Nuescheler: > > hi peter, > > > > i think this is an issue that sling tried to execute the js file instead > > of just delivering it. this was part of a bigger discussion and should > > have been removed by now. > > > > felix may h

Change in default handler

2008-01-28 Thread Peter Svensson
Hi, I've finally found some time again to see if I can get Sling and Bunkai to work together. My plan at the moment is to create my own custom esp script to handle serialization of resources hierarchies into json, in a way that can be consumed by Dojo. I've managed to mount the latest svn revision

Re: WebDAV - committed before 401 Unauthorized (was: A quick build question)

2008-01-28 Thread Peter Svensson
gt; > On Jan 25, 2008 4:58 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > > ...2008-01-25 03:30:55.980::WARN: Committed before 401 Unauthorized > > 2008-01-25 03:30:55.981::WARN: /dav/ > > java.lang.IllegalStateException: Committed... > > Once you get a chan

Re: A quick build question

2008-01-24 Thread Peter Svensson
, 2008 9:56 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 24, 2008 9:53 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > ...Hmm . How do I get the user/pw for the webDAV access?? It's not > admin/admin > > anymore, it seems > > It should be

Re: A quick build question

2008-01-24 Thread Peter Svensson
Hmm . How do I get the user/pw for the webDAV access?? It's not admin/admin anymore, it seems. Cheers, PS On Jan 24, 2008 9:43 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > Thanks This is jsut the info I needed. I just need a simple, easy to > use path to esp par

Re: A quick build question

2008-01-24 Thread Peter Svensson
t;[EMAIL PROTECTED]> wrote: > On Jan 24, 2008 7:12 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > ...I just did svn up, went to trunk and did mvn clean install and then > wen down > > into microsling-core and tried to do the same, but > > > > ...canno

A quick build question

2008-01-24 Thread Peter Svensson
I just did svn up, went to trunk and did mvn clean install and then wen down into microsling-core and tried to do the same, but [EMAIL PROTECTED]:/home/peter/inst/Sling/trunk/microsling/microsling-core# mvn clean install [INFO] Scanning for projects... [INFO] --

Re: ujax ponderings

2008-01-22 Thread Peter Svensson
Well, now that I understand what crx is, it feels a bit more OK :) This is apparently the evolution of the project which Sling forked from to become an Apache project. One positive thing is that it has massive documentation, very much geared towards using Java/JEE as a client to JCR/CRX, but still

Some esp debuging..

2008-01-22 Thread Peter Svensson
I have hit quiet a lot of brick walls today, mostly due to my quick reading :) But I've noticed one odd thing: When I remove the initial <%-- ... -%> from an esp script, Sling bombs like this; 23.01.2008 02:24:23 *INFO * MicroslingResourceResolver: Path '/content.html' does not resolve to an Item

Re: ujax ponderings

2008-01-22 Thread Peter Svensson
d > top of trunk this might be all that valuable... > > regards, > david > > On 1/22/08, Peter Svensson <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I've now managed to compile and install the stand-alone version of > > microsling from the repo. Very well

ujax ponderings

2008-01-22 Thread Peter Svensson
Hi all, I've now managed to compile and install the stand-alone version of microsling from the repo. Very well polished process. I'm very impressed :) Now, I'm trying out some moves with the ujax.js library which a friendly soul has provided, to see if I can grok more what it is doing. I've done

Re: Default JSON format (was: How does one build Sling?)

2008-01-22 Thread Peter Svensson
g like url escaping... i simply > don't see a need. > am i mistaken? > > btw: i am happy to remove the quotes from names that don't need > the quotes. > > regards, > david > > > On 1/22/08, Peter Svensson <[EMAIL PROTECTED]> wrote: > > Ahem. :) I

Re: How do I build my own start.jar?

2008-01-22 Thread Peter Svensson
Wow. I've never actually taken the trouble of learning maven, thinkin that it was too much trouble, but I must say that I'm impressed with the services :) Thanks! Cheers, PS On Jan 22, 2008 2:33 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 22, 2008 2:03

How do I build my own start.jar?

2008-01-22 Thread Peter Svensson
Hi again :) I wonder how to go about if I want to create or to run the checkout ou svn version of sling I have, which contains the ujax stuff which was in Lars presentation last night. Thanks for any info, Cheers, PS

Re: Default JSON format (was: How does one build Sling?)

2008-01-22 Thread Peter Svensson
acretaz <[EMAIL PROTECTED]> wrote: > On Jan 22, 2008 11:53 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > > ...The 'meaning' of a property value is application domain specific > anyway, so > > I think we can choose any encoding type which is reasonably simple,

Re: Default JSON format (was: How does one build Sling?)

2008-01-22 Thread Peter Svensson
And, yes, that's also what I'm thinking. It doesn't matter in json what the contents of a string is, as long as it doesn't mess with the json structure itself (which it can do now). The 'meaning' of a property value is application domain specific anyway, so I think we can choose any encoding type

Re: Default JSON format (was: How does one build Sling?)

2008-01-22 Thread Peter Svensson
2008 11:04 AM, David Nuescheler <[EMAIL PROTECTED]> wrote: > hi guys, > > On Jan 22, 2008 9:47 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > DOJOTree vs. generic json tree > > You are bringing up very good point. > > First of all I think the default seri

Re: Default JSON format (was: How does one build Sling?)

2008-01-22 Thread Peter Svensson
thus converting them into original values. Cheers, PS On Jan 22, 2008 10:40 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 22, 2008 10:31 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > ...I personally prefer to just have object within objects. it's

Re: How does one build Sling?

2008-01-22 Thread Peter Svensson
OK. Thanks, I'll have to debug anyway, to see where the oddities lie. it really should create an array :) Cheers, PS On Jan 22, 2008 10:30 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 22, 2008 10:19 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > &g

Re: Default JSON format (was: How does one build Sling?)

2008-01-22 Thread Peter Svensson
al to revert it back, and it is supposed to be consumed by javascript anyway. What do people think? Cheers, PS Cheers, PS On Jan 22, 2008 10:21 AM, Philipp Koch <[EMAIL PROTECTED]> wrote: > hi, > i like the current "json node export" format since it seems to me more >

Re: How does one build Sling?

2008-01-22 Thread Peter Svensson
Thanks! But hmm. Maybe not, but I wanted to look in the class "javax.jcr.Property", because it defines if a property is multiple or not (leading to the generation of an array). However, I think that one could implement that oneself. It's just that I have been coding in js only for nearly half a ye

Re: Default JSON format (was: How does one build Sling?)

2008-01-22 Thread Peter Svensson
On Jan 22, 2008 10:08 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > Hi, > > (renaming the thread to attract attention of our JSON folks) > Good idea. Thanks. > > On Jan 22, 2008 9:47 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > ...The json tha

Re: How does one build Sling?

2008-01-22 Thread Peter Svensson
Hi Bertrand, The json that would be nice to have is something like this; { label: 'name', identifier: 'name', items: [ { name:'Fruit', type:'category'}, { name:'Cinammon', type: 'category', children: [ { name:'Cinammon Roll', type:'poptart'

Re: How does one build Sling?

2008-01-21 Thread Peter Svensson
transalte it nearer to home. We'll see how it goes. Cheers, PS On Jan 21, 2008 9:51 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 21, 2008 6:14 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > ...Hmm. I should know by now what Launchpad does, but am I right

Re: How does one build Sling?

2008-01-21 Thread Peter Svensson
Hmm. I should know by now what Launchpad does, but am I right in assuming that that means that esp parsing while be disabled as well? Cheers, PS On Jan 21, 2008 6:06 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 21, 2008 3:55 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> > wrote: > >

How does one build Sling?

2008-01-21 Thread Peter Svensson
Hi, I'm attempting again to grok how to write a new version of JsonItemWriter, et.c. But I think I need to download the whole thing,s ince I only have a version of usling at the moment. I've tried to look in the docs for a checkout and build process, but couldn't find one. COuld someone point me o

Re: Documentation plan (was: esp script not parsing)

2008-01-21 Thread Peter Svensson
I don't have a working printer at home, but I'll do it tomorrow when I'm at a client. Cheers, PS On Jan 21, 2008 10:47 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 21, 2008 10:27 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > > ...Is

Re: Documentation plan (was: esp script not parsing)

2008-01-21 Thread Peter Svensson
writing 'live' documentation? Cheers, PS On Jan 21, 2008 10:22 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 19, 2008 4:14 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > ...What I would like to be provided with is something like this... >

Re: esp script not parsing

2008-01-19 Thread Peter Svensson
it? Cheers, PS On Jan 19, 2008 5:27 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 19, 2008 4:32 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > > ...Hmm. This is really strange. I got it working a couple of times, and > then > > when I tried t

Re: esp script not parsing

2008-01-19 Thread Peter Svensson
ut no luck :) Cheers, PS On Jan 19, 2008 4:32 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > Hmm. This is really strange. I got it working a couple of times, and then > when I tried to change a couple of things I get (repeatedly); > > HTTP ERROR: 500 > > Failure running scr

Re: esp script not parsing

2008-01-19 Thread Peter Svensson
<% for (var prop in resource.node) { %> <%= resource.node[prop] %> <% } %> Thanks for any info, PS at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) On Jan 19, 2008 4:14 PM, Peter Svensson <[EM

Re: esp script not parsing

2008-01-19 Thread Peter Svensson
n Jan 19, 2008 3:59 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi Peter, > > Am Samstag, den 19.01.2008, 15:36 +0100 schrieb Peter Svensson: > > YES! It worked. Thanks so much for saturday support :) > > Actually you do have a lot of documentation, but only for i

Re: Sling JSON format

2008-01-19 Thread Peter Svensson
t; >From these objects you should be able to do just about anything > > Hope this helps. > > Regards > Felix > > Am Samstag, den 19.01.2008, 10:26 +0100 schrieb Peter Svensson: > > Argh! Sorry about this. The resource is indeed referenced. My fault. > But > > s

Re: esp script not parsing

2008-01-19 Thread Peter Svensson
pestering people on this list, and it could be published as user (developer of) dox. Cheers, PS On Jan 19, 2008 3:10 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi Peter, > > Am Samstag, den 19.01.2008, 14:15 +0100 schrieb Peter Svensson: > > OK, Good that I've stil

Re: esp script not parsing

2008-01-19 Thread Peter Svensson
OK, Good that I've still _some_ intuition working :) But now I wonder where the path "/apps/nt/folder/" can be found? Is it somwhere in the "real" filestructure of Sling, or is it within SLings own resource hierarchy? I can't seem to find it. I can't find /sling/script either. Should I create

Re: esp script not parsing

2008-01-19 Thread Peter Svensson
xisting Bunkai javascript/html files right in there. Now I try to add some server-side scripting as well. Perhaps there are maic that needs to be puored over the copied resources to make server side scripting work? Cheers, PS On Jan 19, 2008 11:20 AM, Peter Svensson <[EMAIL PROTECTED]> wrot

Re: esp script not parsing

2008-01-19 Thread Peter Svensson
ra <[EMAIL PROTECTED]> wrote: > you need to name it html.esp, or access the content with test.foo :-) > regards, toby > > On 1/19/08, Peter Svensson <[EMAIL PROTECTED]> wrote: > > HI again, > > > > now I've copied one of the esp examples info

esp script not parsing

2008-01-19 Thread Peter Svensson
HI again, now I've copied one of the esp examples info a file (called 'foo.esp'), and when I access it in my usling installation, I just get the text of the file. Is there something else that needs to be done, to enable esp parsing on the server? --- <%-- ESP template example, store this as html

Re: Sling JSON format

2008-01-19 Thread Peter Svensson
Argh! Sorry about this. The resource is indeed referenced. My fault. But still, is there some server-side system files which describe which things are accessible from scripts?? Cheers, PS On Jan 19, 2008 10:24 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > Wait - just another que

Re: Sling JSON format

2008-01-19 Thread Peter Svensson
describes which resources are accesible to the scripts?? Thank! Cheers, PS On Jan 19, 2008 10:21 AM, Peter Svensson <[EMAIL PROTECTED]> wrote: > WoW! Thanks. :) I half-and-half that you would say that it was > theoretically possible, but not on Saturdays :) This, I like. > >

Re: Sling JSON format

2008-01-19 Thread Peter Svensson
WoW! Thanks. :) I half-and-half that you would say that it was theoretically possible, but not on Saturdays :) This, I like. Cheers, PS On Jan 19, 2008 10:18 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 19, 2008 10:14 AM, Peter Svensson <[EMAIL PROTECTED]> wro

Re: Sling JSON format

2008-01-19 Thread Peter Svensson
d the structure, and outputs the correct format? This is actually in my next-to-check-out list, but I just thought i'd ask it now anyway. Cheers, PS On Jan 19, 2008 10:08 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Jan 19, 2008 9:59 AM, Peter Svensson <[EMAIL PROTECT

Re: Sling JSON format

2008-01-19 Thread Peter Svensson
Thanks! I'm still a bit confused ab out what goes where here, so I'll probably call stuff by the wrong name for weeks. I'll check it out and see what I can do. Cheers, PS On Jan 19, 2008 9:55 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > Hi Peter, > >