Author: knopp
Date: Mon Oct 29 16:20:18 2007
New Revision: 589905

URL: http://svn.apache.org/viewvc?rev=589905&view=rev
Log:
WICKET-836

Modified:
    
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java
    
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackIndicator.java

Modified: 
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java?rev=589905&r1=589904&r2=589905&view=diff
==============================================================================
--- 
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java
 (original)
+++ 
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java
 Mon Oct 29 16:20:18 2007
@@ -85,8 +85,9 @@
        /**
         * Update the 'visible' flag to indicate the existence (or lack 
thereof) of feedback messages
         */
-       public void updateFeedback()
+       protected void onBeforeRender()
        {
+               super.onBeforeRender();
                // Get the messages for the current page
                visible = 
Session.get().getFeedbackMessages().messages(getMessagesFilter()).size() != 0;
        }

Modified: 
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackIndicator.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackIndicator.java?rev=589905&r1=589904&r2=589905&view=diff
==============================================================================
--- 
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackIndicator.java
 (original)
+++ 
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackIndicator.java
 Mon Oct 29 16:20:18 2007
@@ -71,8 +71,9 @@
        /**
         * Set the component's visibility according to the existence (or not) 
of feedback messages
         */
-       public void updateFeedback()
+       public void onBeforeRender()
        {
+               super.onBeforeRender();
                // Get the messages for the current page
                
setVisible(Session.get().getFeedbackMessages().hasMessage(getFeedbackMessageFilter()));
        }


Reply via email to