But if all you need is to switch execution mode you should read this: http://tapestry.apache.org/configuration.html#Configuration-SettingExecutionModes
and probably http://tapestry.apache.org/symbols.html On Mon, May 27, 2013 at 10:55 AM, Dmitry Gusev <dmitry.gu...@gmail.com>wrote: > @Inject @Symbol("env.VAR_NAME") > > private String varName; > > On Mon, May 27, 2013 at 10:35 AM, Ken in Nashua <kcola...@live.com> wrote: > >> Hi Folks, >> >> Is there a way to inject an environment variable into my page somehow ? >> >> I would like to automate production mode to anchor off of a OS env var. >> been searching for this without luck >> Thanks for any tips. >> >> Ken >> > > > > > -- > Dmitry Gusev > > AnjLab Team > http://anjlab.com -- Dmitry Gusev AnjLab Team http://anjlab.com