AjaxDynamicElement Class Reference

Inherits com::webobjects::appserver::_private::WODynamicGroup, and er::ajax::IAjaxElement.

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

Collaboration diagram for AjaxDynamicElement:

Collaboration graph
base refererrect $interfaceer_1_1ajax_1_1_i_ajax_element.html 31,8 132,32
[legend]

List of all members.

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


Constructor & Destructor Documentation

AjaxDynamicElement ( String  name,
NSDictionary  associations,
WOElement  children 
)


Member Function Documentation

String _containerID ( WOContext  context  )  [protected]

abstract void addRequiredWebResources ( WOResponse  response,
WOContext  context 
) [protected, pure virtual]

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 
)

NSDictionary associations (  ) 

WOAssociation bindingNamed ( String  name  ) 

boolean booleanValueForBinding ( String  name,
boolean  defaultValue,
WOComponent  component 
)

abstract WOActionResults handleRequest ( WORequest  request,
WOContext  context 
) [pure virtual]

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]

String stringValueForBinding ( String  name,
WOComponent  component 
)

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.


Member Data Documentation

NSDictionary _associations [private]

WOElement _children [private]

Logger log = Logger.getLogger(getClass()) [protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:37 2012 for Project Wonder by  doxygen 1.5.8