----- Original Message -----
From: "Richard Lewis-Shell" <[EMAIL PROTECTED]>
To: "Tapestry Developer" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 16, 2002 2:30 PM
Subject: Re: [Tapestry-developer] Two quick questions


>
> What would be nice would be some setting where Tapestry would only reload
> files (ie. abandon cached versions) if they had actually changed.  Is this
> sensible and possible?  If so, I'll add a feature request :-)
>

It might be possible; its just that I'd have to do an end-run around
ClassLoader.getResource() which I'd rather not do.

If running with caching disabled is a problem, what I also have done is
added a reset link to each page.  The reset service clears the cache
immediately, so your cycle is change the files then click the reset link to
see the updates.

I usually drive this using the common borded components; in the Vlib there's
a common border component that optionally includes the ShowInspector
component if a JVM parameter is set to true ... it could also include a
reset link.

Finally, the Engine tab of the Inspector includes a reset link.

Howard



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to