svn commit: r812811 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenWidget.java

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

svn commit: r812811 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenWidget.java

hansbak-2
Author: hansbak
Date: Wed Sep  9 08:08:59 2009
New Revision: 812811

URL: http://svn.apache.org/viewvc?rev=812811&view=rev
Log:
disable not yet finished code, was under the impression it should not interfere with something else, reported by Jacopo

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

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenWidget.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenWidget.java?rev=812811&r1=812810&r2=812811&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenWidget.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenWidget.java Wed Sep  9 08:08:59 2009
@@ -1138,6 +1138,9 @@
 
                 if (UtilValidate.isNotEmpty(mimeTypeId)
                  && ((mimeTypeId.indexOf("application") >= 0) || (mimeTypeId.indexOf("image")) >= 0)) {
+                
+/*                
+ // this code is not yet working, will update it the next few weeks...(Hans)
                  if (mimeTypeId.equals("application/pdf")) {
                  TransformerFactory tfactory = TransformerFactory.newInstance();
                  try {
@@ -1215,8 +1218,8 @@
                  Debug.logError("Exception converting from FO to PDF: " + e, module);
                  }
                  } else {
-                        screenStringRenderer.renderContentFrame(writer, context, this);
-                 }
+*/                        screenStringRenderer.renderContentFrame(writer, context, this);
+//                 }
                 } else {
                     screenStringRenderer.renderContentBegin(writer, context, this);
                     screenStringRenderer.renderContentBody(writer, context, this);