Welcome Ian Boston as a new member of the Sling PMC

2009-07-29 Thread Felix Meschberger
Hi all, Based on his strong involvement with the Sling project, the Sling PMC has decided to invite Ian Boston to join the Sling PMC. Please join me in welcoming Ian as a new PMC member! I would like to thank Ian for his involvement with the project and look forward to many more contributions !

Beginner question: script resolution

2009-07-29 Thread Oliver Pfeiffer
Hi all, I recently discovered Sling and I would like to use it with the server-side-script functionality only in a small project. I have a beginner question regarding the script-location resolution: 1.Let's say I have the following ressource /content/homepage/blog (with sling:resourceType set

Re: Welcome Ian Boston as a new member of the Sling PMC

2009-07-29 Thread Vidar Ramdal
2009/7/29 Felix Meschberger fmesc...@gmail.com: Based on his strong involvement with the Sling project, the Sling PMC has decided to invite Ian Boston to join the Sling PMC. Please join me in welcoming Ian as a new PMC member! I would like to thank Ian for his involvement with the project

Re: Welcome Ian Boston as a new member of the Sling PMC

2009-07-29 Thread Juan José Vázquez Delgado
Welcome and keep up the good work! Regards, Juanjo. On Wed, Jul 29, 2009 at 4:03 PM, Felix Meschbergerfmesc...@gmail.com wrote: Hi all, Based on his strong involvement with the Sling project, the Sling PMC has decided to invite Ian Boston to join the Sling PMC. Please join me in welcoming

Re: Exposing DB Data

2009-07-29 Thread Paul Mietz Egli
Andreas Kollegger wrote: I'd like to expose data stored in an external database as resource nodes in Sling. Like Andreas, I'm exposing database tables as a virtual resource tree in Sling. I'm using Dojo's JsonRestStore as a front-end for this resource tree and have successfully set up

Re: Exposing DB Data

2009-07-29 Thread Alexander Klimetschek
On Wed, Jul 29, 2009 at 9:02 PM, Paul Mietz Eglip...@obscure.com wrote: Like Andreas, I'm exposing database tables as a virtual resource tree in Sling.  I'm using Dojo's JsonRestStore as a front-end for this resource tree and have successfully set up ResourceProvider implementations for each

Re: Exposing DB Data

2009-07-29 Thread Paul Mietz Egli
Thanks for your quick reply, Alex! Alexander Klimetschek writes: But anyway my gut feeling tells me that you should not make the Resource depending on request parameters or HTTP headers. These should rather define how the resource should be rendered. In your case the resource would most

Re: when does currentNode get initialized in an esp?

2009-07-29 Thread Branden Visser
Hi Lance, 'currentNode' is only accessible through server-side JavaScript. Your first access of currentNode is client-side, and therefore is undefined. Best, Branden Speelmon, Lance Day wrote: As a Sling newbie, could someone help me understand when currentNode gets initialized in an esp

Re: Exposing DB Data

2009-07-29 Thread Alexander Klimetschek
On Wed, Jul 29, 2009 at 10:20 PM, Paul Mietz Eglipaul.e...@fullpower.com wrote: Interesting idea!  My initial implementation fetches the data from the table in the custom ResourceResolver and place it in a table-specific Resource implementation instance, but it sounds like you're suggesting

Re: Beginner question: script resolution

2009-07-29 Thread Alexander Klimetschek
On Wed, Jul 29, 2009 at 4:07 PM, Oliver Pfeifferoliver.pfeif...@icip.ch wrote: 3. Now I want to add a new blog-entry: with content/homepage/blog/*.edit.html I would like to call /apps/homepage/blog/edit.html.eps as well. Unfortunately Sling will look for the edit.html.eps-script unter