• 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: disposing components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disposing components


  • Subject: Re: disposing components
  • From: Sacha Mallais <email@hidden>
  • Date: Sat, 11 Jun 2005 10:26:32 -0700

On Jun 10, 2005, at 10:09 PM, Nathan Dumar wrote:

On Jun 10, 2005, at 6:03 PM, Sacha Mallais wrote:

... And yet another [way] would be to cache the page, but instantiate a new EC when/if the user back tracks.

Would you mind elaborating on that (ie how it's done)? Seems pretty straightforward and simple ... I should probably know how to do that by now, but I don't.

Well, since you null the EC when it goes to sleep, you can just use lazy initialization to recreate the EC, fault in the same EO(s) that you were editing in the first place (stored, presumably, in an ivar) and you're off to the races. Page caching happens automatically. Of course, YMMV...


It's probably easier to just let WO do your work for you... :-)


sacha

_______________________________________________
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: 
 >disposing components (From: Florijan Stamenkovic <email@hidden>)
 >Re: disposing components (From: Sacha Mallais <email@hidden>)
 >Re: disposing components (From: Florijan Stamenkovic <email@hidden>)
 >Re: disposing components (From: Sacha Mallais <email@hidden>)
 >Re: disposing components (From: Nathan Dumar <email@hidden>)

  • Prev by Date: Window Server permissions error
  • Next by Date: Re: AJAX and WebObjects?
  • Previous by thread: Re: disposing components
  • Next by thread: Re: disposing components
  • Index(es):
    • Date
    • Thread