On Tue, 12 Apr 2011 13:34:17 -0300, Adam Zimowski <zimowsk...@gmail.com> wrote:

Maybe I'm over-thinking here... I find a lot of times I have to do this:

@Property
private AddressUiBean address;

@SetupRender
void init() {
 if(address == null) address = new AddressUiBean();
}

Why not activate instead of @SetupRender? Or one of the prepare* events of Form? Not an easy decision. ;)

--
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