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
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
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
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
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
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