On Mon, Jan 9, 2012 at 11:27 PM, robert baker <les.baker1...@gmail.com> wrote: > I wanted to write a doc snippet to go in the Component Classes page in > the guide under "Transient Instance Variables" in a warning > box/pullout after the first paragraph, rewording and summing up what > you both have said: > """ > Never initialize an instance field to a mutable object at the point of > declaration. If this is done, the instance created from that > initializer becomes the default value for that field and is reused > inside the component on every request. This could cause state to > inadvertently be shared between different sessions in an application. > """
Added, thanks. > I don't know who to send it to or if there is a documentation manager, > but the above is public domain if (s)he wants it. The de facto documentation manager is Bob Harner, but in this rare case I managed to get there first. Anybody with an ICLA on file can edit the documentation. Kalle --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org