Database Reference
In-Depth Information
them differently. If you need control over the look and feel of dialogs, you likely need to
consider using a dialog plugin for APEX or coding your own dialogs based on jQuery.
Dynamic Actions with Multiple Triggering Elements
Dynamic actions also give you the opportunity to define multiple triggering elements.
Using this method, you only need to create a single dynamic action to catch the events
of several page items.
Your public ticket-entry page contains several page items that shouldn't be left
blank. However, your APEX validations won't fire until the user submits the page. In
this exercise, you create a dynamic action that checks each of these page items as you
navigate through the form to see if you left the value null. If the value is null, the back-
ground color of the item will be set to pink using the background style element. If it is
not null, the background of the item will be set back to white. Follow these steps:
1.
Edit Page 2 of the application.
2.
Create a new dynamic action by right-clicking the Dynamic Actions node
in the Page Rendering tree and choosing Create from the context menu.
3.
Enter Highlight Null Values for Name , and click Next .
Figure 16-13. Creating a dynamic action with multiple triggering elements
4.
Set Event to Lose Focus , and enter the following for the Items field, as
shown in Figure 16-13 :
 
 
Search WWH ::




Custom Search