What you can do, is factor out part of the base-class spec into a separate file and include it as an external xml-entity in all specs of your hierarchy. Downside of this: this works only in T3, it's broken in T4 - and Spindle doesn't get it right. Marcus
> -----Original Message----- > From: Gentry, Michael (Contractor) > [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 29, 2006 3:43 PM > To: Tapestry users > Subject: RE: Inheritance (asset/bean) > > Thanks Kevin. Rather than introduce more gunk, I just won't > refactor the common portions to the superclass. Perhaps I > should add inheritance of inject/asset/bean (there are > probably others) to the T4.1 wish list ... > > /dev/mrg > > > -----Original Message----- > From: Kevin Menard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 28, 2006 5:22 PM > To: Tapestry users > Subject: Re: Inheritance (asset/bean) > > > On Wed, 28 Jun 2006 16:39:25 -0400, Gentry, Michael (Contractor) > <[EMAIL PROTECTED]> wrote: > > > It wouldn't inherit in the subclass pages, though. Is there any way > to > > get this to inherit? (Also, beans didn't seem to inherit, > either. I > > already know injection doesn't.) > > I don't think it's doable via the page spec. It will work with > annotations though. > > > > > PS. T4/Java 1.4 > > You could try retroweaver or one of those tools that let you use > annotations in Java 1.4. I have zero experience with them > though, so I > > can't comment on it much further. > > -- > Kevin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
