AjaxTag Library
Tag updateField

Builds the JavaScript required to update one or more form fields based on the value of another single field.

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

valueUpdateByNamefalsetruebooleanUpdate response values by matching the name.
varfalsetruejava.lang.StringName of the JavaScript object created.
attachTofalsetruejava.lang.String Name of the JavaScript object to which updateField 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.
sourcetruetruejava.lang.String The form field that will hold the parameter passed to the servlet.
targettruetruejava.lang.String A comma-delimited list of form field IDs that will be populated with results.
actiontruetruejava.lang.String ID of form button or image tag that will fire the onclick event.
parametersfalsetruejava.lang.String A comma-separated list of parameters to pass to the server-side action or servlet.
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).
parserfalsetruejava.lang.String The response parser to implement Default: ResponseHtmlParser

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.