You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2022/03/03 12:21:12 UTC

[wicket] branch master updated: Fix to the ajax request attributes table

This is an automated email from the ASF dual-hosted git repository.

adelbene pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
     new 3fe4864  Fix to the ajax request attributes table
3fe4864 is described below

commit 3fe4864125da3cb0d7951960566427edcb98db94
Author: Andrea Del Bene <an...@host.it>
AuthorDate: Thu Mar 3 13:18:15 2022 +0100

    Fix to the ajax request attributes table
---
 wicket-user-guide/src/main/asciidoc/ajax/ajax_5.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wicket-user-guide/src/main/asciidoc/ajax/ajax_5.adoc b/wicket-user-guide/src/main/asciidoc/ajax/ajax_5.adoc
index 901c475..a2de03f 100644
--- a/wicket-user-guide/src/main/asciidoc/ajax/ajax_5.adoc
+++ b/wicket-user-guide/src/main/asciidoc/ajax/ajax_5.adoc
@@ -15,7 +15,8 @@ AjaxRequestAttributes exposes the attributes used to generate the JavaScript cal
 |mp | If the AJAX call involves the submission of a form, this flag indicates whether the data must be encoded using the encoding mode “multipart/form-data”. | false
 |sc | The input name of the submitting component of the form |
 |async | A boolean parameter that indicates if the AJAX call is asynchronous (true) or not. | true
-|wr | Specifies the type of data returned by the AJAX call (XML, HTML, JSON, etc...). | XML
+|dt | Specifies the type of data returned by the AJAX call (XML, HTML, JSON, etc...). | XML
+|wr | Boolean flag which indicates whether the response is <ajax-response> which is handled by wicket-ajax.js or custom response type which can be handled by application's code (e.g. in IAjaxCallListener's success handler). | true
 |ih, bh, pre, bsh, ah, sh, fh, coh, dh | This is a list of the listeners that are executed on client side (they are JavaScript scripts) during the lifecycle of an AJAX request. Each short name is the abbreviation of one of the methods defined in the interface IAjaxCallListener (see below). | An empty list
 |===