• 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: Subclasses of a component that do not have the .wo file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclasses of a component that do not have the .wo file


  • Subject: Re: Subclasses of a component that do not have the .wo file
  • From: Greg Hulands <email@hidden>
  • Date: Sat, 12 Jul 2008 12:55:54 -0700

When I override template() I'm still getting the same stack trace... template() is not getting called before this exception occurring... It looks like it tries to load the .wo file before asking itself for the template().

I can't see any other methods to override to get this to work.

Greg

On 12/07/2008, at 11:41 AM, Chuck Hill wrote:

Don't see it in the new Wiki, but this should get you started:

http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Applications/Development/Custom_Templates

Chuck


On Jul 12, 2008, at 11:16 AM, Greg Hulands wrote:

Hi,
I have a component named XMLResponse that has a .wo file with an api so that all responses from my REST interface share an identical format. I have a subclass of XMLResponse named CreateAccountResponse. When I try to create this page with


CreateAccountResponse response = (CreateAccountResponse )pageWithName(CreateAccountResponse.class.getName());

I get this

<pastedGraphic.png>


It looks like it is trying to find the .wo file for the CreateAccountResponse component... only it doesn't exist as I want it to use its super class's one.


Is this possible to do?

Regards,
Greg
_______________________________________________
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

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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
  • Follow-Ups:
    • Re: Subclasses of a component that do not have the .wo file
      • From: Chuck Hill <email@hidden>
References: 
 >Subclasses of a component that do not have the .wo file (From: Greg Hulands <email@hidden>)
 >Re: Subclasses of a component that do not have the .wo file (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Subclasses of a component that do not have the .wo file
  • Next by Date: Re: XCode 3.1 is out.
  • Previous by thread: Re: Subclasses of a component that do not have the .wo file
  • Next by thread: Re: Subclasses of a component that do not have the .wo file
  • Index(es):
    • Date
    • Thread