Author: jcompagner
Date: Wed May  2 10:43:24 2007
New Revision: 534566

URL: http://svn.apache.org/viewvc?view=rev&rev=534566
Log:
renderHead of the page before of the child components

Modified:
    
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/HtmlHeaderContainer.java

Modified: 
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/HtmlHeaderContainer.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/HtmlHeaderContainer.java?view=diff&rev=534566&r1=534565&r2=534566
==============================================================================
--- 
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/HtmlHeaderContainer.java
 (original)
+++ 
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/HtmlHeaderContainer.java
 Wed May  2 10:43:24 2007
@@ -216,6 +216,7 @@
         */
        private final void renderHeaderSections(final WebPage page, final 
HtmlHeaderContainer container)
        {
+               page.renderHead(container);
                // Make sure all Components interested in contributing to the 
header
                // and there attached behaviors are asked.
                page.visitChildren(new IVisitor()
@@ -236,8 +237,6 @@
                                }
                        }
                });
-
-               page.renderHead(container);
        }
 
        /**


Reply via email to