click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r978838 - /click/trunk/click/framework/src/org/apache/click/ControlRegistry.java
Date Sat, 24 Jul 2010 09:51:29 GMT
Author: sabob
Date: Sat Jul 24 09:51:29 2010
New Revision: 978838

URL: http://svn.apache.org/viewvc?rev=978838&view=rev
Log:
deprecated stateful pages. CLK-715

Modified:
    click/trunk/click/framework/src/org/apache/click/ControlRegistry.java

Modified: click/trunk/click/framework/src/org/apache/click/ControlRegistry.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ControlRegistry.java?rev=978838&r1=978837&r2=978838&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ControlRegistry.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ControlRegistry.java Sat Jul 24 09:51:29
2010
@@ -122,14 +122,6 @@ public class ControlRegistry {
      * a new registry is created. This means a control is only registered for
      * a single request and must be registered again for subsequent requests.
      *
-     * <b>Stateful Page note:</b> when invoking this method directly from a stateful
-     * page, ensure the control is registered on every request. Generally this
-     * means that for stateful pages this method should be used in the Page
-     * <tt>onInit</tt> method (which is invoked for every request) instead of
the
-     * Page constructor (which is invoked only once). This warning can be ignored
-     * for stateless pages since both the constructor and onInit method is invoked
-     * every request.
-     *
      * @param control the control to register as an Ajax target
      */
     public static void registerAjaxTarget(Control control) {



Mime
View raw message