Re: when do the environmental object (like validationtracker) become available?

2008-06-03 Thread Denis Kok
he?


- Original Message 
From: nille hammer <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Tuesday, June 3, 2008 11:49:31 AM
Subject: Re: when do the environmental object (like validationtracker) become 
available?


Hi Joachim,
a ValidationTracker ist pushed into the environment by the tapestry Form 
component during its beginRender()-method and popped from it during 
cleanupRender(). I don´t think, there is a ValidationTracker available in the 
environment for pages that do not contain forms (or you might have to push one 
into it yourself). On pages with forms you can get the ValidationTracker by 
calling getDefaultTracker() on the form. The metods recordError(...) might be 
of interest too.
Regards, nillehammer



- original Nachricht 

Betreff: when do the environmental object (like validationtracker) become 
available?
Gesendet: Di, 03. Jun 2008
Von: Joachim Van der Auwera<[EMAIL PROTECTED]>

> Hi,
> 
> I have a page which should display an error when rendered.
> I tried putting the error message in validationtracker either in 
> onActivate or beginRender, but in both cases, the v alidationtracker is 
> not found in the environment.
> 
> When does this become available or what is the right event to put stuff 
> in the validationtracker?
> 
> Thanks for the help,
> Joachim
> 
> -- 
> Joachim Van der Auwera
> PROGS bvba, progs.be
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--- original Nachricht Ende 


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


  

Re: when do the environmental object (like validationtracker) become available?

2008-06-03 Thread nille hammer

Hi Joachim,
a ValidationTracker ist pushed into the environment by the tapestry Form 
component during its beginRender()-method and popped from it during 
cleanupRender(). I don´t think, there is a ValidationTracker available in the 
environment for pages that do not contain forms (or you might have to push one 
into it yourself). On pages with forms you can get the ValidationTracker by 
calling getDefaultTracker() on the form. The metods recordError(...) might be 
of interest too.
Regards, nillehammer



- original Nachricht 

Betreff: when do the environmental object (like validationtracker) become 
available?
Gesendet: Di, 03. Jun 2008
Von: Joachim Van der Auwera<[EMAIL PROTECTED]>

> Hi,
> 
> I have a page which should display an error when rendered.
> I tried putting the error message in validationtracker either in 
> onActivate or beginRender, but in both cases, the v alidationtracker is 
> not found in the environment.
> 
> When does this become available or what is the right event to put stuff 
> in the validationtracker?
> 
> Thanks for the help,
> Joachim
> 
> -- 
> Joachim Van der Auwera
> PROGS bvba, progs.be
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--- original Nachricht Ende 


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



when do the environmental object (like validationtracker) become available?

2008-06-03 Thread Joachim Van der Auwera

Hi,

I have a page which should display an error when rendered.
I tried putting the error message in validationtracker either in 
onActivate or beginRender, but in both cases, the v alidationtracker is 
not found in the environment.


When does this become available or what is the right event to put stuff 
in the validationtracker?


Thanks for the help,
Joachim

--
Joachim Van der Auwera
PROGS bvba, progs.be


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