public class MTAjaxUpdateLink extends AjaxUpdateLink
| Name | Description |
|---|---|
action | the action to call when the link executes |
directActionName | the direct action to call when link executes |
updateContainerID | the id of the AjaxUpdateContainer to update after performing this action |
title | title of the link |
style | css style of the link |
class | css class of the link |
id | of the link |
disabled | boolean defining if the link renders the tag |
string | string to get preprended to the contained elements |
function | a custom function to call that takes a single parameter that is the action url |
elementName | the element name to use (defaults to "a") |
functionName | if set, the link becomes a javascript function |
button | if true, this is rendered as a javascript button |
async | boolean defining if the update request is sent asynchronously or synchronously, defaults to true |
accesskey | hot key that should trigger the link (optional) |
onCancel | Fired when a request has been cancelled. |
onClickBefore | if the given function returns true, the onClick is executed. This is to support confirm(..) dialogs. |
onClick | JS function, called after the click on the client |
onComplete | Fired when the Request is completed. |
onException | Fired when setting a request header fails. |
onFailure | Fired when the request failed (error status code). |
onRequest | Fired when the Request is sent. |
onSuccess(responseTree, | responseElements, responseHTML, responseJavaScript) Fired when the Request is completed successfully. |
useSpinner | (boolean) use the Spinner class with this request |
defaultSpinnerClass | inclue the default spinner css class in the headers - if false provide your own. |
spinnerOptions | - (object) the options object for the Spinner class |
spinnerTarget | - (mixed) a string of the id for an Element or an Element reference to use instead of the one specifed in the update option. This is useful if you want to overlay a different area (or, say, the parent of the one being updated). |
ERXDynamicElement.ContextData<T>log| Constructor and Description |
|---|
MTAjaxUpdateLink(String name,
NSDictionary<String,com.webobjects.appserver.WOAssociation> associations,
com.webobjects.appserver.WOElement children) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addEffect(NSMutableDictionary options,
String effect,
String updateContainerID,
String effectProperty,
String effectStart,
String duration,
String mode) |
void |
addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Override this method to append the needed scripts for this component.
|
protected NSMutableDictionary<String,String> |
createAjaxOptions(com.webobjects.appserver.WOComponent component) |
String |
onClick(com.webobjects.appserver.WOContext context,
boolean generateFunctionWrapper) |
addEffect, appendToResponse, fullEffectName, handleRequest_containerID, addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, invokeAction, shouldHandleRequestafterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBindingaddChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalueForBinding, valueForBindingpublic MTAjaxUpdateLink(String name, NSDictionary<String,com.webobjects.appserver.WOAssociation> associations, com.webobjects.appserver.WOElement children)
protected NSMutableDictionary<String,String> createAjaxOptions(com.webobjects.appserver.WOComponent component)
createAjaxOptions in class AjaxUpdateLinkpublic void addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementaddRequiredWebResources in class AjaxUpdateLinkresponse - the current responsecontext - context of the transactionpublic String onClick(com.webobjects.appserver.WOContext context, boolean generateFunctionWrapper)
onClick in class AjaxUpdateLinkCopyright © 2002 – 2020 Project Wonder.