hi ,
  Thanks for the info.
We have another problem . There are instance variables
initialized to non-defaultvalues (eg:boolean is
initialized to true) in class , having concrete
getter/setter methods.
When making it abstract getter/setter, will it do to
set "initial-value" of <property-specification to the
value that was set as class variables. I read
somewhere that initial-value of property specification
is set just before page is put back to pool. So feel
that when class is instantiated, it will not have that
initial-value.

Thanks,
Hari.

--- "Vijesh A.V." <[EMAIL PROTECTED]> wrote:

> 
> If you use non-abstract getter/setter methods, you
> need to take care of
> initializing variables (in detach() method of page).
> On the other hand if
> property-specification is used, tapestry takes care
> of initialization/reset.
> 
> This happens because of page object pooling.
>  
> 
> -----Original Message-----
> From: hari ks [mailto:[EMAIL PROTECTED] 
> Sent: 07 August 2005 10:51
> To: tapestry-user@jakarta.apache.org
> Subject: tapestry CACHING issue - coding guidelines
> 
> hi, 
>    We recently had a tapestry caching issue.
> Whatever user enters in a page becomes visible
> another user who comes to
> that page.
> 
> This was probably because of class variables being
> used in page class. We
> converted all concrete getter/setter used in html to
> abstract and put them
> as  property-specifications in .page file.
> 
> This seems to eliminate caching issue. Wanted to
> confirm whether this is the
> right way.
> 
> Also want to know, if we need to convert
> non-abstract getter/setter of
> components also to abstract getter/setter(and add
> property-specification to
> .jwc file). 
> 
> please provide your valuable suggestions. Our
> application cannot go to
> production with these issues.
> 
> Thanks,
> Hari.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to