AjaxTag Library
Tag select


Builds the JavaScript required to populate a select box based on some event


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

Attributes
NameRequiredRequest-timeTypeDescription
emptyOptionValuefalsetruejava.lang.String The value for the option when select target is not filled by AJAX response. Default: EMPTY
emptyOptionNamefalsetruejava.lang.String The display text for the option when select target is not filled by AJAX response. Default: EMPTY
varfalsetruejava.lang.String Name of the JavaScript object created.
attachTofalsetruejava.lang.String Name of the JavaScript object to which select box will attach. You must define 'var' attribute for this to work.
baseUrltruetruejava.lang.String URL of server-side action or servlet that processes search and returns list of values used in target select field.
sourcetruetruejava.lang.String The initial select field that will form the basis for the search via AJAX.
targettruetruejava.lang.String Select field where value of AJAX search will be populated.
parameterstruetruejava.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).
executeOnLoadfalsetrueboolean Indicates whether the target select/dropdown should be populated when the object is initialized (this is essentially when the form loads). Default: false
defaultOptionsfalsetruejava.lang.String A comma-separated list of values of options to be marked as selected by default if they exist in the new set of options.
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

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.