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: Sun, 13 Jul 2008 12:43:39 -0700
Which version of WO? Can you paste the exception name, message, and
stack trace from the Console view in Eclipse? That will be more
helpful than a screen capture of the browser.
Chuck
On Jul 12, 2008, at 12:55 PM, Greg Hulands wrote:
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
--
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