sql.DataSource
Container6.3 Overview of AjaxTags
AjaxTags provides various tags to implement the Ajax functionality. Some
of the commonly used tags are discussed in Table 6.1.
Table 6.1 AjaxTags Tags
Tag Name Description Parameters
ajax:anchors Converts any anchor tags
(
tags) to be AJAX
enabled.
target(required)-Target region
on the page where the AJAX
response is output.
ajaxFlag-A boolean flag to
indicate if the rest of the page
is to be ignored in an AJAX
call (default value is false).
ajax:autocomplete Retrieves a list of probable
values from the server, for a
incomplete text in an input
field, and displays them in a
dropdown beneath the input
text field. The input text field
gets autocompleted when a
value is selected from the list.
baseUrl(required)-Server side
url that processes the Ajax
request and returns a list of
values.
source(required)-id of the text
field in which the search string
is specified. Value of
autocomplete selection gets
specified in this field.
target(required)-id of the text
field in which value of
autocomplete selection gets
specified. The target id may be
set to the same value as the
source id if a second field is
not required to be filled with
the autocomplete selection.
parameters(required)-A list of
parameters sent to the server.
112 6 Ajax without JavaScript ??“ AjaxTags
Table 6.
Pages:
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111