You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/05/16 03:58:40 UTC

svn commit: r656923 - /tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/java/services/AppModule.java

Author: hlship
Date: Thu May 15 18:58:40 2008
New Revision: 656923

URL: http://svn.apache.org/viewvc?rev=656923&view=rev
Log:
TAPESTR-2421: Allow Tapestry4/Tapestry5 to be deployed in the same WAR

Modified:
    tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/java/services/AppModule.java

Modified: tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/java/services/AppModule.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/java/services/AppModule.java?rev=656923&r1=656922&r2=656923&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/java/services/AppModule.java (original)
+++ tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/java/services/AppModule.java Thu May 15 18:58:40 2008
@@ -2,7 +2,7 @@
 
 import java.io.IOException;
 
-import org.apache.tapestry.TapestryConstants;
+import org.apache.tapestry.*;
 import org.apache.tapestry.ioc.MappedConfiguration;
 import org.apache.tapestry.ioc.OrderedConfiguration;
 import org.apache.tapestry.ioc.ServiceBinder;
@@ -39,12 +39,12 @@
         // you can extend this list of locales (it's a comma seperated series of locale names;
         // the first locale name is the default when there's no reasonable match).
         
-        configuration.add(TapestryConstants.SUPPORTED_LOCALES_SYMBOL, "en");
+        configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en");
 
         // The factory default is true but during the early stages of an application
         // overriding to false is a good idea. In addition, this is often overridden
         // on the command line as -Dtapestry.production-mode=false
-        configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, "false");
+        configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
     }