AjaxTag Library
Tag htmlContent


Builds the JavaScript required to hook a content area (e.g., DIV tag) to a link, image, or other HTML element's onclick event


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

Attributes
NameRequiredRequest-timeTypeDescription
varfalsetruejava.lang.StringName of the JavaScript object created.
attachTofalsetruejava.lang.String Name of the JavaScript object to which htmlContent will attach. You must define 'var' attribute for this to work.
baseUrltruetruejava.lang.String URL of server-side action or servlet that processes a simple command.
sourcefalsetruejava.lang.String The ID of the element to which the event will be attached.
sourceClassfalsetruejava.lang.String The CSS class name of the elements to which the event will be attached.
parameterstruetruejava.lang.String A comma-separated list of parameters to pass to the server-side action or servlet.
targettruetruejava.lang.String ID of DIV tag or other element that will be filled with the response's HTML.
eventTypefalsetruejava.lang.String Specifies the event type to attach to the source field(s).
preFunctionfalsetruejava.lang.String Function to execute before AJAX is started. Should return string "cancel" to cancel AJAX execution.
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).

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.