You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by wo...@apache.org on 2007/10/04 10:27:58 UTC
svn commit: r581799 - in
/portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html:
columns/layout.vm tcolumns/layout.vm
Author: woonsan
Date: Thu Oct 4 01:27:58 2007
New Revision: 581799
URL: http://svn.apache.org/viewvc?rev=581799&view=rev
Log:
[JS2-764] There are much DOCTYPE directives in every result page of portal
Thorsten Berger pointed out the following problem and suggested solutions:
Unfortunately the DOCTYPE in the decorator's header.vm is not recognized by Internet Explorer, as it's not the first content in the html page: There's one comment (originating from the layout.vm) in front: <!-- Decorator tigris ${decoTop} - ${decoBottom}-->
No problem with Firefox, the DOCTYPE is recognized there, despite the comment.
So, the html comment, <!-- Decorator ... should be commented out.
Modified:
portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/columns/layout.vm
portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm
Modified: portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/columns/layout.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/columns/layout.vm?rev=581799&r1=581798&r2=581799&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/columns/layout.vm (original)
+++ portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/columns/layout.vm Thu Oct 4 01:27:58 2007
@@ -35,8 +35,8 @@
#set($editing = true)
#set($lastColumn = $renderRequest.getAttribute("numberOfColumns") - 1)
#end
-
-<!-- Decorator $decorator ${decoTop} - ${decoBottom}-->
+
+## Decorator $decorator ${decoTop} - ${decoBottom}
#if ($isRoot)
#parse($myFragment.decoration.header)
#set($layoutClass = "portal-nested-layout")
Modified: portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm?rev=581799&r1=581798&r2=581799&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm (original)
+++ portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm Thu Oct 4 01:27:58 2007
@@ -36,8 +36,8 @@
#set($numberOfColumns=$renderRequest.getAttribute("numberOfColumns"))
#set($lastColumn = $numberOfColumns - 1)
#end
-
-<!-- Decorator $decorator ${decoTop} - ${decoBottom}-->
+
+## Decorator $decorator ${decoTop} - ${decoBottom}
#if ($isRoot)
#parse($myFragment.decoration.header)
#set($layoutClass = "portal-nested-layout")
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org