You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Howard M. Lewis Ship" <hl...@attbi.com> on 2003/02/19 23:43:53 UTC
RE: [Tapestry-developer] Refreshing ala .jsp style
Tapestry has a lot of "walls" that seperate components from their templates.
It would be non-trivial to assemble a list of resources and timestamps and
check them. It is possible, but would require some significant amount of
work on the code. You can add a feature request if you like, but I've
always envisioned Tapestry apps as packaged into WARs and deployed normally;
I realize you would like to drop individual templates into place and have
them picked up immediately. Again, you can use the reset service (or design
something similar and incorporate it into your own application).
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/proposals/tapestry
-----Original Message-----
From: tapestry-developer-admin@lists.sourceforge.net
[mailto:tapestry-developer-admin@lists.sourceforge.net] On Behalf Of Joel
Trunick
Sent: Monday, February 10, 2003 11:29 AM
To: 'Geoff Longman'
Cc: tapestry-developer@lists.sourceforge.net;
tapestry-dev@jakarta.apache.org
Subject: RE: [Tapestry-developer] Refreshing ala .jsp style
Thanks for the warning.
We will change pages on our site (in .jsp) every couple of weeks to try to
tweak order conversion (change wording/color of buttons/move stuff around on
the page). We just drop the .jsp out and things continue to work. Flushing
user sessions doesn't make sense in these cases.
It would be nice, don't you think, if Tapestry did a file timestamp compare
to keep this relatively inexpensive (on the .page & .html file)? Possibly I
can submit this as a feature request. Or is it inherently difficult to
implement in Tapestry?
Joel
-----Original Message-----
From: Geoff Longman [mailto:glongman@intelligentworks.com]
Sent: Monday, February 10, 2003 9:50 AM
To: Joel Trunick
Cc: tapestry-developer@lists.sourceforge.net;
tapestry-dev@jakarta.apache.org
Subject: Re: [Tapestry-developer] Refreshing ala .jsp style
RE: [Tapestry-developer] Refreshing ala .jsp stylesetting it to true forces
Tapestry to re-read the specs and templates on every request. Its a
development-time switch only.
Cheers,
Geoff
----- Original Message -----
From: Joel Trunick
To: 'Geoff Longman'
Sent: Monday, February 10, 2003 10:42 AM
Subject: RE: [Tapestry-developer] Refreshing ala .jsp style
true = "detect changes"?
Is this particularly expensive? Does it just check the file timestamp?
J
-----Original Message-----
From: Geoff Longman [mailto:glongman@intelligentworks.com]
Sent: Monday, February 10, 2003 9:34 AM
To: Eric Everman; Joel Trunick
Cc: tapestry-developer@lists.sourceforge.net;
tapestry-dev@jakarta.apache.org
Subject: Re: [Tapestry-developer] Refreshing ala .jsp style
java -Dnet.sf.tapestry.disable-caching=true
Geoff
----- Original Message -----
From: "Eric Everman" <ev...@precedadesign.com>
To: "Joel Trunick" <Jo...@SmartPrice.com>;
<ta...@lists.sourceforge.net>
Cc: <ta...@lists.sourceforge.net>
Sent: Monday, February 10, 2003 10:26 AM
Subject: Re: [Tapestry-developer] Refreshing ala .jsp style
> Joel-
>
> There is a system property that turns caching of templates and
> specifications off (turning caching off forces them to be loaded fresh
> each time there are requested). I don't have a reference in front of
> me, but you might try a search of the mailing list and the docs for
> 'system' or 'cache' - its in there somewhere.
>
> Eric Everman
>
> Quoting Joel Trunick <Jo...@SmartPrice.com>:
>
> >
> > If I drop a new .html or .page file into a running tapestry
> > application will
> > tapestry load the changes automagically?
> >
> > Joel
> >
> >
>
>
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Tapestry-developer mailing list
> Tapestry-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>