click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r940044 - /click/trunk/click/documentation/docs/roadmap-changes.html
Date Sat, 01 May 2010 14:45:07 GMT
Author: sabob
Date: Sat May  1 14:45:07 2010
New Revision: 940044



Modified: click/trunk/click/documentation/docs/roadmap-changes.html
--- click/trunk/click/documentation/docs/roadmap-changes.html (original)
+++ click/trunk/click/documentation/docs/roadmap-changes.html Sat May  1 14:45:07 2010
@@ -189,10 +189,14 @@ includes improved Ajax support and @Bind
       <li class="change">
-        Added improved stateful page support when adding controls to containers.
-        In previous releases an exception was raised if the control is
-        already present in the container or page. The new behavior is to silently
-        replace the existing control
+        Added new method <a href="click-api/org/apache/click/control/Container.html#replace(
Control, Control)">Container.replace</a>
+        for replacing an existing control with a new control. In previous releases,
+        an exception would be raised if a page or container already contained a
+        control with the same name as the newly added control. In 2.2.0 the
+        replace method is automatically called when adding a control which name
+        matches that of an existing control in the page or container. This behavior
+        will likely only benefit <tt>stateful</tt> pages since <tt>stateless</tt>
+        pages are recreated each request
         [<a target="_blank" href="">CLK-666</a>].
       <li class="change">

View raw message