Showing posts with label Dynamic. Show all posts
Showing posts with label Dynamic. Show all posts

Monday, April 10, 2017

JDev/ADF sample - ADF Multi Task Flow Binding and Tab Order

  • ADF Multi Task Flow Binding and Tab Order. I had a post while ago about ADF multi task flow binding and loading dynamic regions - Building Custom UI Shell with ADF 11g R2. In that sample, new region was opened in the first tab position. Meaning tab order was from right to left. It is more natural to have left to right tab opening order. This can be done too, check updated sample app - we need to control disclosed property and add new region to the end of array.
    Download - MultiTaskFlowApp_TabOrder.zip

Tuesday, September 1, 2015

JDev/ADF sample - ADF 12c Dynamic Forms with ADF BC UI Categories

  • ADF 12c Dynamic Forms with ADF BC UI Categories. ADF 12c offers completely new way to implement UI forms. We can implement dynamic forms, based on static ADF BC components. Such approach could simplify form maintenance - when there will be changes in DB, developer would need to adjust only ADF BC EO/VO structure, without changing anything on UI. Bindings layers could determine data structure dynamically and dictate how to render UI blocks. ADF BC VO provides special metadata option to define how form UI should be rendered - UI Categories. Through categories we could group attributes and this would help to render dynamic UI with separate blocks and proper order.
    Download - ADFAltaApp_v7.zip

Saturday, November 29, 2014

JDev/ADF sample - Adaptive Form with Dynamic ADF LOV Value Binding

    Download - DynamicAttributeBindingApp_v2.zip

Thursday, May 1, 2014

JDev/ADF sample - Adaptive Form with Dynamic ADF Attribute Value Binding

  • Adaptive Form with Dynamic ADF Attribute Value Binding. You can implement adaptive forms, generated on runtime using ADF Dynamic Form component in 11g R1 or 11g R2 (keep in mind - ADF Dynamic Form component is not supported with Facelets). In 12c you could use new ADF Dynamic Component to generate adaptive forms. All good, but customisation options are limited. For example, if you would need to define Value Change Listener for adaptive form UI component, this would be quite tricky as there is no direct access to ADF UI component properties.
    Download - DynamicAttributeBindingApp.zip

Monday, December 30, 2013

JDev/ADF sample - ADF Dynamic ADF BC - Loading Multiple Instances (Nr. 100 in 2013)

    Download - ADFDynamicReportUI_v5.zip

Friday, December 27, 2013

JDev/ADF sample - ADF Dynamic ADF BC - Surviving Passivation/Activation Events

  • ADF Dynamic ADF BC - Surviving Passivation/Activation Events. ADF dynamic ADF BC and dynamic ADF UI implementation is useful functionality and is required almost in every larger project. Primary area where this functionality is applied - report parameters screens, instead of building hundreds of static report parameter screens for every report, we can build one dynamic and regenerate required ADF BC objects structure, together with dynamic ADF UI. Here you can read my previous post for the same topic - ADF Generator for Dynamic ADF BC and ADF UI - Recreate. Today post provides improved sample application with added support for ADF dynamic functionality working in passivation/activation event scenario.
    Download - ADFDynamicReportUI_v4.zip

Saturday, November 16, 2013

JDev/ADF sample - Creating ADF BC View Object Instances On The Fly

  • Creating ADF BC View Object Instances On The Fly. This post is to describe such use case, where we have a set of common Entity Objects and want to handle View Objects and UI dynamically. This is common use case for simpler screens, usually common Entity Objects are provided from the library, but instead of creating hundreds of similar View Objects and UI fragments - we can handle such screens in generic way, by creating View Object instances programmatically and later using them through dynamic iterator.
    Download - ADFDynamicReportUI_v3.zip

Monday, November 4, 2013

JDev/ADF sample - Smart Declarative Mode Support in ADF BC View Object Join

  • Smart Declarative Mode Support in ADF BC View Object Join. Declarative mode is known feature of ADF BC and promoted by Steve Muench back in 2008 - Declarative Data Filtering. Declarative mode allows to construct SQL statement on runtime dynamically, based on displayed attributes and ADF bindings in page definition. This is specifically useful for systems created with ADF, where tables are generic and contain long list of attributes. Instead of loading all attributes from DB, it makes perfect sense to load only required ones. There is one more cool feature of declarative mode - it knows how control SQL join on View Object level. Meaning - if attributes coming from joined EO are not rendered, ADF BC will update SQL statement and remove such join. Runtime control for joins is really important, as it may give real additional performance to the system.
    Download - DeclarativeModeApp.zip

Wednesday, March 27, 2013

JDev/ADF sample - ADF Generator for Dynamic ADF BC and ADF UI - Recreate

  • ADF Generator for Dynamic ADF BC and ADF UI - Recreate. Last year in November, I was blogging about ADF generator for dynamic ADF BC and ADF UI. This approach allows to generate ADF BC from metadata and draw ADF UI dynamically based on ADF BC structure. You can read more about it here. This approach works without issues. However, if you want to change dynamic ADF BC and redraw ADF UI while staying on the same fragment or page, there is special trick to recreate dynamic iterator declared in Page Definition. This trick is described in Duncan Mills blog - Refresh Problems using Adaptive Bindings, I will apply it to my sample app posted here.
    Download - ADFDynamicReportUI_v2.zip

Wednesday, November 14, 2012

JDev/ADF sample - ADF Generator for Dynamic ADF BC and ADF UI

  • ADF Generator for Dynamic ADF BC and ADF UI. Often we implement solutions to automate ADF development, based on custom metadata stored in database. This is common requirement especially for reporting systems, where screens have very similar layout, just number of UI components differ. Reporting systems require parameters capture screens, each report may have different set of parameters. Instead of building separate ADF UI screen for each report - we can build only one, but dynamic. I will describe how we can achieve this with detail sample application.
    Download - ADFDynamicReportUI.zip