Removed unused handler from controller files; replaced handlers that were still using the old ScreenWidgetViewHandler with the current MacroScreenViewHandler; deprecated compress.HTML property with output specific properties like screen.compress; this fixes a rather important issue happening when the compress.HTML setting is set to true: non html output screens like for example tab delimited exports were messed up.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058056 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -76,7 +76,7 @@ public class MacroScreenViewHandler extends AbstractViewHandler {
|
||||
}
|
||||
boolean compressOutput = "compressed".equals(encoding);
|
||||
if (!compressOutput) {
|
||||
compressOutput = "true".equals(UtilProperties.getPropertyValue("widget", "compress.HTML"));
|
||||
compressOutput = "true".equals(UtilProperties.getPropertyValue("widget", getName() + ".compress"));
|
||||
}
|
||||
if (!compressOutput && this.servletContext != null) {
|
||||
compressOutput = "true".equals(this.servletContext.getAttribute("compressHTML"));
|
||||
|
||||
Reference in New Issue
Block a user