incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmatth...@apache.org
Subject svn commit: r1074301 - /incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/view/simple/TemplateTag.java
Date Thu, 24 Feb 2011 21:26:40 GMT
Author: rmatthews
Date: Thu Feb 24 21:26:40 2011
New Revision: 1074301

URL: http://svn.apache.org/viewvc?rev=1074301&view=rev
Log:
Removed comments inserted by  templates to that IE8 doesn't accidently flip into 'Quirks'
mode messing up the layout.

Modified:
    incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/view/simple/TemplateTag.java

Modified: incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/view/simple/TemplateTag.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/view/simple/TemplateTag.java?rev=1074301&r1=1074300&r2=1074301&view=diff
==============================================================================
--- incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/view/simple/TemplateTag.java
(original)
+++ incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/view/simple/TemplateTag.java
Thu Feb 24 21:26:40 2011
@@ -29,7 +29,8 @@ public class TemplateTag implements Elem
     }
 
     public void process(Request request) {
-        request.appendHtml("<!--  apply template " + request.getOptionalProperty("file")
+ " -->");
+        // REVIEW this make IE8 render poorly as the browser doesn't think a DOCTYPE is provided,
causing it to run in quirk mode 
+//        request.appendHtml("<!--  zz apply template " + request.getOptionalProperty("file")
+ " -->");
     }
 
 }



Mime
View raw message