svn commit: r800461 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenWidgetViewHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r800461 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenWidgetViewHandler.java

adrianc
Author: adrianc
Date: Mon Aug  3 16:43:59 2009
New Revision: 800461

URL: http://svn.apache.org/viewvc?rev=800461&view=rev
Log:
Fixed a problem with HTML whitespace compression. Patch provided by Bob Morley - https://issues.apache.org/jira/browse/OFBIZ-2781.

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenWidgetViewHandler.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenWidgetViewHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenWidgetViewHandler.java?rev=800461&r1=800460&r2=800461&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenWidgetViewHandler.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ScreenWidgetViewHandler.java Mon Aug  3 16:43:59 2009
@@ -98,6 +98,7 @@
             htmlScreenRenderer.renderScreenBegin(writer, screens.getContext());
             screens.render(page);
             htmlScreenRenderer.renderScreenEnd(writer, screens.getContext());
+            writer.flush();
         } catch (IOException e) {
             throw new ViewHandlerException("Error in the response writer/output stream: " + e.toString(), e);
         } catch (SAXException e) {