Re: Picking up .wo changes
Re: Picking up .wo changes
- Subject: Re: Picking up .wo changes
- From: email@hidden
- Date: Fri, 6 Jun 2003 17:00:14 +0100
On Friday, June 6, 2003, at 07:41 am, Anders F Bjvrklund wrote:
Could you be a bit more explicit as to what you are trying to achieve.
It all started when I had modified a component and was looking for the
"reload definition"
method on the component... It seems that the current caching is either
never or forever.
If you want more control over caching, use:
setPageCacheSize(0);
setPermanentCacheSize(32); // choose an appropriate size here
and then use the related "permanent cache" methods in WOSession...
I just thought it would have been nice if WebObjects could pick up
changes
in the templates (or in the java code or in the database) in an easy
manner...
In development, I just press "Reload" in the browser to get the new
version of the page. But I don't enable component caching in
development.
To detect whether you are in development or deployment mode, you can
use isDirectConnectEnabled().
Cheers,
-- Denis.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.