You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by James Hays <ja...@mac.com> on 2003/07/31 16:55:19 UTC

FireObservedlChange usage

Forgive me, I'm fairly new to Tapestry.
In the examples that I've seen, each setter on a page property calls 
fireObservedChange(String,  xxx)
What get's notified here?  What does it do?  I left it out of my setters 
and I get the same result as it being in.

Any clarifiction would be great. 

Once again, sorry if this is a repeat.  I searched though the archives 
and find very little.


James


Re: FireObservedlChange usage

Posted by Harish Krishnaswamy <hk...@comcast.net>.
My understanding of the fireObservedChange is to notify the framework of 
changes to any persistent properties so the framework can record it and 
supply it when requested again. If your property is not a persistent 
property, then the framework does nothing even if notified. Starting 3.0 
(I think), all this will be managed automatically for you by the 
framework if you create your properties via the "property-specification".

-Harish

James Hays wrote:

> Forgive me, I'm fairly new to Tapestry.
> In the examples that I've seen, each setter on a page property calls 
> fireObservedChange(String,  xxx)
> What get's notified here?  What does it do?  I left it out of my 
> setters and I get the same result as it being in.
>
> Any clarifiction would be great.
> Once again, sorry if this is a repeat.  I searched though the archives 
> and find very little.
>
>
> James
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>