Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 31779 invoked from network); 2 Feb 2007 18:24:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 18:24:19 -0000 Received: (qmail 72730 invoked by uid 500); 2 Feb 2007 18:24:24 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 72635 invoked by uid 500); 2 Feb 2007 18:24:23 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 72624 invoked by uid 99); 2 Feb 2007 18:24:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 10:24:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [212.18.0.9] (HELO mail-out.m-online.net) (212.18.0.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 10:24:13 -0800 Received: from mail01.m-online.net (svr21.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 0838072C80 for ; Fri, 2 Feb 2007 19:23:50 +0100 (CET) Received: from katsumi.moongate.de (ppp-88-217-39-131.dynamic.mnet-online.de [88.217.39.131]) by mail.mnet-online.de (Postfix) with ESMTP id EADA492366 for ; Fri, 2 Feb 2007 19:23:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by katsumi.moongate.de (Postfix) with ESMTP id BC0DDABA46 for ; Fri, 2 Feb 2007 19:23:47 +0100 (CET) X-Virus-Scanned: by amavisd-new at moongate.de Received: from katsumi.moongate.de ([127.0.0.1]) by localhost (katsumi.moongate.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZZ7VAVwVVGNN for ; Fri, 2 Feb 2007 19:23:41 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by katsumi.moongate.de (Postfix) with ESMTP id 22EAAABA4F for ; Fri, 2 Feb 2007 19:23:41 +0100 (CET) Received: from dennis.moongate.de (dennis.moongate.de [10.8.0.2]) by katsumi.moongate.de (Postfix) with ESMTP id DB500ABA46 for ; Fri, 2 Feb 2007 19:23:40 +0100 (CET) From: Philipp Zerelles To: dev@cocoon.apache.org Subject: Bugs in CForms with flowscript or javaflow Date: Fri, 2 Feb 2007 19:23:29 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1651370.2d35GqU8He"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200702021923.39770.philipp@moongate.de> X-Virus-Checked: Checked by ClamAV on apache.org --nextPart1651370.2d35GqU8He Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 1. I have a portal here using the portal block and several forms running as= coplets. When I run the flowscript debugger, I see that all of my form scripts are s= tarted twice when activating the form.=20 I thought that it's maybe a debugger flaw, but now I have database access i= n my flowscript and that is executed two times as well when I start one for= m. 2. I then tried to switch to javaflow. The database access I mentioned is d= one using Hibernate configured through spring configuration files only.=20 This works great in flowscript, where I can just call cocoon.getComponent(.= =2E.) to get my configured beans. But when I try the same in javaflow, getComponent(...) of the same beans fa= ils with an exception about the beans not being known. My project consists of two blocks, one containing the webapp, the other the= portal application.=20 My beans are configured in the COB-INF/config/spring directory of my portal= block. Are there more than one spring bean factory used in cocoon?=20 Maybe one for each block and the flowscript uses the block's factory and ja= vaflow uses the webapps factory? Any ideas? Thanks, Philipp Zerelles --nextPart1651370.2d35GqU8He Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBFw4GrJsO7ID6WqS0RAsRTAJ4g1MkW+Cm+/0eiE1yvpVUx/FVmpACgmJ4I DVacPRSCndfhWBgq1TqMTOQ= =UDuW -----END PGP SIGNATURE----- --nextPart1651370.2d35GqU8He--