Re: Subclasses of a component that do not have the .wo file
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: Chuck Hill <email@hidden>
- Date: Sat, 12 Jul 2008 11:41:56 -0700
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