• 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: Components on a page question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Components on a page question...


  • Subject: Re: Components on a page question...
  • From: King Chung Huang <email@hidden>
  • Date: Sat, 27 Mar 2004 12:20:41 -0700

Even though Page1, 2, and 3 may be sub-classed from Page, they are still separate object instances. Your Page1, 2, and 3 classes cannot access a variable set in Page; they are in a different scope.

What are you trying to do with the Page subclasses?

King Chung Huang
Learning Commons
University of Calgary

On Mar 27, 2004, at 9:05 AM, James Cicenia wrote:

Hello -

I have a WebObjects page that I built with multiple components
so that WOBuilder would have an easier time.

Say I have a Page with 3 components nested in it..

Page
	Page1
	Page2
	Page3

I subclassed Page1, Page2, Page3 from Page. All my objects, initializations
are in Page. When it builds the page will Page1,2&3 void out my objects?
It seems they are. Originally I had passed the item into Page from a previous
page and everything displays properly... but when I try to save any changes
nothing is changed.


How do the pros handle this pattern?

-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Components on a page question...
      • From: James Cicenia <email@hidden>
References: 
 >Components on a page question... (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Components on a page question...
  • Next by Date: Re: Components on a page question...
  • Previous by thread: Components on a page question...
  • Next by thread: Re: Components on a page question...
  • Index(es):
    • Date
    • Thread