You have a point Thiago, I will try other init phases, I suppose just
a habit, and it worked :)

In regards to your comment on page pool.... Now that Tap isn't using
it, would auto create property instance be an issue? Just curious..

Adam

On Tue, Apr 12, 2011 at 12:19 PM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> 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
>
>

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

Reply via email to