Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 11014 invoked from network); 29 Mar 2004 13:00:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Mar 2004 13:00:07 -0000 Received: (qmail 58586 invoked by uid 500); 29 Mar 2004 13:00:05 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 58563 invoked by uid 500); 29 Mar 2004 13:00:05 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@cocoon.apache.org Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 58547 invoked from network); 29 Mar 2004 13:00:04 -0000 Received: from unknown (HELO otsrv1.iic.ugent.be) (157.193.121.51) by daedalus.apache.org with SMTP; 29 Mar 2004 13:00:04 -0000 Received: from otsrv1.iic.ugent.be (localhost [127.0.0.1]) by otsrv1.iic.ugent.be (8.11.6/8.11.6) with ESMTP id i2TD04O22919 for ; Mon, 29 Mar 2004 15:00:04 +0200 Date: Mon, 29 Mar 2004 15:00:04 +0200 Message-Id: <200403291300.i2TD04O22919@otsrv1.iic.ugent.be> From: stevenn@outerthought.org To: docs@cocoon.apache.org Subject: [WIKI-UPDATE] ConnectionPooling FOM_Cocoon Mon Mar 29 15:00:04 2004 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=ConnectionPooling , version: 7 on Sun Mar 29 13:06:34 2004 by 82.161.98.62 + !Using the Pool in flowscript + + It is possible to use a defined pool in Flowscript. It is also possible to query a database in flowscript + without setting up a pool. An example using both methods is in the samples/petstore directory. The + file PetStoreImpl.js will show you everything you wish to know. + + It is also wise to check out the mailing lists; you just may find your solution waiting for you:) + Page: http://wiki.cocoondev.org/Wiki.jsp?page=FOM_Cocoon , version: 11 on Sun Mar 29 12:54:00 2004 by JoergHeinicke - invoques the pipeline that will match the given URI, passing the map as the model but connecting the output of the pipeline to the given output stream. ? ^^ + invokes the pipeline that will match the given URI, passing the map as the model but connecting the output of the pipeline to the given output stream. ? ^ + + ''Note: Additionally you can find the probably more useful helper methods'' + * {{processToStream(uri,viewData,outputStream)}} + * {{processToSAX(uri,viewData, contentHandler)}} + * {{processToDOM(uri,viewData)}} + ''in the class'' {{o.a.c.components.flow.util.PipelineUtil}}. ''For more info read the [announcement thread| http://marc.theaimsgroup.com/?t=107117890700004&r=1&w=4] or the [JavaDocs| http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/flow/util/PipelineUtil.html]. In the announcement thread you can also read, that the {{processPipelineTo(uri,map,outputStream)}} method might be deprecated in the future.'' - triggers a client-side redirect to the given URI + triggers a client-side redirect to the given URI. ? + - obtains the component indicated by the given ID + obtains the component indicated by the given ID. ? + - release pooled components + release pooled components. ? + - load scripts dynamically ? ^ + load scripts dynamically. ? ^ - - adds an event listener to the given event name (for example, session expiration) + adds an event listener to the given event name (for example, session expiration). ? +