You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by da...@apache.org on 2010/11/15 00:06:17 UTC

svn commit: r1035095 - /wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java

Author: dashorst
Date: Sun Nov 14 23:06:17 2010
New Revision: 1035095

URL: http://svn.apache.org/viewvc?rev=1035095&view=rev
Log:
Fixed some javadoc stuff

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=1035095&r1=1035094&r2=1035095&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 Sun Nov 14 23:06:17 2010
@@ -82,6 +82,10 @@ import org.slf4j.LoggerFactory;
  * <ul>
  * <li><b>Construction </b>- A Component is constructed with the Java language new operator.
  * Children may be added during construction if the Component is a MarkupContainer.
+ *
+ * <li><b>onInitialize </b>- The {@link #onInitialize()} method is called when a path from this
+ * component to its parent has been established, usually after the component has been added to
+ * its parent.
  * 
  * <li><b>Request Handling </b>- An incoming request is processed by a protocol request handler such
  * as WicketServlet. An associated Application object creates Session, Request and Response objects
@@ -104,8 +108,6 @@ import org.slf4j.LoggerFactory;
  * methods such as onValidate(), onSubmit() and onError() (although only the latter two are likely
  * to be overridden in practice).
  * 
- * <li><b>onBeginRequest </b>- The {@link Component#onBeginRequest()} method is called.
- * 
  * <li><b>Form Submit </b>- If a Form has been submitted and the Component is a FormComponent, the
  * component's model is validated by a call to FormComponent.validate().
  * 
@@ -118,7 +120,7 @@ import org.slf4j.LoggerFactory;
  * Component becomes immutable. Attempts to alter the Component will result in a
  * WicketRuntimeException.
  * 
- * <li><b>onEndRequest </b>() - The {@link Component#onEndRequest()} method is called.
+ * <li><b>onDetach </b>() - The {@link Component#onDetach()} method is called.
  * </ul>
  * 
  * <li><b>Component Models </b>- The primary responsibility of a component is to use its model (an
@@ -3908,7 +3910,7 @@ public abstract class Component implemen
 	 * {@link LoadableDetachableModel} does.
 	 * <p>
 	 * <p>
-	 * Also see {@link #onInitializer()} for an alternative init method
+	 * Also see {@link #onInitialize()} for an alternative init method
 	 * </p>
 	 * <p>
 	 * If you need to get notification when page is taken out of Session (before calling the event
@@ -3963,7 +3965,7 @@ public abstract class Component implemen
 	}
 
 	/**
-	 * @deprecated use onAttach() instead
+	 * @deprecated use {@link onConfigure()} or {@link onBeforeRender()} instead
 	 */
 	// TODO remove after the deprecation release
 	@Deprecated
@@ -4047,7 +4049,7 @@ public abstract class Component implemen
 				throw new IllegalStateException(Component.class.getName() +
 					" has not been properly initialized. Something in the hierarchy of " +
 					getClass().getName() +
-					" has not called super.onInitializer() in the override of onInitialize() method");
+					" has not called super.onInitialize() in the override of onInitialize() method");
 			}
 			setFlag(FLAG_INITIALIZE_SUPER_CALL_VERIFIED, false);