Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 86655 invoked from network); 2 Apr 2004 10:42:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 10:42:19 -0000 Received: (qmail 15838 invoked by uid 500); 2 Apr 2004 10:41:43 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 15806 invoked by uid 500); 2 Apr 2004 10:41:42 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 15792 invoked from network); 2 Apr 2004 10:41:42 -0000 Received: from unknown (HELO mysza.ekom.net.pl) (217.153.51.186) by daedalus.apache.org with SMTP; 2 Apr 2004 10:41:42 -0000 Received: from ouzo by mysza.ekom.net.pl with local (Exim 4.24) id 1B9M7X-0002Fz-Ut for users@cocoon.apache.org; Fri, 02 Apr 2004 12:41:55 +0200 Date: Fri, 2 Apr 2004 12:41:55 +0200 From: Leszek Gawron To: users@cocoon.apache.org Subject: Re: can I use action in cocoon flowscript ? Message-ID: <20040402104155.GD7827@wlkp.org> References: <000601c4188c$d8fc54c0$0100000a@Invest2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c4188c$d8fc54c0$0100000a@Invest2> User-Agent: Mutt/1.4.1i 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 On Fri, Apr 02, 2004 at 12:31:08PM +0400, Chumahov Leonid wrote: > Hi > > I tried to use the action in the my application based on flow (Cocoon > 2.1.4). I have read mail archive and have found, that it can be made. > > http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102560174824115&w=2 > > However it turns out nothing. > > I tried differently. > > cocoon.act("myaction", "", {"p1":"v1", "p2":"v2"}); > act("myaction ", "", {"p1":"v1", "p2":"v2"}); > cocoon.callAction("myaction ", "", {"p1":"v1", "p2":"v2"}); > callAction("myaction ", "", {"p1":"v1", "p2":"v2"}); This is not possible in flow as it has been considered a harmful practise (yeah, pity). lg -- __ | / \ | Leszek Gawron // \\ \_\\ //_/ ouzo@wlkp.org _\\()//_ .'/()\'. Phone: +48(501)720812 / // \\ \ \\ // recursive: adj; see recursive | \__/ | --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org