ew'
must be called after 'PageAttached' phase (in activation phase, in a getter
method...)
-Message d'origine-
De : Ciaran Wood [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 12 juin 2008 16:42
À : Tapestry users
Objet : Re: Question about T5's page lifecycle - instance variables
Excellent, that solved the problem. Thanks very much!
Ciaran
On 12/06/2008 3:52pm, "Cordenier Christophe"
<[EMAIL PROTECTED]> wrote:
> @OnEvent("activate")
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
ECTED]
Envoyé : jeudi 12 juin 2008 16:42
À : Tapestry users
Objet : Re: Question about T5's page lifecycle - instance variables NOT being
purged
Here's the code:
public class Register {
@Component
private Form registerForm;
@Persist("session")
pr
Here's the code:
public class Register {
@Component
private Form registerForm;
@Persist("session")
private Member member;
@PageLoaded
void pageLoaded(){
log.debug("member created");
member = new Member();
member.setCurrency("GBP");
Actually, at the end of the request, each variable instance is set to its
default value before giving the page instance back to the pool. Do you
initialize the member at declaration time ?
Can you us more code ?
-Message d'origine-
De : Ciaran Wood [mailto:[EMAIL PROTECTED]
Envoyé : je
could you post the source of your page and template?
are you using https? http <-> https switches?
we're already using T5 in production and never had this issues
g,
kris
Ciaran Wood <[EMAIL PROTECTED]>
12.06.2008 16:03
Bitte antworten an
"Tapestry users"
An
Tapestry users
Kopie
Thema
Qu