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:
Jacopo Cappellato
2011-01-12 10:44:35 +00:00
parent 338a2456e3
commit 8564cd8125
7 changed files with 6 additions and 12 deletions
@@ -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"));