AjaxTag Library
Tag editor


Builds the JavaScript required to create an in-place editor.


Tag Information
Tag Classnet.sourceforge.ajaxtags.tags.AjaxEditorTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
baseUrltruetruejava.lang.String URL of server-side action or servlet that will receive the text entered in the editor.
targettruetruejava.lang.StringId of element that will be edited.
preFunctionfalsetruejava.lang.String 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. Default: function(form){Form.serialize(form)}
postFunctionfalsetruejava.lang.String Function to execute after AJAX is finished, allowing for a chain of additional functions to execute.
errorFunctionfalsetruejava.lang.String Function to execute if there is a server exception (non-200 HTTP response).
savingTextfalsetruejava.lang.String The text shown while the request is sent to the server.
mouseOverTextfalsetruejava.lang.String The text shown during mouseover the editable text.
formIdfalsetruejava.lang.StringThe formId
rowsfalsetruejava.lang.String The number of rows in the input field (anything greater than 1 uses a multiline textarea for input).
columnsfalsetruejava.lang.String The number of columns the text area should span (works for both single line or multi line).
highlightColorfalsetruejava.lang.StringThe highlight color.
showAcceptButtonfalsetruejava.lang.StringshowAcceptButton
showCancelLinkfalsetruejava.lang.StringshowCancelLink

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.