Paul, It occurs to me I might be talking complete gibberish here :-)
Unfortunately, I don't have the time to investigate more fully... but you might like to peruse the Rhino paper [1] which discusses how to communicate between Java and Javascript in far more detail.
[1] http://www.mozilla.org/rhino/ScriptingJava.html Regards, David Legg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org