Hi,
On Feb 18, 2008 11:15 PM, Christian Sprecher
<[EMAIL PROTECTED]> wrote:
> ...I made a little PoC with the Groovy
> ScriptingEngine and got it working in the launchpad-webapp, without
> having to write one line of code...
Cool!
>... I could send it to someone, but I
> think this stuff should
I would suggest keeping our focus on the javascript and JSP engines
for now, until we have a first release of Sling.
Other script engines might work, and they demonstrate that it's
possible to integrate other languages, but personally I don't want to
spend time improving them at the moment, we
On Feb 14, 2008 4:11 PM, Michael Marth <[EMAIL PROTECTED]> wrote:
> ...I am just looking at the various scripting engines and ran into some probs.
> Maybe someone can help?...
I would suggest keeping our focus on the javascript and JSP engines
for now, until we have a first release of Sling.
Oth
Hi all,
Am Freitag, den 15.02.2008, 17:42 +0100 schrieb Michael Marth:
> Hi Felix,
>
> when I use
> var node = resource.adaptTo(Packages.javax.jcr.Node)
> I get an exception
> "Cannot find function adaptTo".
> (I guess this is a temporary problem. Or does it work for you?)
>
>
>
> > Which is p
On Feb 15, 2008 5:17 PM, David Nuescheler <[EMAIL PROTECTED]> wrote:
> hi guys,
>
> > var node = resource.adaptTo(Packages.javax.jcr.Node)
>
> i personally think this sucks since it is going to be a
> cryptic part in the beginning of all my esp scripts...
You don't need this in ESP scripts, as t
hi carsten,
> Ok, we can still argue about the name though... :) I would call it just
> "node" as we already have "resource"
i agree that node would be intuitive.
there are really two issues why i personally would mildly favor
"currentNode".
a) when working with jcr "node" is a very frequently
David Nuescheler wrote:
as a matter of fact i would like to see a "currentNode" variable
in all the scripting environments, so i don't have to deal with the
resource to begin with...
+1
Ok, we can still argue about the name though... :) I would call it just
"node" as we already have "resourc
Hi Felix,
when I use
var node = resource.adaptTo(Packages.javax.jcr.Node)
I get an exception
"Cannot find function adaptTo".
(I guess this is a temporary problem. Or does it work for you?)
> Which is probably an error as it introduces an API in JavaScript which
> is not paralelled by the other
hi guys,
> var node = resource.adaptTo(Packages.javax.jcr.Node)
i personally think this sucks since it is going to be a
cryptic part in the beginning of all my esp scripts...
in my view this really should be hidden. the point of
using scripting is to hide all the unnecessary detail of whats
goi
Hi,
Am Freitag, den 15.02.2008, 11:43 +0100 schrieb Michael Marth:
> Hi Felix,
>
> >
> > > But if I try to access something like $resource.node (which I would have
> > > expected) Velocity does not recognize the expression. How do I get to
> > the
> > > node? Do I have the wrong syntax? I looked
Hi Felix,
>
> > But if I try to access something like $resource.node (which I would have
> > expected) Velocity does not recognize the expression. How do I get to
> the
> > node? Do I have the wrong syntax? I looked at the src of JcrNodeResource
> and
> > expected to be able to use something like
Am Donnerstag, den 14.02.2008, 16:11 +0100 schrieb Michael Marth:
> Hi,
>
> I am just looking at the various scripting engines and ran into some probs.
> Maybe someone can help?
>
> Velocity
> ---
> I have installed the velocity bundle and want to do the first test in
> Bertrand's 15min t
Hi,
I am just looking at the various scripting engines and ran into some probs.
Maybe someone can help?
Velocity
---
I have installed the velocity bundle and want to do the first test in
Bertrand's 15min tutorial with a velocity script. Saving this as
html.vltworks OK:
$resource.get
13 matches
Mail list logo