You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/06/04 02:50:55 UTC
[1/2] git commit: Improve some documentation
Updated Branches:
refs/heads/master fe478d686 -> 85284b2b1
Improve some documentation
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/99a1d81a
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/99a1d81a
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/99a1d81a
Branch: refs/heads/master
Commit: 99a1d81a6c51bd51b3dc3776e39a11b1e3bc3b05
Parents: fe478d6
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Jun 3 16:56:35 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Jun 3 16:56:35 2013 -0700
----------------------------------------------------------------------
.../services/javascript/Initialization.java | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/99a1d81a/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/Initialization.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/Initialization.java b/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/Initialization.java
index b201de8..64cb880 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/Initialization.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/services/javascript/Initialization.java
@@ -24,8 +24,8 @@ public interface Initialization
{
/**
- * Specifies the function to invoke. If not invoked, then the module is expected to export
- * just a single function.
+ * Specifies the function to invoke. If this method is not invoked, then the module is expected to export
+ * just a single function (which may, or may not, take {@linkplain #with(Object...) parameters}).
*
* @param functionName
* name of a function exported by the module.
@@ -35,6 +35,8 @@ public interface Initialization
/**
* Changes the initialization priority of the initialization from its default, {@link InitializationPriority#NORMAL}.
+ * <p/>
+ * Note: it is possible that this method may be removed before release 5.4 is final.
*
* @param priority
* new priority
@@ -43,7 +45,7 @@ public interface Initialization
Initialization priority(InitializationPriority priority);
/**
- * Specifies the arguments to be passed to the function. Normally, just a single {@link org.apache.tapestry5.json.JSONObject}
+ * Specifies the arguments to be passed to the function. Often, just a single {@link org.apache.tapestry5.json.JSONObject}
* is passed. When multiple Initializations exist with the same function name (or no function name), and no arguments,
* they are coalesced into a single Initialization: it is assumed that an initialization with no parameters needs to
* only be invoked once.
[2/2] git commit: TAP5-2125: Ajax form submissions via jQuery may
pass t:formdata as "t:formdata[]" if there are multiple values
Posted by hl...@apache.org.
TAP5-2125: Ajax form submissions via jQuery may pass t:formdata as "t:formdata[]" if there are multiple values
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/85284b2b
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/85284b2b
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/85284b2b
Branch: refs/heads/master
Commit: 85284b2b131e19929b407b352cf0264f30090efd
Parents: 99a1d81
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Jun 3 17:50:50 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Jun 3 17:50:50 2013 -0700
----------------------------------------------------------------------
.../org/apache/tapestry5/t5-core-dom-jquery.coffee | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/85284b2b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
index 8c6506f..8e8e078 100644
--- a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
+++ b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
@@ -402,6 +402,7 @@ define ["underscore", "./utils", "jquery"], (_, utils, $) ->
url: url
type: options.method?.toUpperCase() or "POST"
contentType: options.contentType
+ traditional: true
data: options.parameters
# jQuery doesn't have the equivalent of Protoype's onException
error: (jqXHR, textStatus, errorThrown) ->
[2/2] git commit: TAP5-2125: Ajax form submissions via jQuery may
pass t:formdata as "t:formdata[]" if there are multiple values
Posted by hl...@apache.org.
TAP5-2125: Ajax form submissions via jQuery may pass t:formdata as "t:formdata[]" if there are multiple values
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/85284b2b
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/85284b2b
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/85284b2b
Branch: refs/heads/master
Commit: 85284b2b131e19929b407b352cf0264f30090efd
Parents: 99a1d81
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Jun 3 17:50:50 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Jun 3 17:50:50 2013 -0700
----------------------------------------------------------------------
.../org/apache/tapestry5/t5-core-dom-jquery.coffee | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/85284b2b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
index 8c6506f..8e8e078 100644
--- a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
+++ b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
@@ -402,6 +402,7 @@ define ["underscore", "./utils", "jquery"], (_, utils, $) ->
url: url
type: options.method?.toUpperCase() or "POST"
contentType: options.contentType
+ traditional: true
data: options.parameters
# jQuery doesn't have the equivalent of Protoype's onException
error: (jqXHR, textStatus, errorThrown) ->