AjaxUpdateTrigger Class Reference

Inherits com::webobjects::appserver::WODynamicElement.

Collaboration diagram for AjaxUpdateTrigger:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AjaxUpdateTrigger (String name, NSDictionary associations, WOElement template)
void appendToResponse (WOResponse response, WOContext context)

Private Attributes

NSDictionary _associations
WOAssociation _resetAfterUpdate
WOAssociation _updateContainerIDs


Detailed Description

AjaxUpdateTrigger is useful if you have multiple containers on a page that are controlled by a central parent component. AjaxUpdateTrigger allows you to pass in an array of containers that need to be updated. An example of this is if you have multiple editable areas on a page and only one should be in edit mode at a time. If you put an AjaxUpdateTrigger inside the edit view, you can set the other components to not be in edit mode and trigger all of the other update containers to update, reflecting their new non-editable status.

updateContainerIDs an array of update container IDs to update resetAfterUpdate if true, the array of IDs will be cleared after appendToResponse

Author:
mschrag

Constructor & Destructor Documentation

AjaxUpdateTrigger ( String  name,
NSDictionary  associations,
WOElement  template 
)


Member Function Documentation

void appendToResponse ( WOResponse  response,
WOContext  context 
)


Member Data Documentation

NSDictionary _associations [private]

WOAssociation _resetAfterUpdate [private]

WOAssociation _updateContainerIDs [private]


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

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