This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/master by this push:
new 5af7d39 Drops outdated document
5af7d39 is described below
commit 5af7d390921e85e2a2be19aecfae99ee7a754c05
Author: Lukasz Lenart
AuthorDate: Tue Jan 28 08:32:45 2020 +0100
Drops outdated document
---
source/tag-developers/ajax-common-header.md | 34065 --
1 file changed, 34065 deletions(-)
diff --git a/source/tag-developers/ajax-common-header.md
b/source/tag-developers/ajax-common-header.md
deleted file mode 100644
index e4194f4..000
--- a/source/tag-developers/ajax-common-header.md
+++ /dev/null
@@ -1,34065 +0,0 @@
-layout: default
-title: Tag Developers Guide
-
-# ajax common header
-
-To use this tag:
-
-- Add: `<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>` to your page.
-- The [head](head-tag.html) tag must be included on the page, which can be
configured for performance or debugging purposes.
-- If the `parseContent` parameter for the [head](head-tag.html) tag is false
(it is false by default), then the **id** tag is required.
-
-For more examples see [Ajax and JavaScript
Recipes](ajax-and-javascript-recipes.html)
-
-
-#autocompleter# {#PAGE_46753}
-
-__Description__
-
-
-
-{% comment %}start snippet
id=javadoc|javadoc=true|url=struts2/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java
{% endcomment %}
- The autocomplete tag is a combobox that can autocomplete text entered
on the input box. If an action
- is used to populate the autocompleter, the output of the action must be a
well formed JSON string.
- The autocompleter follows this rule to find its datasource:
- 1. If the response is an array, assume that it contains 2-dimension array
elements, like:
-
- [
- ["Alabama", "AL"],
- ["Alaska", "AK"]
- ]
-
- 2. If a value is specified in the "dataFieldName" attribute, and the
response has a field with that
- name, assume that's the datasource, which can be an array of 2-dimension
array elements, or a map,
- like (assuming dataFieldName="state"):
-
- {
- "state" : [
- ["Alabama","AL"],
- ["Alaska","AK"]
- ]
- }
- or
- {
- "state" : {
-"Alabama" : "AL",
-"Alaska" : "AK"
- }
- }
-
-
- 3. If there is a field that starts with the value specified on the "name"
attribute, assume
- that's the datasource, like (assuming name="state"):
-
- {
- "states" : [
- ["Alabama","AL"],
- ["Alaska","AK"]
- ]
- }
-
- 4. Use first array that is found, like:
-
- {
- "anything" : [
-["Alabama", "AL"],
-["Alaska", "AK"]
- ]
- }
- 5. If the response is a map, use it (recommended as it is the easiest one
to generate):
-
- {
- "Alabama" : "AL",
- "Alaska" : "AK"
- }
-
-
-{% comment %}end snippet
id=javadoc|javadoc=true|url=struts2/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/Autocompleter.java
{% endcomment %}
-
-__Parameters__
-
-
-
-{% comment %}start snippet
id=tagattributes|javadoc=false|url=struts2-tags/ajax/autocompleter.html {%
endcomment %}
-
-
-
-
- Dynamic Attributes
Allowed: false
-
-
-
-
-
-
-
-
-
-
-
- Name
-
- Required
-
- Default
-
- Evaluated
-
- Type
-
- Description
-
-
-
-
-
- accesskey
-
- false
-
-
-
- false
-
- String
-
- Set the
html accesskey attribute on rendered html element
-
-
-
-
-
- afterNotifyTopics
-
- false
-
-
-
- false
-
- String
-
- Comma
delimmited list of topics that will published after the request(if the request
succeeds)
-
-
-
-
-
- autoComplete
-
- false
-
- false
-
- false
-
-