You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jc...@apache.org on 2007/05/08 17:30:59 UTC

svn commit: r536222 - /incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java

Author: jcompagner
Date: Tue May  8 08:30:58 2007
New Revision: 536222

URL: http://svn.apache.org/viewvc?view=rev&rev=536222
Log:
moved before render a few lines so that all the components are created

Modified:
    incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java

Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java?view=diff&rev=536222&r1=536221&r2=536222
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java Tue May  8 08:30:58 2007
@@ -824,6 +824,8 @@
 			((IFeedback)this).updateFeedback();
 		}
 
+		beforeRender();
+		
 		// Visit all this page's children to reset markup streams and check
 		// rendering authorization, as appropriate. We set any result; positive
 		// or negative as a temporary boolean in the components, and when a
@@ -846,7 +848,6 @@
 			}
 		});
 
-		beforeRender();
 		// Handle request by rendering page
 		render(null);