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
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 be
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 used
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 those
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 probably an
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 .node,
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 at the src of
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
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,
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:
html
body
10 matches
Mail list logo