And, of course, you can run your app from your IDE with
-Dtapestry.production-mode=false (for development mode) but leave the
factory default ("true") undisturbed for production.
On Jan 28, 2008 1:43 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Indeed there is. As of r616036 you can use this to
Indeed there is. As of r616036 you can use this to toggle the behavior:
public static void
contributeFactoryDefaults(MappedConfiguration configuration)
{
configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL,
"true"); //false would be development
}
I just noticed this so
from the nightly docs at
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/
Tapestry now differentiates between development mode and production mode, primarily in how it
reports runtime exceptions. It defaults to production mode.
guess there must be a switch for this...
cheers
hara
I love puns :-).
This indeed would be a useful feature, if somehow T5 had a notion of
execution phases, or whatever they might be called. You could easily
build this into your application in a somewhat rigid manner with a
service that reads your prop file and provides access to that setting
(
Hi all,
I am using the example provided in the wiki to display a friendly error
page that uses the ExceptionReporter interface, and this works well, but
I want to also turn it on and off using perhaps a properties file, so
that in development I can benefit from Tapestry's exceptional error
pa