tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bobhar...@apache.org
Subject git commit: Updated 54_RELEASE_NOTES with new description of "secure" parameter values for Select component
Date Sat, 02 Nov 2013 16:09:44 GMT
Updated Branches:
  refs/heads/master 59466100c -> cb372b908


Updated 54_RELEASE_NOTES with new description of "secure" parameter
values for Select component

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/cb372b90
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/cb372b90
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/cb372b90

Branch: refs/heads/master
Commit: cb372b908126129edc3d6e2043a5ad1c62828b03
Parents: 5946610
Author: Bob Harner <bobharner@apache.org>
Authored: Sat Nov 2 12:09:38 2013 -0400
Committer: Bob Harner <bobharner@apache.org>
Committed: Sat Nov 2 12:09:38 2013 -0400

----------------------------------------------------------------------
 54_RELEASE_NOTES.md | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/cb372b90/54_RELEASE_NOTES.md
----------------------------------------------------------------------
diff --git a/54_RELEASE_NOTES.md b/54_RELEASE_NOTES.md
index 6ed3e8e..d4cd3e7 100644
--- a/54_RELEASE_NOTES.md
+++ b/54_RELEASE_NOTES.md
@@ -99,18 +99,14 @@ The code for launching an instance of Jetty or Tomcat has been extracted
to a ne
 
 ## Select Component
 
-The Select component has a new parameter, secure, which defaults to true. When secure, the
submitted
-value must be listed somewhere in the SelectModel.
-
-This means that, by default, all the SelectModels for a form must exist when forms is submitted,
so you
-must 1) recreate the SelectModels when the form is submitted (i.e. in your onPrepare or onPrepareForSubmit
-method), or 2) persist the SelectModels (e.g. in the session with @Persist), or 3) set the
secure
-parameter to false. Otherwise you'll get an error like "Parameter 'model' of component Xxx:yyy
-is bound to null. This parameter is not allowed to be null" when you submit your form.
+The Select component has a new "secure" parameter which can be "always", "never" or "auto".
+When "always", the submitted value must be listed somewhere in the SelectModel. When "never",
+this check is not performed. When "auto" (the default), the check is performed only if the
+SelectModel exists (is non-null) at the time of the submission.
 
 # Breaking Changes:
 
-## tapestry-yuicompressor replaced with tapestry-webresources
+## tapestry-yuicompressor is replaced by tapestry-webresources
 
 The tapestry-yuicompressor module has been removed and superseded by tapestry-webresources.
 


Mime
View raw message