I find using the reset service to manually reload the page without reloading
the whole app a reasonable compromise. You have to set
-Dorg.apache.tapestry.enable-reset-service=true and then
do http://localhost:8080/your/app?page=ReloadThis&service=reset (T4)


> -----Original Message-----
> From: Scott Russell [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 23, 2006 1:50 PM
> To: tapestry-user@jakarta.apache.org
> Subject: Re: how to auto discover and apply the change of 
> .html, .page,
> .jwc?
> 
> 
> It would be really nice if 
> org.apache.tapestry.disable-caching=true cached the 
> templates, but started a background thread to monitor the 
> template files 
> every minute or so, and if their last-modified time changed, 
> then discard the 
> template and reload it. That would be a swete spot in 
> development as there 
> wouldn't be so many OOMEs coming up, and the pages wouldn't 
> be so slow to 
> load each time.
> 
> -Scott
> 
> 
> On Thu 23 February 2006 12:34, pickerel wrote:
> > i develop a site use tapestr + spring +hibernate. but when 
> i do a little
> > change to the .html or .page, i must restart the site, and 
> the progress is
> > slow(spring+tapestry+hibernate), is there any way  to auto load the
> > change.do not suggest 
> "-Dorg.apache.tapestry.disable-caching=true", it's
> > always outofmemory and cannot use in the online product.
> >
> > it's really painful :( .
> >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to