• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: simple java question with WOComponent sub-classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple java question with WOComponent sub-classes


  • Subject: Re: simple java question with WOComponent sub-classes
  • From: Mike Schrag <email@hidden>
  • Date: Thu, 6 Jul 2006 15:29:19 -0400

Not a whole lot of options here, I would probably recommend refactoring the code in SecureComponent out into a separate class that you can reuse in both scenarios (so SecureComponent has-a SecureHelper and SecureLongResponsePage has-a SecureHelper).

ms

On Jul 6, 2006, at 2:18 PM, 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@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >simple java question with WOComponent sub-classes (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: Re: WWDC WO Meet
  • Next by Date: WORequest formValues return null for certain bot
  • Previous by thread: Re: simple java question with WOComponent sub-classes
  • Next by thread: passfaces
  • Index(es):
    • Date
    • Thread