T4: page pool & memory leaks

2008-03-17 Thread Jean-Philippe Bouchard
Boy, am I glad to have figured out that one! I run a pretty busy site using T4 and tomcat had to be restarted every day because it was running out of memory. That problem has plagued me for the past year and it turns out it was caused by the page pool accumulating several version of each page f

Re: T5: Persisting per page AND depending on page state.

2007-10-01 Thread Jean-Philippe Bouchard
Probably because the domain component of the cookie issued by the servlet container is the actual hostname, not .my-host.com (http://wp.netscape.com/newsref/std/cookie_spec.html). Anyhow, if you ever need to share the session, you'll know where to look :) Ted Steen wrote: hah, and now, after

Re: T4: ContextAsset is unsqueezable, bug?

2007-02-24 Thread Jean-Philippe Bouchard
TECTED]> wrote: That's what the Loop's volatile parameter is for, that is, for turning off that "record state into the form" behavior. On 2/24/07, Jean-Philippe Bouchard <[EMAIL PROTECTED]> wrote: > Hi Howard, > > I don't need to squeeze it. I just happen t

Re: T4: ContextAsset is unsqueezable, bug?

2007-02-24 Thread Jean-Philippe Bouchard
Works! Thanks Jesse. Ciao JPB Jesse Kuhnert wrote: Try adding volatile="true" to your For . On 2/24/07, Jean-Philippe Bouchard <[EMAIL PROTECTED]> wrote: The squeeze happens in org.apache.tapestry.components.ForBean#getStringRepFromValue() whic

Re: T4: ContextAsset is unsqueezable, bug?

2007-02-24 Thread Jean-Philippe Bouchard
The squeeze happens in org.apache.tapestry.components.ForBean#getStringRepFromValue() which is called from org.apache.tapestry.components.ForBean.StoreSourceDataIterator#next() which is called from the ForBean renderComponent() method. Ciao JPB Jean-Philippe Bouchard wrote: Hi Howard, I

Re: T4: ContextAsset is unsqueezable, bug?

2007-02-24 Thread Jean-Philippe Bouchard
eze assets (with just a bit of work). I do wonder why you needed to squeeze it? At most, you should be squeezing the asset's id. On 2/22/07, Jean-Philippe Bouchard <[EMAIL PROTECTED]> wrote: Hi, I have a component which iterates over an array of context assets (images) using the &quo

T4: ContextAsset is unsqueezable, bug?

2007-02-22 Thread Jean-Philippe Bouchard
Hi, I have a component which iterates over an array of context assets (images) using the "For" component. This component works fine, except when put it in a form. In a form, it fails with "java.lang.IllegalArgumentException: Could not find a strategy instance for class org.apache.tapestry.a

Re: Migration experiences (3.0 -> 4.1?)

2006-12-30 Thread Jean-Philippe Bouchard
I migrated from 3.0 to 4.0 using this xsl stylesheet: http://wiki.apache.org/tapestry/Tapestry3ToTapestry4 It was a while back so I don't remember the details of the migration but I do remember it being pretty painless. As from 4.0 to 4.1, I can't say. Ciao JPB Marilen Corciovei wrote: Hell