• 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: Florijan Stamenkovic <email@hidden>
  • Date: Sat, 11 Jun 2005 12:29:16 +0200


On Jun 11, 2005, at 00:03, Sacha Mallais wrote:

That's one way, take a look at WOApplication.setPageCacheSize(). I prefer using the cache (and I prefer keeping things simple...), so I would just change the disposePage to not dispose the EC code -- unless you're worried about memory, this is the way to go. Yet another way would be to disable caching for that page only. And yet another would be to cache the page, but instantiate a new EC when/if the user back tracks.


I think for the time being disabling caching for only my add record components that use a private EC will be fine. Just resetting the EC instead of disposeing on whatever user action except submit also sounds ok. Maybe even better. Thanks for the ideas,

Flor

_______________________________________________
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>)

  • Prev by Date: "Too many levels of symbolic links" temp fix
  • Next by Date: Re: disposing components
  • Previous by thread: Re: disposing components
  • Next by thread: Class name
  • Index(es):
    • Date
    • Thread