Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 30722 invoked by uid 500); 14 Aug 2003 10:22:38 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 30668 invoked from network); 14 Aug 2003 10:22:37 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 14 Aug 2003 10:22:37 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nFH1-0006zT-00 for ; Thu, 14 Aug 2003 12:24:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19nFH0-0006zL-00 for ; Thu, 14 Aug 2003 12:24:02 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19nFFp-0005ax-00 for ; Thu, 14 Aug 2003 12:22:49 +0200 From: Andreas Hartmann Subject: Re: How to use input modules in flow Date: Thu, 14 Aug 2003 12:24:19 +0200 Lines: 17 Message-ID: References: <000301c3624d$62da66b0$db506bc2@WRPO> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718 X-Accept-Language: en-us, en In-Reply-To: <000301c3624d$62da66b0$db506bc2@WRPO> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Reinhard P�tz wrote: >>The FOM does not provide access to input modules, does it? >>So, what is the recommended way to get an object from an >>Avalon component? > > var myComp = cocoon.getComponent("myComp.ROLE"); > var myObj = myComp.mymethod(); Thanks for your fast answer! I guess the component is automatically released when the script terminates? Andreas