Title: RE: [Tapestry-developer] Refreshing ala .jsp style
In older versions of Tapestry, I don't believe this was possible as specs and templates had to sit in the classpath.
 
Since more recent versions allow templates and specs outside of the claspath, I dunno if the ways things works has changed to be more ".jsp" like.
 
Howard?
 
Geoff
----- Original Message -----
Sent: Monday, February 10, 2003 11:28 AM
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:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 9:50 AM
To: Joel Trunick
Cc: [EMAIL PROTECTED];
[EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
  Sent: Monday, February 10, 2003 9:34 AM
  To: Eric Everman; Joel Trunick
  Cc: [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  Subject: Re: [Tapestry-developer] Refreshing ala .jsp style



  java -Dnet.sf.tapestry.disable-caching=true

  Geoff
  ----- Original Message -----
  From: "Eric Everman" <[EMAIL PROTECTED]>
  To: "Joel Trunick" <[EMAIL PROTECTED]>;
  <[EMAIL PROTECTED]>
  Cc: <[EMAIL PROTECTED]>
  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 <[EMAIL PROTECTED]>:
  >
  > >
  > > 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
  > [EMAIL PROTECTED]
  > https://lists.sourceforge.net/lists/listinfo/tapestry-developer
  >

Reply via email to