Hi!

That's the problem with the lack of multiple inheritance on Java. Try to google for Java Multiple Inheritance so that you may find patterns and solutions for this problem.

One obvious way is to include all the functionality on an external class, and access it from both your WOComponent subclasses... but, of course, it sucks.

  Yours

Miguel Arroz

On 2006/07/06, at 19:18, Baiss Eric Magnusson wrote:


I have a class
        public class SecureComponent extends WOComponent {

I have
        public class ReviewTrans extends SecureComponent {

I want it to be
        public class ReviewTrans extends SecureComponent   {
where <SecureComponent> is a sub-class of WOLongResponsePage, not WOComponent, but only for this one class.

NOTE: WOLongResponsePage is a sub-class of WOComponent.

All I can see to do is duplicate the code in SecureComponent and create another class <SecureComponentLong>.

----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz% 40guiamac.com

This email sent to [EMAIL PROTECTED]


      "I felt like putting a bullet between
       the eyes of every Panda that wouldn't
       scr*w to save its species."       -- Fight Club

Miguel Arroz
http://www.ipragma.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to