• 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
Force sub-component to re-grab its bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Force sub-component to re-grab its bindings


  • Subject: Force sub-component to re-grab its bindings
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Fri, 29 Feb 2008 17:01:01 -0800

I have a sub-component <MonthDayYear>.

In Awake of that sub-component I call <pullValuesFromParent> if I can.
		if (  value == null && canGetValueForBinding( "value" )) {
			pullValuesFromParent();
			value = (NSTimestamp)valueForBinding( "value" );

When I Submit in the Main Component, the Action method of the submit button is called after <Awake> in the sub-component, therefore the sub-component does not get the right bindings.

As I see below, after cloning and adding a week, the sub-component has the old binding:

Awakening MonthDayYear 2007-02-12 03:00:00 Etc/GMT
Dumping editEvent.eventDate in StartEdit- > 2007-02-19 03:00:00 Etc/GMT


---- Baiss Eric Magnusson <http://www.Track-Your-Finances.com> <http://www.CascadeWebDesign.com>


_______________________________________________ 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
  • Follow-Ups:
    • Re: Force sub-component to re-grab its bindings
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: SMTP Authentication for WO
  • Next by Date: Re: Force sub-component to re-grab its bindings
  • Previous by thread: WOLips "Stable"
  • Next by thread: Re: Force sub-component to re-grab its bindings
  • Index(es):
    • Date
    • Thread