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/14 17:51:22 UTC

svn commit: r537891 - /incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IComponentAssignedModel.java

Author: jcompagner
Date: Mon May 14 08:51:20 2007
New Revision: 537891

URL: http://svn.apache.org/viewvc?view=rev&rev=537891
Log:
added javadoc with a big warning that the component doesn't have to be fully constructed.

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

Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IComponentAssignedModel.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IComponentAssignedModel.java?view=diff&rev=537891&r1=537890&r2=537891
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IComponentAssignedModel.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/model/IComponentAssignedModel.java Mon May 14 08:51:20 2007
@@ -49,6 +49,12 @@
 public interface IComponentAssignedModel extends IModel
 {
 	/**
+	 * This method is called when the component gets its model assigned.
+	 * 
+	 * WARNING: Because the model can be assigned in the constructor of
+	 * component this method can also be called with a 'this' of a component
+	 * that is not fully constructed yet. 
+	 *   
 	 * @param component
 	 * @return The WrapModel that wraps this model
 	 */