On 10.10.2007 13:51 Uhr, Josh2007 wrote:
I use request.getSession() instead of objectModel.session and replace
objectModel.session.setAttribute("stream", stream) with
session.setAttribute("stream", stream) and it works.
Just to complete the picture ... The manager is only for retrieving
Cocoo
.
> Furthermore I use objectModel to get sitemap instance and do
> objectModel.session.setAttribute(...) but I'm not sure about it's the good
> way.
>
> Here's my scriptAction, if you have time to take a look.
> Thanks,
>
> Josh
>
>
> // streamToSession
> /*
> ge
Model to get sitemap instance and do
objectModel.session.setAttribute(...) but I'm not sure about it's the good
way.
Here's my scriptAction, if you have time to take a look.
Thanks,
Josh
// streamToSession
/*
get xforms post from stream and store the result
in session attribute
.html
On 10.10.2007 7:44 Uhr, Josh2007 wrote:
Thanks for the information,
I took a look at ScriptAction's source code.
I have a better understanding of how it works but it seems I need to import
in my scriptAction other components and functions (DOMParser,
session.setAttribute...).
Actuall
Thanks for the information,
I took a look at ScriptAction's source code.
I have a better understanding of how it works but it seems I need to import
in my scriptAction other components and functions (DOMParser,
session.setAttribute...).
Actually I'm trying to adapt my flowscript
On 09.10.2007 17:13 Uhr, Josh2007 wrote:
I need to access cocoon object from a javascript scriptAction to make use of
session, request... functions.
The ScriptAction works more like a usual Cocoon Java component than like
flowscript. Therefore you have the ObjectModel available which is
Hi all,
I need to access cocoon object from a javascript scriptAction to make use of
session, request... functions.
It seems the only way to access cocoon object is to create a flowscript.
Is there another solution as I don't want to redirect to another pipeline
after the script is perf
Tobia wrote:
> Do script actions work in Cocoon 2.1.8?
Nevermind.
It appears to be an incompatibility between BSF 2.3.0 and Rhino 1.5r4,
but it's fixed in Cocoon 2.1.10
Tobia
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
rather bare Error 500 page and the following exception shows up in the
terminal where I started Cocoon (but not in the log files!)
13:12:18.472 WARN!! Error for /scriptaction-test
java.lang.NoSuchMethodError:
org.mozilla.javascript.Context.getDebuggableEngine()Lorg/mozilla/javascript/debug
Hi,
I'm trying to use ScriptAction documented here:
http://cocoon.apache.org/2.1/userdocs/actions/script-action.html
but it's not working right. Is anyone using this or know if it works?
I'd like to be able to write actions w/out the need to recompile
everytime. The documentat
quick prototyping of Action, realizing an Action in
a script language instead of java language."
Does it mean that for any reason the use of ScriptActions is not advised for
production.
On the "Bug/Caveats" section I also read:
"Using ScriptAction relies heavily on the settin
11 matches
Mail list logo