
Public Member Functions | |
| AjaxHyperlink (String name, NSDictionary associations, WOElement children) | |
| void | appendToResponse (WOResponse response, WOContext context) |
| WOActionResults | handleRequest (WORequest request, WOContext context) |
| String | onClick (WOContext context) |
Protected Member Functions | |
| void | addRequiredWebResources (WOResponse res, WOContext context) |
| NSDictionary | createAjaxOptions (WOComponent component) |
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
| AjaxHyperlink | ( | String | name, | |
| NSDictionary | associations, | |||
| WOElement | children | |||
| ) |
| void addRequiredWebResources | ( | WOResponse | response, | |
| WOContext | context | |||
| ) | [protected, virtual] |
Override this method to append the needed scripts for this component.
Implements AjaxDynamicElement.
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
Overridden to call addRequiredWebResources(WOResponse, WOContext).
Reimplemented from AjaxDynamicElement.
| NSDictionary createAjaxOptions | ( | WOComponent | component | ) | [protected] |
| WOActionResults handleRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) | [virtual] |
Override this method to return the response for an Ajax request.
| request | ||
| context |
Implements AjaxDynamicElement.
| String onClick | ( | WOContext | context | ) |
1.5.8