Project Wonder 5.0

er.ajax
Class AjaxUpdateTrigger

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WODynamicElement
          extended by er.ajax.AjaxUpdateTrigger

public class AjaxUpdateTrigger
extends com.webobjects.appserver.WODynamicElement

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.

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

Field Summary
 
Fields inherited from class com.webobjects.appserver.WODynamicElement
_ConstructorParameters
 
Constructor Summary
AjaxUpdateTrigger(java.lang.String name, com.webobjects.foundation.NSDictionary associations, com.webobjects.appserver.WOElement template)
           
 
Method Summary
 void appendToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
           
 
Methods inherited from class com.webobjects.appserver.WODynamicElement
toString
 
Methods inherited from class com.webobjects.appserver.WOElement
invokeAction, takeValuesFromRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AjaxUpdateTrigger

public AjaxUpdateTrigger(java.lang.String name,
                         com.webobjects.foundation.NSDictionary associations,
                         com.webobjects.appserver.WOElement template)
Method Detail

appendToResponse

public void appendToResponse(com.webobjects.appserver.WOResponse response,
                             com.webobjects.appserver.WOContext context)
Overrides:
appendToResponse in class com.webobjects.appserver.WOElement

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.