Thanks Thiago - I've read the follow ups to this from you and Josh, and the "nevers" are good to know early on. "...because of the page pooling" is a good enough reason to make it register.

There seems to be a shortage of "never do this" cheat sheet library in the 21st century :)



.java
@Property
private Date addedToJumpstart = new Date("2010-07-14");

Never initialize fields like you've done in the above snippet because of the page pooling. Use the activate or begin render event to initialize fields.

Reply via email to