RE: how to inject an environment variable

2013-05-27 Thread Ken in Nashua
Thanks Dmitry, I am able to keep developing. I reverted back to hibernate 3. And making more progress. I stepped too fast into the hibernate revisions and got bit. Appreciate the help. Its a great forum to share and I hope to give back for others when I see too. - cheers

Re: how to inject an environment variable

2013-05-27 Thread Dmitry Gusev
@Inject @Symbol("env.VAR_NAME") private String varName; On Mon, May 27, 2013 at 10:35 AM, Ken in Nashua 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 searc

Re: how to inject an environment variable

2013-05-27 Thread Dmitry Gusev
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 wrote: > @Inject @Symbol("env.VAR_NAME

how to inject an environment variable

2013-05-26 Thread Ken in Nashua
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