• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Frameworks and Subcomponents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frameworks and Subcomponents


  • Subject: Re: Frameworks and Subcomponents
  • From: David Griffith <email@hidden>
  • Date: Wed, 4 Nov 2009 14:47:25 +0100

Interesting... I'll have a look at that.

Kieran, on another note, now that I have almost got my app ported over to Eclipse, can I still take you up on your offer of helping me to profile the memory usage? I'm going to have a look through your emails now and see how I go about getting the profiling tools etc. installed and maybe I can do it myself but if I get stuck, would you be able to help? I really have to nail this problem down and I've been out of action for a couple of weeks since we last spoke about it.

Kind regards,
David.


On Nov 4, 2009, at 2:44 PM, Kieran Kelleher wrote:

*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


References: 
 >Frameworks and Subcomponents (From: David Griffith <email@hidden>)
 >Re: Frameworks and Subcomponents (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Frameworks and Subcomponents
  • Next by Date: Re: WEBINFROOT changes make no effects
  • Previous by thread: Re: Frameworks and Subcomponents
  • Next by thread: Re: Frameworks and Subcomponents
  • Index(es):
    • Date
    • Thread