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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [EMAIL PROTECTED]

--

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 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