mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Updating for new initialization of continuations (still broken though)
WW-1548 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483873 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+6
-1
@@ -68,10 +68,15 @@ public class LegacyPropertiesConfigurationProvider implements ConfigurationProvi
|
||||
|
||||
for (Iterator i = settings.list(); i.hasNext(); ) {
|
||||
String name = (String) i.next();
|
||||
props.put(name, settings.get(name));
|
||||
props.setProperty(name, settings.get(name), settings.getLocation(name));
|
||||
|
||||
// Convert struts properties into ones that xwork expects
|
||||
if (StrutsConstants.STRUTS_DEVMODE.equals(name)) {
|
||||
props.setProperty("devMode", settings.get(name), settings.getLocation(name));
|
||||
}
|
||||
if (StrutsConstants.STRUTS_CONTINUATIONS_PACKAGE.equals(name)) {
|
||||
props.setProperty("continuations.package", settings.get(name), settings.getLocation(name));
|
||||
}
|
||||
}
|
||||
|
||||
// Set default locale
|
||||
|
||||
@@ -370,12 +370,6 @@ public class Dispatcher {
|
||||
private void init_CheckConfigurationReloading(Container container) {
|
||||
FileManager.setReloadingConfigs("true".equals(container.getInstance(String.class,
|
||||
StrutsConstants.STRUTS_CONFIGURATION_XML_RELOAD)));
|
||||
|
||||
String pkg = container.getInstance(String.class, StrutsConstants.STRUTS_CONTINUATIONS_PACKAGE);
|
||||
if (pkg != null) {
|
||||
ObjectFactory.setContinuationPackage(pkg);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void init_CheckWebLogicWorkaround(Container container) {
|
||||
|
||||
Reference in New Issue
Block a user