click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r978825 - in /click/trunk/click/documentation/docs: roadmap-changes.html upgrade-path.html
Date Sat, 24 Jul 2010 08:27:12 GMT
Author: sabob
Date: Sat Jul 24 08:27:12 2010
New Revision: 978825

URL: http://svn.apache.org/viewvc?rev=978825&view=rev
Log:
roadmap

Modified:
    click/trunk/click/documentation/docs/roadmap-changes.html
    click/trunk/click/documentation/docs/upgrade-path.html

Modified: click/trunk/click/documentation/docs/roadmap-changes.html
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/roadmap-changes.html?rev=978825&r1=978824&r2=978825&view=diff
==============================================================================
--- click/trunk/click/documentation/docs/roadmap-changes.html (original)
+++ click/trunk/click/documentation/docs/roadmap-changes.html Sat Jul 24 08:27:12 2010
@@ -68,7 +68,8 @@
 <h2>Road Map</h2>
 New Click releases will be released every quarter with the next version Click 2.3.0
 scheduled for the end of June 2010. Tentative features for the next release
-includes improved Ajax support and @Bindable support for Page getters/setters.
+includes improved Ajax support, Page Action support and a Java based configuration
+service.
 
 <p>&nbsp;</p>
 
@@ -76,7 +77,7 @@ includes improved Ajax support and @Bind
 
 <dl>
   <dt><a name="2.3.0"></a>
-      <div class="release-header">Latest Release - Version 2.3.0 Milestone 1 - ?? July
2010</div>
+      <div class="release-header">Latest Release - Version 2.3.0 Milestone 1 - ?? August
2010</div>
   </dt>
   <dd>
       <div style="margin-left:-2em;margin-bottom:1em;">
@@ -88,48 +89,14 @@ includes improved Ajax support and @Bind
       </div>
       <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em">
         <li class="change">
+          Added <a target="_blank" class="external" href="http://www.avoka.com/click-examples/">examples</a>
+          showcasing the new Ajax support. See the Ajax Menu for the full list.
+        </li>
+        <li class="change">
           Added an example FieldSeparator Control and example usage page
           [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-544">CLK-544</a>].
         </li>
       </ul>
-
-    <div style="margin-left: -2em; margin-top: 1.5em; margin-bottom: 1em;">
-      <b>Deprecated:</b>
-    </div>
-    <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em">
-      <li class="change">
-          Deprecated the AbstractLink <tt>parameter</tt> getter methods. You
should
-          still set parameters on links, however binding link parameters to incoming
-          request parameters will be removed in a future release. The main issues
-          with binding link parameters is that all incoming request parameters
-          are bound which can lead to undesirable link parameters (especially
-          problematic for Ajax requests) and possibly memory leaks.
-          <p/>
-          Deprecated methods are:
-          <ul>
-              <li>
-                  <a href="click-api/org/apache/click/control/AbstractLink.html#getParameter(java.lang.String)">AbstractLink.getParameter(String)</a>
-                  - use <a href="click-api/org/apache/click/Context.html#getRequestParameter(java.lang.String)">Context.getRequestParameter(String)</a>
-                  instead
-              </li>
-              <li>
-                  <a href="click-api/org/apache/click/control/AbstractLink.html#getParameters()">AbstractLink.getParameters()</a>
-                  - use <a href="click-api/org/apache/click/Context.html#getRequest()">HttpServletRequest.getParameterMap()</a>
-                  instead
-              </li>
-              <li>
-                  <a href="click-api/org/apache/click/control/AbstractLink.html#getParameterValues(java.lang.String)">AbstractLink.getParameterValues(String)</a>
-                  - use <a href="click-api/org/apache/click/Context.html#getRequestParameterValues(java.lang.String)">Context.getRequestParameterValues(String)</a>
-                  instead
-              </li>
-              <li>
-                  <a href="extras-api/org/apache/click/extras/control/SubmitLink.html#setParameterPrefix(java.lang.String)">SubmitLink.setParameterPrefix(String)</a>
-                  - parameter prefixing was only necessary for binding incoming
-                  request parameters
-              </li>
-           </ul>
-      </li>
-    </ul>
       <div style="margin-left: -2em; margin-top: 1.5em; margin-bottom: 1em;">
         <b>New features and issues resolved:</b>
       </div>
@@ -168,10 +135,6 @@ includes improved Ajax support and @Bind
               [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-705">CLK-705</a>].
           </li>
           <li class="change">
-              Deprecated the AbstractLink parameter <tt>getter</tt> methods
-              [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-685">CLK-685</a>].
-          </li>
-          <li class="change">
               Added a renderId property to ResourceElement to exclude the ID attribute from
rendering
               [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-695">CLK-695</a>].
           </li>

Modified: click/trunk/click/documentation/docs/upgrade-path.html
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/upgrade-path.html?rev=978825&r1=978824&r2=978825&view=diff
==============================================================================
--- click/trunk/click/documentation/docs/upgrade-path.html (original)
+++ click/trunk/click/documentation/docs/upgrade-path.html Sat Jul 24 08:27:12 2010
@@ -84,59 +84,6 @@ versions please email the Click user gro
   <dd>
     <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em">
       <li class="change">
-        AbstractLink binds all incoming request parameters to its own parameter map.
-        There are a number of pitfalls binding parameters to links, namely:
-        <ul style="margin-top:1em">
-            <li>
-                all parameters are bound to the link, even unwanted parameters. This
-                becomes prevalent when replacing the default link behavior
-                with Ajax requests. The Ajax parameters are bound to link
-                parameters, leading to links that render parameters not meant for
-                that link
-            </li>
-            <li>
-                it can lead to memory leaks in stateful pages
-            </li>
-        </ul>
-        If you are using one of the deprecated <tt>getter</tt> methods, you can
-        simply replace it with their Context counterparts:
-        <ul style="margin-top:1em">
-            <li>
-                replace <a href="click-api/org/apache/click/control/AbstractLink.html#getParameter(java.lang.String)">AbstractLink.getParameter(String)</a>
-                with <a href="click-api/org/apache/click/Context.html#getRequestParameter(java.lang.String)">Context.getRequestParameter(String)</a>
-            </li>
-            <li>
-                replace <a href="click-api/org/apache/click/control/AbstractLink.html#getParameters()">AbstractLink.getParameters()</a>
-                with <a href="click-api/org/apache/click/Context.html#getRequest()">HttpServletRequest.getParameterMap()</a>
-            </li>
-            <li>
-                replace <a href="click-api/org/apache/click/control/AbstractLink.html#getParameterValues(java.lang.String)">AbstractLink.getParameterValues(String)</a>
-                with <a href="click-api/org/apache/click/Context.html#getRequestParameterValues(java.lang.String)">Context.getRequestParameterValues(String)</a>
-            </li>
-        </ul>
-        Before:
-        <pre class="prettyprint">
-public void onGet() {
-    if (link.isClicked()) {
-        String value = link.getValue();
-        String id = link.getParameter("id");
-        String[] myArray = link.getParameterValues("myArray");
-    }
-}
-</pre>
-        After:
-        <pre class="prettyprint">
-public void onGet() {
-    if (link.isClicked()) {
-        Context context = getContext();
-        String value = link.getValue();
-        String id = context.getRequestParameter("id");
-        String[] myArray = context.getRequestParameterValues("myArray");
-    }
-}
-</pre>
-      </li>
-      <li class="change">
         The DateField control now accepts month and day names spelled in the 
         locale of the browser or application (see 
         <a href="click-api/org/apache/click/Context.html#getLocale()">Context.getLocale()</a>).



Mime
View raw message