Hi,

I am doing this and it works:

    @Inject @Symbol(SymbolConstants.PRODUCTION_MODE)
    private boolean productionMode;

-Borut

2009/4/16 daniel joyce <[email protected]>:
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to