Database.js

2004-02-16 Thread Kelly
Hi Steven, I am also trying to use woody and flow but would like to use my cocoon.xconf datasource by setting up the connection: cocoon.load("resource://org/apache/cocoon/components/flow/_javascript_/Database.js");Registration.prototype.getConnection = function(id

Re: Database.js

2004-02-16 Thread Steven Noels
the keyboard, so caveat emptor. cocoon.load(resource://org/apache/cocoon/woody/flow/javascript/ woody.js); cocoon.load(resource://org/apache/cocoon/components/flow/javascript/ Database.js); function form(form) { [...] var conn = getConnection(gt2003); try

Re: Database.js

2003-08-21 Thread Christopher Oliver
Steven Noels wrote: ... so basically I have two possible outcomes of my try{} block, each calling another pipeline. I'm worried that the flowscript only executes upto that sendPage, never reaching the conn.close() in the finally{} block. Or does it? /Steven No, you're fine because

Database.js

2003-08-20 Thread Steven Noels
Hi peeps, I'm messing around with the GetTogether registration page, which gives me a chance to test all this new wonderful Woody flow stuff, but I'm stuck on the usage of Database.js. I'm not planning to use any O/R mapping, since I'll have two tables at most. In PetStoreImpl.js, there's

cvs commit: cocoon-2.1/src/scratchpad/src/org/apache/cocoon/components/flow/javascript Database.js ScriptableConnection.java ScriptableResult.java

2003-07-12 Thread coliver
coliver 2003/07/12 12:09:28 Removed: src/scratchpad/src/org/apache/cocoon/components/flow/javascript Database.js ScriptableConnection.java ScriptableResult.java Log: Moving to petstore block

cvs commit: cocoon-2.1/src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript Database.js ScriptableConnection.java ScriptableResult.java

2003-07-12 Thread coliver
coliver 2003/07/12 12:09:39 Added: src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript Database.js ScriptableConnection.java ScriptableResult.java Log: Moving to petstore block Revision ChangesPath 1.1