📄 ajaxtags.tld
字号:
<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>caption</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description>The caption for this tab</description> </attribute> <attribute> <name>defaultTab</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Indicates whether this tab is the initial one loaded [true|false] </description> </attribute> </tag> <tag> <name>portlet</name> <tag-class>net.sourceforge.ajaxtags.tags.AjaxPortletTag</tag-class> <description> Builds the JavaScript required to build a portlet style view </description> <attribute> <name>withBar</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>To start the Portlet with bar. default is true </description> </attribute> <attribute> <name>startMinimize</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>To start the Portlet minimized</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 portlet 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 </description> </attribute> <attribute> <name>source</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description>The ID of the portlet</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>classNamePrefix</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description> CSS class name prefix to use for the portlet's 'Box', 'Tools', 'Refresh', 'Size', 'Close', 'Title', and 'Content' elements </description> </attribute> <attribute> <name>title</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description>Title for portlet header</description> </attribute> <attribute> <name>imageClose</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>Image used for the close icon</description> </attribute> <attribute> <name>imageMaximize</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>Image used for the maximize icon</description> </attribute> <attribute> <name>imageMinimize</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>Image used for the minimize icon</description> </attribute> <attribute> <name>imageRefresh</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>Image used for the refresh icon</description> </attribute> <attribute> <name>refreshPeriod</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The time (in seconds) the portlet waits before automatically refreshing its content. If no period is specified, the portlet will not refresh itself automatically, but must be commanded to do so by clicking the refresh image/link (if one is defined). Lastly, the refresh will not occur until after the first time the content is loaded, so if executeOnLoad is set to false, the refresh will not begin until you manually refresh the first time. </description> </attribute> <attribute> <name>executeOnLoad</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Indicates whether the portlet's content should be retrieved when the page loads [default=true] </description> </attribute> <attribute> <name>expireDays</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Number of days cookie should persist </description> </attribute> <attribute> <name>expireHours</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Number of hours cookie should persist </description> </attribute> <attribute> <name>expireMinutes</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Number of minutes cookie should persist </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>area</name> <tag-class>net.sourceforge.ajaxtags.tags.AjaxAreaTag</tag-class> <description> Builds the JavaScript required to wrap an area on the page with AJAX capabilities. </description> <attribute> <name>id</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description> Name of ID used for enclosing DIV tag written by tag </description> </attribute> <attribute> <name>style</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>Inline CSS style properties</description> </attribute> <attribute> <name>styleClass</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>CSS class name to use</description> </attribute> <attribute> <name>ajaxAnchors</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Whether to rewrite HTML anchor tags with an onclick event </description> </attribute> </tag> <tag> <name>displayTag</name> <tag-class>net.sourceforge.ajaxtags.tags.AjaxDisplayTag</tag-class> <description> Builds the JavaScript required to wrap a DisplayTag with AJAX capability. </description> <attribute> <name>id</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description> Name of ID used for enclosing DIV tag written by tag </description> </attribute> <attribute> <name>pagelinksClass</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> CSS class name of the DisplayTag's navigation links, often named "pagelinks" by default in DisplayTag </description> </attribute> <attribute> <name>columnClass</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The CSS class of the TD within the THEAD of the table that should have its HREFs rewritten. </description> </attribute> <attribute> <name>baseUrl</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> URL of server-side page where DisplayTable is created. Useful in a Struts/Tiles environment where several JSPs are combined in a response and you need just the single JSP for the DisplayTable. </description> </attribute> <attribute> <name>preFunction</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> Function to execute befor Ajax is started </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>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> </tag> <tag> <name>anchors</name> <tag-class>net.sourceforge.ajaxtags.tags.AjaxAnchorsTag</tag-class> <description> Builds the JavaScript required to rewrite HTML anchor tags with onclick events to enable AJAX capabilities. </description> <attribute> <name>target</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description> The target region on the page where the AJAX response will be written, often a DIV tag </description> </attribute> </tag> <tag> <name>callback</name> <tag-class>net.sourceforge.ajaxtags.tags.AjaxServerCallback</tag-class> <description> Builds the JavaScript required to let the server update the site </description> <attribute> <name>parser</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>The parser vor XML response</description> </attribute> <attribute> <name>baseUrl</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description>The url which update the site</description> </attribute> <attribute> <name>errorFunction</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>The errorFunction</description> </attribute> <attribute> <name>postFunction</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description>The postFunction</description> </attribute> <attribute> <name>preFunction</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>The preFunction</description> </attribute> <attribute> <name>plainText</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>is the update html or plainText</description> </attribute> </tag> <!-- clean --> <tag> <name>editor</name> <tag-class>net.sourceforge.ajaxtags.tags.AjaxEditorTag</tag-class> <description> Builds the JavaScript required to create an in-place editor </description> <attribute> <name>baseUrl</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description> URL of server-side action or servlet that will receive the text entered in the editor </description> </attribute> <attribute> <name>target</name> <required>true</required> <rtexprvalue>true</rtexprvalue> <description>Id of element that will be edited</description> </attribute> <attribute> <name>preFunction</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> A function that will get executed just before the request is sent to the server, should return the parameters to be sent in the URL. Will get two parameters, the entire form and the value of the text control. By default: function(form) {Form.serialize(form)} </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>savingText</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The text shown while the text is sent to the server </description> </attribute> <attribute> <name>mouseOverText</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The text shown during mouseover the editable text </description> </attribute> <attribute> <name>formId</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>The formId</description> </attribute> <attribute> <name>rows</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The row height of the input field (anything greater than 1 uses a multiline textarea for input) </description> </attribute> <attribute> <name>columns</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description> The number of columns the text area should span (works for both single line or multi line) </description> </attribute> <attribute> <name>highlightColor</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>The highlight color</description> </attribute> <attribute> <name>showAcceptButton</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>showAcceptButton</description> </attribute> <attribute> <name>showCancelLink</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <description>showCancelLink</description> </attribute> </tag></taglib>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -