Databases Reference
In-Depth Information
<itemNode id="itemNode_help"
label="label_help"
action="adfMenu_help"
focusViewId="/help"/>
<itemNode id="itemNode_preferences"
label="label_preferences"
action="adfMenu_preferences"
focusViewId="/preferences"/>
<itemNode id="itemNode_shop"
label="label_shop"
action="adfMenu_shop"
focusViewId="/shop"/>
</menu>
More informaion about complex task lows is available at:
http://docs.oracle.com/cd/E35521_01/web.111230/e16182/taskflows_
complex.htm#BABBEECE
Contextual events
ADF supports event-driven development, where an event is raised to mark a status of the
process, and the component will subscribe for the event to proceed with the process. For
example, consider a page in which a component in a page fragment inside a task flow is to
be refreshed whenever the command buton in that page is clicked. In this case, we cannot
use partialTriggers and partialSubmit because the ID of the component will not
be available in the page fragment inside the task flow that holds the component to be
refreshed. In this case, the commandButton opion in the outside page will raise an event
named REFRESH and publish it. The component inside the page fragments will subscribe
for the REFRESH event, refresh the component, and display the updated value.
Time for action - publishing an event and subscribing it
Use the following steps to publish and subscribe an event:
1. Select the component that is raising the REFRESH event.
2. Go to the property inspector and create a contextual event.
 
Search WWH ::




Custom Search