Re: Scope issue
Re: Scope issue
- Subject: Re: Scope issue
- From: Chuck Hill <email@hidden>
- Date: Fri, 25 Feb 2005 07:50:46 -0800
When component names are not unique across packages, you need to
qualify the names. I know that pageWithName("x.z.Abc") works. I'd
hope that
MyObject: x.z.Abc {
}
this would work in the WOD file, but I don't recall having used that.
Chuck
On Feb 25, 2005, at 5:27 AM, Graham Cruse wrote:
A quick query for anyone who may have come across this problem:
Webobject abc in package x.y
Webobject abc extends x.y.abc is in package x.z
When running the application, the java code (including append to
response) from class x.z.abc is run, however the component from x.y is
displayed. Additionally this scope and inheritance works fine for one
framework but not for several others, though detailed comparisons have
revealed no significant differences between the frameworks.
Any thoughts would be welcome.
Thanks
Graham
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development 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
References: | |
| >Scope issue (From: Graham Cruse <email@hidden>) |