Showing posts with label Contextual Events. Show all posts
Showing posts with label Contextual Events. Show all posts

Sunday, January 29, 2017

JDev/ADF sample - Contextual Event API Improvements in ADF 12.2.1.x

  • Contextual Event API Improvements in ADF 12.2.1.x. ADF 12.2.1.x brings improved API support for Contextual Event implementation - this should simplify Contextual Event usage. Now Contextual Events can be produced without referencing ActionEvent or SelectionEvent, also there is no need to define Data Control to implement Contextual Event handler. Read more in ADF 12.2.1.x documentation - 46.4 Creating Contextual Events Using Managed Beans. I will provide example and explanation how to use these improvements.
    Download - ContextualEventApp.zip

Tuesday, January 15, 2013

JDev/ADF sample - Fragment Template to Fragment Communication with ADF Contextual Events

  • Fragment Template to Fragment Communication with ADF Contextual Events. This post is extended version for my previous post - After Commit Call for Centralized Transaction Management. Previously posted application works as it should, but you may face a bit more complex use case when fragment template will be assigned with page definition file. If there will be page definition file for the fragment template - it will not work to call method by managed bean reference and invoke operation from fragment page definition. The thing is - page definition context will be changed from fragment to fragment template and operations declared in the fragment page definition will be unaccessible. However, we can implement communication between fragment template and fragment itself through ADF Contextual Events functionality.
    Download - GlobalTransactionControlApp_v3.zip

Sunday, October 17, 2010

JDev/ADF sample - Contextual Events Framework and ADF 11g Dynamic Regions

  • Contextual Events Framework and ADF 11g Dynamic Regions. We were discussing in our project, if we should use Contextual Events Framework or not. Part of the team was saying Contextual Events Framework have quite many defects and who knows, may be it will be unsupported in next ADF releases. However, I personally don't think its the case - Oracle is gathering community feedback for Contextual Events Framework improvements, this means it will be stabilized and improved. For now, I would recommend not to use too much fancy functionality, but stick with fundamental parts of Contextual Events Framework, this will ensure easy migration during future ADF 11g releases.

    When we would need to use Contextual Events Framework? Its possible to communicate between ADF Regions without it, just by using ADF Task Flow parameters - Communicating Between ADF Regions Without Contextual Events Framework. While its true, there is one important thing - direct dependency between two regions. It would work for static predefined systems, but if would expose our ADF Task Flows as components - consumers will decide what combination and what subset of these components will be used in their systems. In this case, we can't map both ADF Task Flows through parameters. Its when Contextual Events Framework is useful, it allows to implement independent communication between ADF 11g regions, and provide these regions as components to third party applications.
    Download - ContextualDynamicRegions.zip