http://tapestry.formos.com/nightly/tapestry5/guide/lifecycle.html

has

The annotations / method names are:

    * PageLoaded annotation, or method name "pageLoaded"
    * PageAttached annotation, or method name "pageAttached"
    * PageDetached annotation, or method name "pageDetached"

I'll try your annotation suggestion.

On Thu, Apr 16, 2009 at 11:31 AM, Borut Bolčina <borut.bolc...@gmail.com> wrote:
> Hi,
>
> I am doing this and it works:
>
>   �...@inject @Symbol(SymbolConstants.PRODUCTION_MODE)
>    private boolean productionMode;
>
> -Borut
>
> 2009/4/16 daniel joyce <daniel.a.jo...@gmail.com>:
>> This doesn't seem to work in a page model file
>>
>>   �...@inject
>>   �...@symbol(value=SymbolConstants.PRODUCTION_MODE)
>>    private Boolean productionMode;
>>
>> I get a nullpointerexception when I try and use it.
>>
>> Also, is the magic method name onPageLoad() for setting up vars at
>> page instance load time?
>>
>> ---------------------------------------------------------------------
>> 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
>
>

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

Reply via email to