Hi,

you can inject a symbol EXECUTION_MODE:

http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/SymbolConstants.html#EXECUTION_MODE
http://tapestry.apache.org/symbols.html


On Tue, Jan 15, 2013 at 2:07 PM, John <j...@quivinco.com> wrote:

> Hi,
>
> What is a neat way to detect the execution mode? I want to know if my
> service class is running with development mode so I can switch a feature
> off.
>
> John




-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to