Re: Components on a page question...
Re: Components on a page question...
- Subject: Re: Components on a page question...
- From: Chuck Hill <email@hidden>
- Date: Sat, 27 Mar 2004 10:04:28 -0800
I think you are confusing Java inheritance with componentization.
Inheritance is about creating templates for objects, not about inter
object communication. I doubt you want inheritance here. What you
want is bindings that get synchronized (which happens automatically).
Think about how the standard components work in WOBuilder. Yours
should function the same way.
Chuck
On Mar 27, 2004, at 9:54 AM, James Cicenia wrote:
Chuck - I need your expert help here.. I can't figure out how to make
the pattern below save my changes.. I think I have tried all
permutations.
No matter what I do, or bind, I believe that since each component needs
to re-read the item in it.. it overrides anything I enter with the
original value.
Help
-James Cicenia
Begin forwarded message:
From: James Cicenia <email@hidden>
Date: March 27, 2004 10:05:44 AM CST
To: WOdev List List <email@hidden>
Subject: Components on a page question...
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.
_______________________________________________
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.