Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 69774 invoked from network); 24 Mar 2007 16:24:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2007 16:24:02 -0000 Received: (qmail 25329 invoked by uid 500); 24 Mar 2007 16:24:10 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 25312 invoked by uid 500); 24 Mar 2007 16:24:10 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 25292 invoked by uid 99); 24 Mar 2007 16:24:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2007 09:24:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 24 Mar 2007 09:24:01 -0700 Received: (qmail 69767 invoked by uid 1977); 24 Mar 2007 16:23:41 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Mar 2007 16:23:41 -0000 Date: Sat, 24 Mar 2007 09:23:41 -0700 (PDT) From: Thomas Fischer To: Apache Torque Developers List Subject: Re: Adding torque.beanExtends property. In-Reply-To: <8F5843B903F59D4C8C6806BB49A3911902C0D16F@dukece-mail3.dukece.com> Message-ID: <20070324092003.L68672@minotaur.apache.org> References: <8F5843B903F59D4C8C6806BB49A3911902C0D16F@dukece-mail3.dukece.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org I'd be +1 for this as long as it also finds its way into the maven 1 and maven 2 plugin. @Thomas V: If I get it correct, Greg wants to change the type hierarchy of the beans, whereas you want to change the type hierarchy of the database objects. So I'd guess Greg's changes will not interfere with your changes. Thomas On Tue, 20 Mar 2007, Greg Monroe wrote: > I've been working with a project that uses Struts and Torque recently > and > it struck me that if I could create Torque beans that extended one of > the > struts ActionForm classes, I'd get a whole set of Struts Form beans for > free. > > In looking into this, it turned out to be trivial to add a > "torque.beanExtends" > property and modify the beans.vm template to use this if it is set. > > Anyone see any problems with this? If not, I'll update the docs to > include > YACP (yet another config parameter) and check the change in. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org