myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r1430801 - /myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/HeadRenderer.java
Date Wed, 09 Jan 2013 11:48:02 GMT
Author: werpu
Date: Wed Jan  9 11:48:02 2013
New Revision: 1430801

URL: http://svn.apache.org/viewvc?rev=1430801&view=rev
Log:
https://issues.apache.org/jira/browse/TRINIDAD-2348
fix for the wrong order of the meta tag rendering



Modified:
    myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/HeadRenderer.java

Modified: myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/HeadRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/HeadRenderer.java?rev=1430801&r1=1430800&r2=1430801&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/HeadRenderer.java
(original)
+++ myfaces/trinidad/branches/trinidad-2.0.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/HeadRenderer.java
Wed Jan  9 11:48:02 2013
@@ -79,10 +79,6 @@ public class HeadRenderer extends XhtmlR
       rw.endElement("title");
     }
 
-    // Write the META generator tag
-    _writeGeneratorTag(context);
-
-    delegateRenderer(context, rc, comp, bean, _styleSheetRenderer);
   }
 
   @Override
@@ -94,6 +90,11 @@ public class HeadRenderer extends XhtmlR
     ) throws IOException
   {
     ResponseWriter rw = context.getResponseWriter();
+    
+    // Write the META generator tag
+    _writeGeneratorTag(context);
+
+    delegateRenderer(context, rc, comp, bean, _styleSheetRenderer);
 
     // trigger the rendering of targeted resource
     // for the HEAD, on UIViewRoot - if there are



Mime
View raw message