Author: ivaynberg Date: Tue Jul 13 15:56:25 2010 New Revision: 963769 URL: http://svn.apache.org/viewvc?rev=963769&view=rev Log: WICKET-2943 introduce Component#onInitialize()
Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java?rev=963769&r1=963768&r2=963769&view=diff ============================================================================== --- wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java (original) +++ wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java Tue Jul 13 15:56:25 2010 @@ -3963,9 +3963,12 @@ public abstract class Component implemen * from this component to the {...@link Page} thus providing the component with an atomic callback * when the component's environment is built out. * <p> - * Overrides must call supe...@link #onInitialize()} + * Overrides must call supe...@link #onInitialize()}. Usually this should be the first thing an + * override does, much like a constructor. + * </p> + * <p> + * Parent containers are guaranteed to be initialized before their children * </p> - * * <p> * It is safe to use {...@link #getPage()} in this method * </p>