⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ajaxtags.tld

📁 这是AJAX的一个HTML实现! HTML标签AJAX的实现!
💻 TLD
📖 第 1 页 / 共 3 页
字号:
<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE taglib  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">	<!--		Copyright 2007-2008 Jens Kapitza Licensed under the Apache License,		Version 2.0 (the "License"); you may not use this file except in		compliance with the License. You may obtain a copy of the License at		http://www.apache.org/licenses/LICENSE-2.0 Unless required by		applicable law or agreed to in writing, software distributed under the		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR		CONDITIONS OF ANY KIND, either express or implied. See the License for		the specific language governing permissions and limitations under the		License.	--><taglib xmlns="http://java.sun.com/JSP/TagLibraryDescriptor">	<tlib-version>1.3</tlib-version>	<jsp-version>2.0</jsp-version>	<short-name>ajaxtags</short-name>	<uri>http://ajaxtags.sourceforge.net/tags/ajaxtags</uri>	<display-name>Ajax Tag Library</display-name>	<description>Ajax Tag Library is a library, wich make ajax easy to		use by JSP</description>	<tag>		<name>select</name>		<tag-class>net.sourceforge.ajaxtags.tags.AjaxSelectTag</tag-class>		<description>			Builds the JavaScript required to populate a select box			based on some event		</description>		<attribute>			<name>emptyOptionValue</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				the value for the option when select target is not				filled by ajax response				default EMPTY 			</description>		</attribute>		<attribute>			<name>emptyOptionName</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				the display text for the option when select target is				not filled by				ajax response				default EMPTY	</description>		</attribute>		<attribute>			<name>doPost</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				set methodtype to post if true else false			</description>		</attribute>		<attribute>			<name>var</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Name of the JavaScript object created			</description>		</attribute>		<attribute>			<name>attachTo</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Name of the JavaScript object to which select box will				attach. You must define 'var' for this to work.			</description>		</attribute>		<attribute>			<name>baseUrl</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				URL of server-side action or servlet that processes				search and returns list of values used in target select				field			</description>		</attribute>		<attribute>			<name>source</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				The initial select field that will form the basis for				the search via AJAX			</description>		</attribute>		<attribute>			<name>target</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				Select field where value of AJAX search will be				populated			</description>		</attribute>		<attribute>			<name>parameters</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				A comma-separated list of parameters to pass to the				server-side action or servlet			</description>		</attribute>		<attribute>			<name>eventType</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Specifies the event type to attach to the source				field(s)			</description>		</attribute>		<attribute>			<name>executeOnLoad</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Indicates whether the target select/dropdown should be				populated when the object is initialized (this is				essentially when				the form loads) [default=false]			</description>		</attribute>		<attribute>			<name>defaultOptions</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				A comma-seperated list of values of options to be marked				as selected by default if they exist in the new set of				options			</description>		</attribute>		<attribute>			<name>preFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute before Ajax is begun			</description>		</attribute>		<attribute>			<name>postFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute after Ajax is finished, allowing for				a chain of additional functions to execute			</description>		</attribute>		<attribute>			<name>errorFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute if there is a server exception				(non-200 HTTP response)			</description>		</attribute>		<attribute>			<name>parser</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				The response parser to implement				[default=ResponseHtmlParser]			</description>		</attribute>	</tag>	<tag>		<name>autocomplete</name>		<tag-class>net.sourceforge.ajaxtags.tags.AjaxAutocompleteTag</tag-class>		<description>			Builds the JavaScript required to populate an input field			as			the user types		</description>		<attribute>			<name>var</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Name of the JavaScript object created			</description>		</attribute>		<attribute>			<name>attachTo</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Name of the JavaScript object to which autocompleter				will attach. You must define 'var' for this to work.			</description>		</attribute>		<attribute>			<name>baseUrl</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				URL of server-side action or servlet that processes				search and returns list of values used in autocomplete				dropdown			</description>		</attribute>		<attribute>			<name>source</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				Text field where label of autocomplete selection will be				populated; also the field in which the user types out				the search				string			</description>		</attribute>		<attribute>			<name>target</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				Text field where value of autocomplete selection will be				populated; you may set this to the same value as the				source field			</description>		</attribute>		<attribute>			<name>parameters</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				A comma-separated list of parameters to pass to the				server-side action or servlet			</description>		</attribute>		<attribute>			<name>className</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				CSS class name to apply to the popup autocomplete				dropdown			</description>		</attribute>		<attribute>			<name>minimumCharacters</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Minimum number of characters needed before autocomplete				is executed			</description>		</attribute>		<attribute>			<name>indicator</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				ID of indicator region that will show during Ajax				request call			</description>		</attribute>		<attribute>			<name>appendSeparator</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				The separator to use for the target field when values				are appended [default=space]. If appendValue is not set				or is set to				"false", this parameter has no effect.			</description>		</attribute>		<attribute>			<name>preFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute before Ajax is begun			</description>		</attribute>		<attribute>			<name>postFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute after Ajax is finished, allowing for				a chain of additional functions to execute			</description>		</attribute>		<attribute>			<name>errorFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute if there is a server exception				(non-200 HTTP response)			</description>		</attribute>		<attribute>			<name>parser</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				The response parser to implement				[default=ResponseHtmlParser]			</description>		</attribute>	</tag>	<tag>		<name>toggle</name>		<tag-class>net.sourceforge.ajaxtags.tags.AjaxToggleTag</tag-class>		<description>			Builds the JavaScript required to toggle an image on/off		</description>		<attribute>			<name>updateFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>handle the response from server</description>		</attribute>		<attribute>			<name>var</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Name of the JavaScript object created			</description>		</attribute>		<attribute>			<name>attachTo</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Name of the JavaScript object to which toggle will				attach. You must define 'var' for this to work.			</description>		</attribute>		<attribute>			<name>baseUrl</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				URL of server-side action or servlet that processes a				simple command from a toggle action; responds with a				single option				value and label			</description>		</attribute>		<attribute>			<name>parameters</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				A comma-separated list of parameters to pass to the				server-side action or servlet			</description>		</attribute>		<attribute>			<name>source</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>A unique ID for each toggle tag</description>		</attribute>		<attribute>			<name>ratings</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				Comma-delimited list of rating values			</description>		</attribute>		<attribute>			<name>defaultRating</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				The default rating to use from the 'ratings' list			</description>		</attribute>		<attribute>			<name>state</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				ID of hidden form field used to hold the current state			</description>		</attribute>		<attribute>			<name>onOff</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Whether this is a simple on/off (two-value) rating				[default=false]			</description>		</attribute>		<attribute>			<name>containerClass</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				CSS style class for the container wrapping the toggle			</description>		</attribute>		<attribute>			<name>messageClass</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				CSS style class for the message displayed as you				mouseover each toggle image			</description>		</attribute>		<attribute>			<name>selectedClass</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				CSS style class for the rating that's selected			</description>		</attribute>		<attribute>			<name>selectedLessClass</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				CSS style class for the rating that is less than the				selected one as you mouseover			</description>		</attribute>		<attribute>			<name>selectedOverClass</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				CSS style class for the rating that is greater than the				selected one as you mouseover			</description>		</attribute>		<attribute>			<name>overClass</name>			<required>true</required>			<rtexprvalue>true</rtexprvalue>			<description>				CSS style class for the rating that is greater than the				selected one			</description>		</attribute>		<attribute>			<name>preFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute before Ajax is begun			</description>		</attribute>		<attribute>			<name>postFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute after Ajax is finished, allowing for				a chain of additional functions to execute			</description>		</attribute>		<attribute>			<name>errorFunction</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Function to execute if there is a server exception				(non-200 HTTP response)			</description>		</attribute>		<attribute>			<name>parser</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				The response parser to implement				[default=ResponseTextParser]			</description>		</attribute>	</tag>	<tag>		<name>updateField</name>		<tag-class>net.sourceforge.ajaxtags.tags.AjaxFormFieldTag</tag-class>		<description>			Builds the JavaScript required to update one or more form			fields based on the value of another single field		</description>		<attribute>			<name>valueUpdateByName</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				update responsevalues by matching the name			</description>		</attribute>		<attribute>			<name>doPost</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				set methodtype to post if true else false			</description>		</attribute>		<attribute>			<name>var</name>			<required>false</required>			<rtexprvalue>true</rtexprvalue>			<description>				Name of the JavaScript object created			</description>		</attribute>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -