incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmatth...@apache.org
Subject svn commit: r1399257 - in /incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher: Dispatcher.java ErrorCollator.java
Date Wed, 17 Oct 2012 13:46:43 GMT
Author: rmatthews
Date: Wed Oct 17 13:46:43 2012
New Revision: 1399257

URL: http://svn.apache.org/viewvc?rev=1399257&view=rev
Log:
ISIS-162 - Improved debug information being made available.

Modified:
    incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/Dispatcher.java
    incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java

Modified: incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/Dispatcher.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/Dispatcher.java?rev=1399257&r1=1399256&r2=1399257&view=diff
==============================================================================
--- incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/Dispatcher.java
(original)
+++ incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/Dispatcher.java
Wed Oct 17 13:46:43 2012
@@ -57,7 +57,7 @@ import org.apache.isis.viewer.scimpi.dis
 import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugAction;
 import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugUserAction;
 import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugUsers;
-import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugWriter;
+import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugHtmlWriter;
 import org.apache.isis.viewer.scimpi.dispatcher.debug.LogAction;
 import org.apache.isis.viewer.scimpi.dispatcher.edit.EditAction;
 import org.apache.isis.viewer.scimpi.dispatcher.edit.RemoveAction;
@@ -288,7 +288,7 @@ public class Dispatcher {
         final PrintWriter writer = context.getWriter();
         writer.write(page);
         if (context.getDebug() == Debug.PAGE) {
-            final DebugWriter view = new DebugWriter(writer, false);
+            final DebugHtmlWriter view = new DebugHtmlWriter(writer, false);
             context.append(view);
         }
     }

Modified: incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java?rev=1399257&r1=1399256&r2=1399257&view=diff
==============================================================================
--- incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java
(original)
+++ incubator/isis/trunk/framework/viewer/scimpi/scimpi-dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/ErrorCollator.java
Wed Oct 17 13:46:43 2012
@@ -31,7 +31,7 @@ import org.apache.isis.core.commons.debu
 import org.apache.isis.core.commons.debug.DebugTee;
 import org.apache.isis.runtimes.dflt.runtime.system.context.IsisContext;
 import org.apache.isis.viewer.scimpi.dispatcher.context.RequestContext;
-import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugWriter;
+import org.apache.isis.viewer.scimpi.dispatcher.debug.DebugHtmlWriter;
 import org.apache.log4j.Logger;
 
 public class ErrorCollator {
@@ -120,7 +120,7 @@ public class ErrorCollator {
                 dir.mkdirs();
             }
             writer = new PrintWriter(new File(dir, "error_" + errorRef + ".html"));
-            final DebugWriter writer2 = new DebugWriter(writer, true);
+            final DebugHtmlWriter writer2 = new DebugHtmlWriter(writer, true);
             writer2.concat(debugHtml);
             writer2.close();
             writer.close();



Mime
View raw message