Re: Components in Packages
Re: Components in Packages
- Subject: Re: Components in Packages
- From: Robert Walker <email@hidden>
- Date: Sat, 9 Oct 2004 00:02:34 -0400
Greg,
I could be wrong about this, but it sounds a bit dangerous to reuse
names for components.
I would suggest prefixing your component names in the usual way (two or
three capital letters). This way there will be no confusion and this
issue goes away.
Something like COMenu and PRMenu for example. I obviously don't know
your design needs, but it may even be better to create only one Menu
and tailor it for consumers or professionals using application logic
based on a "user role."
On Oct 8, 2004, at 11:49 PM, Greg Hulands wrote:
Hi,
I am refactoring my project at the moment and have put my components
into different logical packages, like consumer and professional. If I
have a component named Menu in each package, does the Menu in the
current package take prescendents over all the other packages when
using pageWithName?
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:
email@hidden
This email sent to email@hidden
--
Robert Walker
www.robertwalker1.com
"There are 10 kinds of people in the world. Those who think binary and
those who don't."
_______________________________________________
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