Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 27601 invoked from network); 23 Jun 2005 18:17:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jun 2005 18:17:00 -0000 Received: (qmail 6577 invoked by uid 500); 23 Jun 2005 18:16:59 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 6549 invoked by uid 500); 23 Jun 2005 18:16:58 -0000 Mailing-List: contact beehive-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list beehive-dev@incubator.apache.org Received: (qmail 6536 invoked by uid 99); 23 Jun 2005 18:16:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 11:16:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.96.162.5] (HELO ussjmh01.bea.com) (63.96.162.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 11:16:59 -0700 Received: from ussjfe01.amer.bea.com (ussjfe01b.bea.com [172.16.120.57]) by ussjmh01.bea.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id j5NIGk5C010326 for ; Thu, 23 Jun 2005 11:16:54 -0700 Received: from USBOEX01.amer.bea.com ([10.36.32.15]) by ussjfe01.amer.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 23 Jun 2005 11:16:29 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: inheriting pages in page flows Date: Thu, 23 Jun 2005 12:16:29 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: inheriting pages in page flows Thread-Index: AcV4FseUNbG/2pu6QRO9Z51vDRnOCQAB0JvA From: "John Rohrlich" To: "Beehive Developers" X-OriginalArrivalTime: 23 Jun 2005 18:16:29.0925 (UTC) FILETIME=[AD732150:01C5781F] X-PMX-Version: 4.7.0.111621, Antispam-Engine: 2.0.2.0, Antispam-Data: 2005.6.15.9 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A good start Rich, but I'd like to see some additional behavior. Allow action overrides to use pages local to the overridden actions page flow directory if the page is not found local to the overriding class. This should work for n levels of inheritance. If class B extends class C, and class A extends class B, and both extending classes override the same action then you would first look for a jsp in A's directory. If you didn't find the jsp you would look in B's directory and then finally C's directory. - john -----Original Message----- From: Rich Feit [mailto:richfeit@gmail.com]=20 Sent: Thursday, June 23, 2005 11:13 AM To: Beehive Developers Subject: inheriting pages in page flows Hi all, I'd like some design feedback here. =20 http://issues.apache.org/jira/browse/BEEHIVE-400 deals with a much-asked question: if you have a page flow that inherits from another page flow,=20 how can you also inherit pages from the base page flow? Currently,=20 there's no good way to do it, which is an obvious hole. My thought is=20 to do something really simple (from the user's point of view :) ), like=20 have a class-level annotation attribute: inheritLocalPaths=3Dtrue This would cause local paths in *inherited* actions to be used in the=20 context of the current page flow. I think this might be sufficient, and even if it turns out it's not, it seems like a good start. Any=20 thoughts/comments on this? Thanks, Rich