Re: JavaScript continuations help

2006-01-28 Thread Ralph Goers
Ummm. This feature IS available in Java. Look at the javaflow block. Duncan McGregor wrote: Hi, hoping someone can help. I'm running a session at www.spaconference.org on scripting in Java applications. I'm using Cocoon as an example of using a scripting language to provide a feature (co

Re: JavaScript continuations help

2006-01-28 Thread Duncan McGregor
Sorry, the same forces that make the bug obvious the moment you call someone over to help have helped me find the definition (in src/java/ org/apache/cocoon/components/flow/javascript/fom/fom_system.js) the minute after I sent this mail. Duncan On 28 Jan 2006, at 23:23, Duncan McGregor wrot

JavaScript continuations help

2006-01-28 Thread Duncan McGregor
Hi, hoping someone can help. I'm running a session at www.spaconference.org on scripting in Java applications. I'm using Cocoon as an example of using a scripting language to provide a feature (continuations for web flow) not present in Java. I've your very good examples of using cocoon.s

Re: problem with JAVA_HOME on MACOS X

2006-01-28 Thread Robin Wyles
A quick google... http://snipsnap.org/space/Set+JAVA_HOME+on+Mac+OS+X Also you will need to close and re-open your terminal window if you have set the environment variable in your .bash_profile Robin On 27 Jan 2006, at 09:33, Robert Voogdgeert wrote: Just a spelling mistake by the looks..

problem with tomcat + cocoon and xsltc

2006-01-28 Thread Joose Vettenranta
Hello, I'm having problems with cocoon 2.1.7 and tomcat 4.1.29. Problem occurs like this: stylesheet: name="human" /> using xalan: output like: 34,50 == correct using xsltc: output like 34.5 == wrooong But, when using cocoon.sh (jetty), it works ok. Same problem also occurs when using for

RE: how to post in 2.1.7?

2006-01-28 Thread Armaz Mellati
Hi Another approach I would try is to use HttpClient [1] from a flow script. In flow, you can instantiate Java objects and use them. So, you need simply create an HttpClient object, set its parameters and do a post-method. Get the response and do what ever you want to do with it. Well, actuall