Inherited by AjaxDefaultSubmitButton.

Public Member Functions | |
| AjaxSubmitButton (String name, NSDictionary associations, WOElement children) | |
| void | appendToResponse (WOResponse response, WOContext context) |
| NSMutableDictionary | createAjaxOptions (WOComponent component) |
| boolean | disabledInComponent (WOComponent component) |
| WOActionResults | handleRequest (WORequest request, WOContext context) |
| WOActionResults | invokeAction (WORequest worequest, WOContext wocontext) |
| String | nameInContext (WOContext context, WOComponent component) |
Static Public Member Functions | |
| static void | fillInAjaxOptions (IAjaxElement element, WOComponent component, String submitButtonName, NSMutableDictionary options) |
| static boolean | isAjaxSubmit (WORequest request) |
Static Public Attributes | |
| static final String | KEY_AJAX_SUBMIT_BUTTON_NAME = "AJAX_SUBMIT_BUTTON_NAME" |
| static final String | KEY_PARTIAL_FORM_SENDER_ID = "_partialSenderID" |
Protected Member Functions | |
| void | addRequiredWebResources (WOResponse res, WOContext context) |
| AjaxSubmitButton | ( | 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.
Reimplemented in AjaxDefaultSubmitButton.
| NSMutableDictionary createAjaxOptions | ( | WOComponent | component | ) |
| boolean disabledInComponent | ( | WOComponent | component | ) |
| static void fillInAjaxOptions | ( | IAjaxElement | element, | |
| WOComponent | component, | |||
| String | submitButtonName, | |||
| NSMutableDictionary | options | |||
| ) | [static] |
| WOActionResults handleRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) | [virtual] |
Override this method to return the response for an Ajax request.
| request | ||
| context |
Implements AjaxDynamicElement.
| WOActionResults invokeAction | ( | WORequest | request, | |
| WOContext | context | |||
| ) |
Execute the request, if it's comming from our action, then invoke the ajax handler and put the key AJAX_REQUEST_KEY in the request userInfo dictionary (request.userInfo()).
Reimplemented from AjaxDynamicElement.
| static boolean isAjaxSubmit | ( | WORequest | request | ) | [static] |
| String nameInContext | ( | WOContext | context, | |
| WOComponent | component | |||
| ) |
final String KEY_AJAX_SUBMIT_BUTTON_NAME = "AJAX_SUBMIT_BUTTON_NAME" [static] |
final String KEY_PARTIAL_FORM_SENDER_ID = "_partialSenderID" [static] |
1.5.8