Re: Frameworks and Subcomponents
Re: Frameworks and Subcomponents
- Subject: Re: Frameworks and Subcomponents
- From: Kieran Kelleher <email@hidden>
- Date: Wed, 4 Nov 2009 08:44:05 -0500
*I think you can* (well, has worked for me in the past anyway) create
an abstract component named "Wrapper" in the framework so that your
reusable page has no errors. IIRC, the app *should* load the
Application bundle component that is similarly named "Wrapper" instead
of the framework component named "Wrapper" since app bundle is
searched first IIRC.
On Nov 4, 2009, at 7:39 AM, David Griffith wrote:
HI all,
I have a questions about reusable components in frameworks. I've
never done this before so please bear with me.
I have an application, let's call it Distributor. This has a
component called Wrapper which is basically the page wrapper I use
for all pages.
I then have another component which I want to make more reusable and
which I would like to use in 3 different apps.
I have that component already put into a framework and that seems
fine. The problem is, the component used to contain an element
which referenced the Wrapper (so that everything would be inside
that). Clearly the 'Wrapper' can and will be different for each
application that I want to use it in. What would be the normal
procedure to do this?
I thought about having a component in my Distributor App that would
hold the reference to the Page Wrapper and inside that would insert
the shared component that I am trying to use. Doing that I am
getting the Page Wrapper but just a blank page where I expect the
component.
Any help would be appreciated.
Regards,
David.
_______________________________________________
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
_______________________________________________
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