Thanks to Adam Ratcliffe for the sample Avalon component, that's perfectly what I needed!
Andre.
On Mar 29, 2005, at 10:37, Aur�lien DEHAY wrote:
Hello.
Le mardi 29 mars 2005 � 10:00 -0500, Andr� Th�not a �crit :Hi,
I'm using flow to talk to my java model classes. So far so good. But I'd like my model classes to talk to the database and use cocoon's connection pool. Do I have to write an Avalon component for this? If so, how does one go about to do this (I don't know anything about writing those)?
The petstore block have this functionnality (the cocoon-petstore.jar contains only the .js which do this), build the petstore without the samples and:
cocoon.load("resource://org/apache/cocoon/components/flow/javascript/ Database.js");
<snip/>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
