Inherited by AjaxBehaviour, AjaxHyperlink, AjaxIncludeScript, AjaxInPlaceEditor, AjaxModalContainer, AjaxObserveField, AjaxRemoteLogging, AjaxRoundEffect, AjaxSessionPing, AjaxSubmitButton, AjaxTabbedPanel, AjaxTabbedPanelTab, AjaxTextHinter, AjaxUpdateContainer, and AjaxUpdateLink.

Public Member Functions | |
| AjaxDynamicElement (String name, NSDictionary associations, WOElement children) | |
| void | appendTagAttributeToResponse (WOResponse response, String name, Object object) |
| void | appendToResponse (WOResponse response, WOContext context) |
| NSDictionary | associations () |
| WOAssociation | bindingNamed (String name) |
| boolean | booleanValueForBinding (String name, boolean defaultValue, WOComponent component) |
| abstract WOActionResults | handleRequest (WORequest request, WOContext context) |
| boolean | hasBinding (String name) |
| WOActionResults | invokeAction (WORequest request, WOContext context) |
| void | setValueForBinding (Object value, String name, WOComponent component) |
| String | stringValueForBinding (String name, WOComponent component) |
| void | takeValuesFromRequest (WORequest request, WOContext context) |
| Object | valueForBinding (String name, WOComponent component) |
| Object | valueForBinding (String name, Object defaultValue, WOComponent component) |
Protected Member Functions | |
| String | _containerID (WOContext context) |
| abstract void | addRequiredWebResources (WOResponse response, WOContext context) |
| void | addScriptResourceInHead (WOContext context, WOResponse response, String fileName) |
| void | addScriptResourceInHead (WOContext context, WOResponse response, String framework, String fileName) |
| void | addStylesheetResourceInHead (WOContext context, WOResponse response, String framework, String fileName) |
| void | addStylesheetResourceInHead (WOContext context, WOResponse response, String fileName) |
| boolean | shouldHandleRequest (WORequest request, WOContext context) |
Protected Attributes | |
| Logger | log = Logger.getLogger(getClass()) |
Private Attributes | |
| NSDictionary | _associations |
| WOElement | _children |
| AjaxDynamicElement | ( | String | name, | |
| NSDictionary | associations, | |||
| WOElement | children | |||
| ) |
| String _containerID | ( | WOContext | context | ) | [protected] |
Reimplemented in AjaxModalContainer, AjaxTabbedPanelTab, and AjaxUpdateContainer.
| abstract void addRequiredWebResources | ( | WOResponse | response, | |
| WOContext | context | |||
| ) | [protected, pure virtual] |
Override this method to append the needed scripts for this component.
Implemented in AjaxBehaviour, AjaxHyperlink, AjaxIncludeScript, AjaxInPlaceEditor, AjaxModalContainer, AjaxObserveField, AjaxRemoteLogging, AjaxRoundEffect, AjaxSessionPing, AjaxSubmitButton, AjaxTabbedPanel, AjaxTabbedPanelTab, AjaxTextHinter, AjaxUpdateContainer, and AjaxUpdateLink.
| void addScriptResourceInHead | ( | WOContext | context, | |
| WOResponse | response, | |||
| String | fileName | |||
| ) | [protected] |
| void addScriptResourceInHead | ( | WOContext | context, | |
| WOResponse | response, | |||
| String | framework, | |||
| String | fileName | |||
| ) | [protected] |
| void addStylesheetResourceInHead | ( | WOContext | context, | |
| WOResponse | response, | |||
| String | framework, | |||
| String | fileName | |||
| ) | [protected] |
| void addStylesheetResourceInHead | ( | WOContext | context, | |
| WOResponse | response, | |||
| String | fileName | |||
| ) | [protected] |
| void appendTagAttributeToResponse | ( | WOResponse | response, | |
| String | name, | |||
| Object | object | |||
| ) |
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
Overridden to call addRequiredWebResources(WOResponse, WOContext).
Reimplemented in AjaxBehaviour, AjaxDefaultSubmitButton, AjaxHyperlink, AjaxInPlaceEditor, AjaxModalContainer, AjaxObserveField, AjaxRemoteLogging, AjaxRoundEffect, AjaxSessionPing, AjaxSubmitButton, AjaxTabbedPanel, AjaxTabbedPanelTab, AjaxTextHinter, AjaxUpdateContainer, and AjaxUpdateLink.
| NSDictionary associations | ( | ) |
| WOAssociation bindingNamed | ( | String | name | ) |
| boolean booleanValueForBinding | ( | String | name, | |
| boolean | defaultValue, | |||
| WOComponent | component | |||
| ) |
| abstract WOActionResults handleRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) | [pure virtual] |
Override this method to return the response for an Ajax request.
| request | ||
| context |
Implements IAjaxElement.
Implemented in AjaxBehaviour, AjaxHyperlink, AjaxIncludeScript, AjaxInPlaceEditor, AjaxModalContainer, AjaxObserveField, AjaxRemoteLogging, AjaxRoundEffect, AjaxSessionPing, AjaxSubmitButton, AjaxTabbedPanel, AjaxTabbedPanelTab, AjaxTextHinter, AjaxUpdateContainer, and AjaxUpdateLink.
| boolean hasBinding | ( | String | name | ) |
| 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 in AjaxModalContainer, AjaxObserveField, AjaxSubmitButton, AjaxTabbedPanelTab, and AjaxUpdateContainer.
| void setValueForBinding | ( | Object | value, | |
| String | name, | |||
| WOComponent | component | |||
| ) |
| boolean shouldHandleRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) | [protected] |
| void takeValuesFromRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) |
Reimplemented in AjaxTabbedPanelTab, and AjaxUpdateContainer.
| Object valueForBinding | ( | String | name, | |
| WOComponent | component | |||
| ) |
Implements IAjaxElement.
| Object valueForBinding | ( | String | name, | |
| Object | defaultValue, | |||
| WOComponent | component | |||
| ) |
Implements IAjaxElement.
NSDictionary _associations [private] |
WOElement _children [private] |
Logger log = Logger.getLogger(getClass()) [protected] |
1.5.8