Databases Reference
In-Depth Information
Figure 7-19. Event Scopes
Bind : The default method that APEX attaches events to objects with is the bind
method. Bind means that the Dynamic Action will be run each time the event
occurs on the object. If the object is replaced, the event is no longer attached to
the object (it's considered a new object) and the Dynamic Action will not be
triggered.
Live : Live is very similar to the bind option except that the event will be attached
to the object for the lifetime of the page or any new objects of that type. If a
Dynamic Action is attached to a row in an Interactive Report then this option will
ensure that the Dynamic Action will be triggered each time it is refreshed.
Once: If you want a Dynamic Action to fire only once, select this option. For
example, you would use this option if you wanted to display a warning message
the first time the user selected a department. Otherwise, it may get annoying to
the user to consistently get the same warning message. If the action Dynamic
Action is set to trigger on page load and is executed during the page load it will still
run one more time when its event is triggered.
For more information about attaching events, please refer to the following documentation:
http://api.jquery.com/category/events/event-handler-attachment . The jQuery API contains
additional event handler attachment options that are currently not available in APEX.
Actions
The True and False Actions sections, as shown in Figure 7-20, contain action(s) to perform based on the
Dynamic Action's condition. If multiple actions exist in each section they will be synchronously
executed in order, determined by their sequence number.
Search WWH ::




Custom Search