click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r925557 - in /click/trunk/click/documentation/docs: roadmap-changes.html upgrade-path.html
Date Sat, 20 Mar 2010 06:18:36 GMT
Author: sabob
Date: Sat Mar 20 06:18:36 2010
New Revision: 925557

URL: http://svn.apache.org/viewvc?rev=925557&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=925557&r1=925556&r2=925557&view=diff
==============================================================================
--- click/trunk/click/documentation/docs/roadmap-changes.html (original)
+++ click/trunk/click/documentation/docs/roadmap-changes.html Sat Mar 20 06:18:36 2010
@@ -127,6 +127,25 @@ includes improved Ajax support and @Bind
         [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-638">CLK-638</a>].
       </li>
       <li class="change">
+        Added improved disabled behavior through the following changes:
+        <ul style="margin-top:10px">
+            <li>
+                Disabled fields are not processed or validated
+            </li>
+            <li>
+                Disabled field values are not copied to domain objects
+            </li>
+            <li>
+                Disabled fields are automatically enabled if the field has an
+                incoming request parameter indicating that the field was enabled
+                on the client using JavaScript. Please note that this behavior does
+                not apply to Checkbox or Radio fields. See the
+                <a href="click-api/org/apache/click/control/Field.html#setDisabled(boolean)">setDisabled()</a>
+                javadoc for details [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-646">CLK-646</a>].
+            </li>
+        </ul>
+      </li>
+      <li class="change">
         Added methods to Fields for styling their labels. See new methods
         <a href="click-api/org/apache/click/control/Field.html#setLabelStyle(java.lang.String)">Field.setLabelStyle(String)</a>
         and <a href="click-api/org/apache/click/control/Field.html#setLabelStyleClass(java.lang.String)">Field.setLabelStyleClass(String)</a>.

Modified: click/trunk/click/documentation/docs/upgrade-path.html
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/upgrade-path.html?rev=925557&r1=925556&r2=925557&view=diff
==============================================================================
--- click/trunk/click/documentation/docs/upgrade-path.html (original)
+++ click/trunk/click/documentation/docs/upgrade-path.html Sat Mar 20 06:18:36 2010
@@ -83,8 +83,28 @@ versions please email the Click user gro
   <dd>
     <ul style="padding: 0em; margin-left:0em;margin-bottom: 2em">
       <li class="change">
-      	  Click 2.2.0 is backward compatible with Click 2.1.0, but it is
-          recommended to recompile your project against the new jars.
+      	  Field disabled behavior has changed slightly. In previous versions,
+          disabled fields were processed and validated which isn't the desired
+          behavior since HTML form POSTs do not submit disabled fields values.
+          In addition Form copied disabled field values to domain objects.
+          <p/>
+          Starting from Click 2.2.0 the disabled behavior has changed as follows:
+          <ul>
+              <li>
+                  Disabled fields are not processed or validated
+              </li>
+              <li>
+                  Disabled field values are not copied to domain objects
+              </li>
+              <li>
+                  Disabled fields are automatically enabled if the field has an
+                  incoming request parameter indicating that the field was enabled
+                  on the client using JavaScript. Please note that this behavior does
+                  not apply to Checkbox or Radio fields. See the
+                  <a href="click-api/org/apache/click/control/Field.html#setDisabled(boolean)">setDisabled()</a>
+                  javadoc for details.
+              </li>
+          </ul>
       </li>
     </ul>
   </dd>



Mime
View raw message