• 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: Is dynamic element action method order deterministic?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is dynamic element action method order deterministic?


  • Subject: Re: Is dynamic element action method order deterministic?
  • From: Andrew Lindesay <email@hidden>
  • Date: Thu, 18 Dec 2008 10:55:45 +1300

Hello Paul;

Ignoring the additional JavaScript stuff, I tend to do one of two things;

1) let the data get sucked into the EO-s and then do any "last minute fiddles" in an override of "takeValuesForRequest"
2) actually store the data into an intermediate non-EO model object and then in the override of "takeValuesForRequest", splay that out into EO's as appropriate.


So, I would override "takeValuesFromRequest", look to see if the value in the pop-up was set to non-NULL by looking at the value in the EO and then reset the string value in your EO.

cheers.

It appears to work. Andrew---is this what you meant? Chuck---do you have a different approach?

___ Andrew Lindesay www.lindesay.co.nz

_______________________________________________
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: Is dynamic element action method order deterministic?
      • From: Paul Hoadley <email@hidden>
References: 
 >Is dynamic element action method order deterministic? (From: Paul Hoadley <email@hidden>)
 >Re: Is dynamic element action method order deterministic? (From: Chuck Hill <email@hidden>)
 >Re: Is dynamic element action method order deterministic? (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Is dynamic element action method order deterministic?
  • Next by Date: Cool new tool from Mr. Schrag: Click to Debug
  • Previous by thread: Re: Is dynamic element action method order deterministic?
  • Next by thread: Re: Is dynamic element action method order deterministic?
  • Index(es):
    • Date
    • Thread