public class AjaxUpdateTrigger
extends 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 Name | Description |
---|
updateContainerIDs | an array of update container IDs to update |
resetAfterUpdate | if true, the array of IDs will be cleared after appendToResponse |