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();
}

What would be super nice, following the spirit of @SessionState, is this:

@Property(create=true)
private AddressUiBean address;

I realize that @Property could be a non-bean in which case there is no
guarantee for a no-arg constructor, perhaps that's why this isn't
there, but maybe documentation could explicitly require it?

Maybe I'm off base here...

Adam

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

Reply via email to