Re: disposing components
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