Re: Picking up .wo changes
Re: Picking up .wo changes
- Subject: Re: Picking up .wo changes
- From: Marek Wawrzyczny <email@hidden>
- Date: Thu, 6 Feb 2003 10:08:07 +1100
I have never used this but it appears to me that this function does
just that:
From apple's WO javadocs for WOComponent:
isCachingEnabled
public boolean isCachingEnabled ()
Returns whether component definition caching is enabled for this
component. False is the default. Note that most large applications
will set the global caching to true at deployment time, so this flag
often has a different value between development and deployment.
Returns:
true if caching is enabled for the component, false otherwise
See Also:
setCachingEnabled(boolean flag) ,WOApplication.isCachingEnabled()
On Thursday, Jun 5, 2003, at 17:23 Australia/Sydney, Anders F Bjvrklund
wrote:
> Pierre Frisch wrote:
>>>> Is there yet a way to reload changed .wo bundles (either .html or
>>>> .wod file)
>>>> without having to restart (all instances of) the entire WO
>>>> application ?
>>>
>>> I'm pretty certain that you would have to re-implement template().
>>
>> I have done it and to make it work right is not simple as there is no
>> easy
>> way to intervene in the existing cache so will have to rebuild a cache
>> of your own. Not very difficult but quite a bit of work.
>>
>
> Was afraid of that...
>
> I think I'll just give the good old shock therapy treatment then.
> (Similar when I edit something in the database, and don't feel like
> waiting an hour or "invalidating" everything. <BZZT!> Much better.)
>
> Guess I should just be thankful that WebObjects keeps everything in
> memory,
> and not runs of to the disk / database to see if the world has changed
> ?
> (Be it Components definition files, or EnterpriseObjects database
> snapshots)
>
> Suppose I have to keep even more layout definitions outside the WO
> components,
> to avoid having to deploy a new application for every little layout
> change ?
> Perhaps fetch them from the database or read them from a file or
> something.
>
>
> Then again, maybe this is the divine sign that I should rewrite it,
> and lose
> the pesky .wod files forever and just integrate everything into the
> .html files ?
> So that one can edit the .wo components in modern webpage editing
> tools, I mean...
> Like these guys do ? http://www.cluster9.com/examples/index_e.html
> (C9WOTemplate)
>
> --anders
> _______________________________________________
> 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.
>
>
Marek Wawrzyczny
software engineer
-------------------------->
ish group pty ltd
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400 fax +61 2 9660 7400
http www.ish.com.au | email email@hidden
_______________________________________________
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.