Re: [Wyonacms-users] Reload after xsl-modifications

Michael Wechner <[email protected]> Tue, 29 Oct 2002 00:23:20 +0100
Newsgroups gmane.comp.cms.wyona.devel,gmane.comp.cms.wyona.user
Message-ID <[email protected]>
Thorsten Scherler wrote:
> Hi Hendrik, hello group,
> 
> in cocoon.xconf find:
>                 <parameter name="maxobjects" value="100"/>
>                 <!-- Turns the swapping of the objects into persistent 
> cache on
>           and off. -->
>                 <parameter name="use-persistent-cache" value="true"/>
> 
> change it:
>                 <parameter name="maxobjects" value="1"/>
>                 <!-- Turns the swapping of the objects into persistent 
> cache on
>           and off. -->
>                 <parameter name="use-persistent-cache" value="false"/>
> 
> that should do the trick!


Modifying the configuration of Cocoon's MRUMemoryStore is certainly a 
good trick.

If I remember correctly from Cocoon's mailing list then somebody wanted 
to implement the tracking of the last modifieds of the xsl:include and 
xsl:import, which would help during development, but I am not sure if 
this has ever been done.

Michael
> 
> 
> At 18:17 28.10.02 +0100, you wrote:
> 
>> Cocoon reloads a modified stylesheet automatically. But since it 
>> doesn't follow the xsl:include, it only notices if the "main" xsl has 
>> changed (the xsl that's called from withing the sitemap). So if you 
>> are editing a "sub-xsl" (a xsl that's included in another xsl), you 
>> have to touch the main xsl so that it gets a changed modification date.
>>
>> I hope that helps.
>>
>> Felix
>>
>>
>>
>> Hendrik Bunke wrote:
>>
>>> Hi,
>>> i'm just having a new try with Wyona and can't solve a minor
>>> problem: How can I reload a page for which I have made some
>>> modifications in the corresponding XSL file? Hitting the reload
>>> button in the browser does not have any effect. At the moment
>>> only restarting Tomcat helps, which is of course stupid and
>>> annoying. I suppose that this has something to do with the cache
>>> of Cocoon and tried to configure this in WEB-INF/cocoon.xconf,
>>> without success.
>>> I'm using OSCOM as my sample publication, modified XSL-file is
>>> oscom.xsl.
>>> best regards
>>> hendrik
>>
>>
>>
>>
>> _______________________________________________
>> WyonaCMS-users mailing list
>> [email protected]
>> http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-users
> 
> 
> 
> _______________________________________________
> WyonaCMS-users mailing list
> [email protected]
> http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-users