Using Contextual Events: Step 9
9. Specify region refreshing: You also need to define how the regions will be refreshed:
Producer region: Typically you do not want to refresh the producer region, so for the button that invokes the event, set the PartialSubmit property to true.
Consumer region: If you are performing an action in the handler method that refreshes the page (such as requerying), then you do not need to worry about refreshing the consumer page fragment or region. The event consumer processes the payload and updates its model accordingly. Otherwise, you need to set refresh and refreshCondition appropriately for the consumer region on the page definition for the containing page.
At run time, when the user clicks the button or link in the producer task flow, a PPR action submit in the event producer region invokes a method action in the event producer task flow. When the method action in the event producer task flow is invoked, it raises an ADFm event. The ADFm event is consumed by a method action inside the consumer task flow according to the event mapping defined in the containing page’s page definition. The event consumer processes the payload and updates its model accordingly.