On Thu, 05 Jan 2012 03:35:53 -0200, robert baker <les.baker1...@gmail.com> wrote:

Hi all,

Hi!

When a page/component is transformed (in version 5.2.6) and there is a
field like the following:

private List<TheType> aList = new ArrayList<TheType>();

You should never, never, never, ever initialize a component, page or mixin field in its declaration unless it's an atomic value (primitive types, String, wrappers, immutable data).

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to