You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jb...@apache.org on 2007/04/06 00:26:21 UTC
svn commit: r525983 -
/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java
Author: jbq
Date: Thu Apr 5 15:26:18 2007
New Revision: 525983
URL: http://svn.apache.org/viewvc?view=rev&rev=525983
Log:
* WICKET-420 IBehavior.beforeRender() is never called
* And also fix a typo for onAttach() not calling super.onAttach()
Modified:
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java
Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java?view=diff&rev=525983&r1=525982&r2=525983
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/wicket/Component.java Thu Apr 5 15:26:18 2007
@@ -1489,6 +1489,7 @@
{
// Call implementation to render component
onBeforeRender();
+ notifyBehaviorsComponentBeforeRender();
try
{
onRender(markupStream);
@@ -2723,7 +2724,7 @@
throw new IllegalStateException(Component.class.getName()
+ " has not been properly attached. Something in the hierarchy of "
+ getClass().getName()
- + " has not called super.onAtach() in the override of onAttach() method");
+ + " has not called super.onAttach() in the override of onAttach() method");
}
}