Seems to me it should work for boolean or Boolean. I'm not sure why it doesn't.
On Thu, Apr 16, 2009 at 5:35 AM, Thiago H. de Paula Figueiredo <[email protected]> wrote: > On Thu, Apr 16, 2009 at 1:31 AM, daniel joyce <[email protected]> > wrote: >> 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. > > Try boolean instead of Boolean. > >> Also, is the magic method name onPageLoad() for setting up vars at >> page instance load time? > > It's onPageLoaded(). Or you can use any method name, but annotate it > with @PageLoaded. The documentation of page events is here: > http://tapestry.apache.org/tapestry5/guide/lifecycle.html. > > -- > Thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
