portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r581798 - in /portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html: columns/layout.vm tcolumns/layout.vm
Date Thu, 04 Oct 2007 08:27:14 GMT
Author: woonsan
Date: Thu Oct  4 01:27:14 2007
New Revision: 581798

URL: http://svn.apache.org/viewvc?rev=581798&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/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
    portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm

Modified: portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm?rev=581798&r1=581797&r2=581798&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
(original)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
Thu Oct  4 01:27:14 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/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm?rev=581798&r1=581797&r2=581798&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm
(original)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/src/webapp/WEB-INF/templates/layout/html/tcolumns/layout.vm
Thu Oct  4 01:27:14 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


Mime
View raw message