Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 20811 invoked from network); 17 Sep 2007 12:18:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2007 12:18:20 -0000 Received: (qmail 44842 invoked by uid 500); 17 Sep 2007 12:18:12 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 44785 invoked by uid 500); 17 Sep 2007 12:18:11 -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 44774 invoked by uid 99); 17 Sep 2007 12:18:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 05:18:11 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [68.230.240.7] (HELO eastrmmtao101.cox.net) (68.230.240.7) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 12:20:00 +0000 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070917121746.XXMR27100.eastrmmtao101.cox.net@eastrmimpo02.cox.net> for ; Mon, 17 Sep 2007 08:17:46 -0400 Received: from mybook.local ([24.255.120.190]) by eastrmimpo02.cox.net with bizsmtp id pQHm1X00846aSr40000000; Mon, 17 Sep 2007 08:17:46 -0400 Message-ID: <46EE703A.5040605@reverycodes.com> Date: Mon, 17 Sep 2007 08:16:58 -0400 From: Vadim Gritsenko User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Springifying CForms: How to solve LifecycleHelper stuff References: <46EA30A2.9010706@otego.com> <46EE67F0.5030108@apache.org> In-Reply-To: <46EE67F0.5030108@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Giacomo Pati wrote: > Now that I'm trying to do it I have some qustions about how we can manage LifecycleHelper stuff in > a Spring context. > > In CForm definition files there are constructs that accepted a class attribute to denote a Java > class being instantiated and managed as it where a Avalon Component (Validators, SelectionLists, > and more). Whats the oppinion of other on this subject. 1. Implement @role attribute (aka bean reference) 2. Deprecate @class attribute I don't think there is a better way to handle this... Vadim