public class AjaxHyperlink extends AjaxDynamicElement
| Name | Description |
|---|---|
elementName | the HTML element name |
onSuccess | JS function, called on a 2xx response on the client |
onFailure | JS function, called on a non-200 response on the client |
onComplete | JS function, called on completion |
onLoading | the js function to call when loading |
evalScripts | whether or not to eval scripts on the result |
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 |
onClickServer | JS returned from the server after the update |
action | method to call |
title | title of the link |
string | optional string for link text for when there is no element content |
id | id of the link |
class | class of the link |
style | style of the link |
disabled | whether or not this link is disabled |
functionName | if set, the link becomes a javascript function |
ERXDynamicElement.ContextData<T>log| Constructor and Description |
|---|
AjaxHyperlink(String name,
NSDictionary<String,com.webobjects.appserver.WOAssociation> associations,
com.webobjects.appserver.WOElement children) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRequiredWebResources(com.webobjects.appserver.WOResponse res,
com.webobjects.appserver.WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Overridden to call
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext). |
protected NSDictionary |
createAjaxOptions(com.webobjects.appserver.WOComponent component) |
com.webobjects.appserver.WOActionResults |
handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Override this method to return the response for an Ajax request.
|
String |
onClick(com.webobjects.appserver.WOContext context) |
_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 AjaxHyperlink(String name, NSDictionary<String,com.webobjects.appserver.WOAssociation> associations, com.webobjects.appserver.WOElement children)
public String onClick(com.webobjects.appserver.WOContext context)
protected NSDictionary createAjaxOptions(com.webobjects.appserver.WOComponent component)
public void appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementAjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext).appendToResponse in class AjaxDynamicElementresponse - the current responsecontext - context of the transactionprotected void addRequiredWebResources(com.webobjects.appserver.WOResponse res,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementaddRequiredWebResources in class AjaxDynamicElementres - the current responsecontext - context of the transactionpublic com.webobjects.appserver.WOActionResults handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementhandleRequest in interface IAjaxElementhandleRequest in class AjaxDynamicElementrequest - the current requestcontext - context of the transactionCopyright © 2002 – 2020 Project Wonder.