• 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: Paul Hoadley <email@hidden>
  • Date: Thu, 18 Dec 2008 10:21:20 +1030

On 18/12/2008, at 8:25 AM, Andrew Lindesay wrote:

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.

OK, thanks. Might be neater than what I did, which was set a flag based on the request values, then call super.takeValuesFromRequest() at the end, so that the relevant child component action methods can see the flag when they're called.


Thanks Andrew and Chuck.


-- Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


_______________________________________________ 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: 
 >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>)
 >Re: Is dynamic element action method order deterministic? (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: Is dynamic element action method order deterministic?
  • Next by Date: Two directActions on one form
  • 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