ORACLE JHEADSTART for ADF

Oracle Jheadstart For Adf-Free PDF

  • Date:31 Jul 2020
  • Views:4
  • Downloads:0
  • Pages:396
  • Size:8.99 MB

Share Pdf : Oracle Jheadstart For Adf

Download and Preview : Oracle Jheadstart For Adf


Report CopyRight/DMCA Form For : Oracle Jheadstart For Adf


Transcription:

JHeadstart Developer s Guide,Copyright 2015 Oracle Corporation. All rights reserved, Authors Steven Davelaar Ton van Kooten Sandra Muller Jaco Verheul. Contributors Pieter Biemond Sigrid Gylseth Bouke Nijhuis Evert Jan de Bruin Paco van der Linden. The Programs which include both the software and documentation contain proprietary information they. are provided under a license agreement containing restrictions on use and disclosure and are also protected. by copyright patent and other intellectual and industrial property laws Reverse engineering disassembly. or decompilation of the Programs except to the extent required to obtain interoperability with other. independently created software or as specified by law is prohibited. The information contained in this document is subject to change without notice If you find any problems in. the documentation please report them to us in writing This document is not warranted to be error free. Except as may be expressly permitted in your license agreement for these Programs no part of these. Programs may be reproduced or transmitted in any form or by any means electronic or mechanical for any. If the Programs are delivered to the United States Government or anyone licensing or using the Programs on. behalf of the United States Government the following notice is applicable. U S GOVERNMENT RIGHTS Programs software databases and related documentation and technical data. delivered to U S Government customers are commercial computer software or commercial technical data. pursuant to the applicable Federal Acquisition Regulation and agency specific supplemental regulations As. such use duplication disclosure modification and adaptation of the Programs including documentation. and technical data shall be subject to the licensing restrictions set forth in the applicable Oracle license. agreement and to the extent applicable the additional rights set forth in FAR 52 227 19 Commercial. Computer Software Restricted Rights June 1987 Oracle USA Inc 500 Oracle Parkway Redwood City CA. The Programs are not intended for use in any nuclear aviation mass transit medical or other inherently. dangerous applications It shall be the licensee s responsibility to take all appropriate fail safe backup. redundancy and other measures to ensure the safe use of such applications if the Programs are used for such. purposes and we disclaim liability for any damages caused by such use of the Programs. Oracle JD Edwards PeopleSoft and Siebel are registered trademarks of Oracle Corporation and or its. affiliates Other names may be trademarks of their respective owners. The Programs may provide links to Web sites and access to content products and services from third. parties Oracle is not responsible for the availability of or any content provided on third party Web sites. You bear all risks associated with the use of such content If you choose to purchase any products or services. from a third party the relationship is directly between you and the third party Oracle is not responsible for. a the quality of third party products or services or b fulfilling any of the terms of the agreement with the. third party including delivery of products or services and warranty obligations related to purchased. products or services Oracle is not responsible for any loss or damage of any sort that you may incur from. dealing with any third party,CHAPTER 1 GETTING STARTED 1 1. 1 1 Introduction into JDeveloper ADF and JHeadstart 1 2. 1 1 1 Oracle JDeveloper 1 2, 1 1 2 Oracle Application Development Framework ADF 1 2. 1 1 3 What is Oracle JHeadstart 1 3, 1 2 Roadmap to Developing ADF Applications using JHeadstart 1 5.
1 2 1 Set Up Project for Team Based Development 1 5. 1 2 2 Create Business Service using ADF Business Components 1 6. 1 2 3 Design and Generate Web Pages 1 7,1 2 4 Design and Generate Security Structure 1 8. 1 2 5 Customize Generated Web Tier 1 8, CHAPTER 2 SET UP PROJECT FOR TEAM BASED DEVELOPMENT 2 1. 2 1 Setting Up Version Control System 2 2,2 1 1 Version Control Models 2 2. 2 1 2 Requirements for a Good Version Control System 2 3. 2 1 3 Which Files to Version 2 4, 2 2 Setting up Structure of JDeveloper Workspace and Projects 2 6. 2 2 1 Installing JDeveloper 2 6, 2 2 2 Identify Subsystems within your Application 2 6.
2 2 3 Creating a Workspace and Projects 2 6,2 2 4 Creating Database Connection 2 9. 2 2 5 Initializing Model Project for Business Components 2 10. 2 2 6 Optimizing ADF BC for Team Development 2 10, 2 2 7 Switching off Default Creation of ADF BC Java classes 2 10. 2 2 8 Enabling ViewController Project for JHeadstart 2 11. 2 3 Organizing JHeadstart Service Definition Files 2 12. 2 3 1 Naming Conventions for File Location Properties 2 12. 2 4 Packaging JHeadstart Generated ViewController Project as ADF Library 2 13. 2 4 1 Remove JhsCommon beans xml from the ADF Library jar file 2 13. 2 4 2 Add reference to resource bundle of ADF Library project 2 13. 2 4 3 Import JHeadstart service definitions in main ViewController project 2 14. 2 5 Defining Java Package Structure and Other Naming Conventions 2 16. 2 5 1 Java Packages 2 16,2 5 2 Naming ADF Business Components 2 17. JHeadstart Developer s Guide Contents i,CHAPTER 3 CREATING ADF BUSINESS COMPONENTS 3 1. 3 1 Setting Up ADF BC Base Classes 3 2,3 1 1 Using CDM RuleFrame 3 4.
3 2 Creating the Entity Object Layer 3 5,3 2 1 Review Database Design 3 5. 3 2 2 Creating First Cut Entity Objects and Associations 3 5. 3 2 3 Renaming Entity Objects and Associations 3 6. 3 2 4 Generating Primary Key Values 3 7, 3 2 5 Setting Entity Object Attribute Properties used by JHeadstart 3 8. 3 2 6 Implementing Business Rules 3 9, 3 3 Creating View Objects and Application Modules 3 11. 3 3 1 Creating View Objects and View Links 3 11,3 3 2 Renaming View Objects and View Links 3 11. 3 3 3 Inspecting and Setting Key Attributes of a View Object 3 11. 3 3 4 Setting View Object Control Hints 3 12, 3 3 5 Determining the Order of Displayed Rows 3 12.
3 3 6 Creating Calculated or Transient Attributes 3 13. 3 3 7 Setting Up Master Detail Synchronization 3 13. 3 3 8 Defining View Links and View Object Usages for Lookups 3 15. 3 3 9 Testing the Model 3 15,CHAPTER 4 USING JHEADSTART 4 1. 4 1 Understanding the JHeadstart Application Generator Architecture 4 2. 4 1 1 Input Output 4 3, 4 2 Using the JHeadstart Enable Project Wizard 4 4. 4 2 1 Enabling JHeadstart on a new project 4 4, 4 2 2 Enabling JHeadstart on an existing project 4 5. 4 2 3 Re enabling JHeadstart on a project 4 6, 4 3 Using the Create New Service Definition Wizard 4 8. 4 3 1 Step 1 Choose Data Control 4 9,4 3 2 Step 2 Choose Basic Settings 4 10.
4 3 3 Step 3 Choose List of Values Options 4 11,4 3 4 Step 4 Choosing Search Style 4 16. 4 4 Using the Application Definition Editor 4 18,4 4 1 Maintaining the Application Definition 4 18. 4 4 2 Application 4 21,4 4 3 Service 4 21,4 4 4 Groups 4 22. 4 4 5 Items 4 22,4 4 6 Lists of Values 4 22,4 4 7 Regions 4 23. 4 4 8 Detail Groups 4 24,4 4 9 Domains 4 25,4 4 10 Manipulating Objects 4 25.
4 4 11 Novice Mode and Expert Mode 4 28, 4 4 12 Synchronize Group with Underlying View Object 4 28. 4 5 Running the JHeadstart Application Generator 4 30. 4 6 Running the Generated Application 4 32,ii Contents JHeadstart Developer s Guide. 4 6 1 TroubleShooting 4 32, 4 6 2 Dealing with Code Segment Too Large Error 4 33. 4 7 What was Generated for What Purpose 4 35,CHAPTER 5 GENERATING PAGE LAYOUTS 5 1. 5 1 Choosing a Group Usage 5 2,5 1 1 Stand alone Pages 5 2.
5 1 2 Region with Page Fragments Recommended 5 2,5 1 3 Reusing Groups 5 5. 5 1 4 List of Values Window 5 13,5 1 5 Showing a Group in a Popup Window 5 13. 5 2 Creating Form Pages 5 14, 5 2 1 Displaying an Item at the Right of Another Item 5 15. 5 2 2 Hiding Items on the Form Page 5 16,5 2 3 Create and Update Mode in Form Layout 5 16. 5 2 4 Controlling the Page Title in Form Layout 5 18. 5 3 Creating Select Form Pages 5 19,5 4 Creating Table Pages 5 20.
5 4 1 Using Table Layout and Stretching 5 20,5 4 2 Using a Table Overflow Area 5 22. 5 4 3 Hiding Items in a Table 5 24, 5 4 4 Allowing the User to Sort Data in a Table Page 5 24. 5 4 5 Adding Summary Information to a Table 5 24, 5 4 6 Change Table Related ADF Business Components Settings 5 25. 5 5 Creating Table Form Pages 5 27,5 6 Creating Master Detail Pages 5 28. 5 6 1 Master Detail on Separate Page 5 28,5 6 2 Master Details on Same Page 5 29.
5 7 Creating Tree Layouts 5 34,5 7 1 Choosing a Tree Layout Style 5 34. 5 7 2 Generating a Basic Tree 5 35, 5 7 3 Variation Basic Tree with non clickable nodes 5 41. 5 7 4 Variation Recursive Tree 5 42, 5 7 5 Variation Recursive Tree with Limited Set of Root Nodes 5 43. 5 7 6 Variation Tree showing only Children of selected Parent 5 45. 5 8 Creating Shuttle Layouts 5 48,5 8 1 Creating Parent Shuttles 5 48. 5 8 2 Creating Intersection Shuttles 5 50, 5 8 3 Understanding How JHeadstart Runtime Implements Shuttles 5 51.
5 9 Creating Wizard Layouts 5 54,5 9 1 Launching a Wizard using New Button 5 55. 5 10 Controlling Page Layout Using Region Containers Item and Group Regions 5 57. 5 10 1 Using Item Regions 5 58,5 10 2 Using Group Regions 5 60. 5 10 3 Mixing Item Regions and Group Regions 5 61,5 10 4 Generating Content in a Popup Window 5 63. JHeadstart Developer s Guide Contents iii,CHAPTER 6 GENERATING USER INTERFACE WIDGETS 6 1. 6 1 Specifying the Prompt 6 2,6 2 Default Display Value 6 3.
6 2 1 Using EL expressions 6 3,6 3 Display Type 6 4. 6 4 Generating a Text Item 6 8,6 4 1 Define Item Display Width and Height 6 8. 6 4 2 Setting Maximum Length 6 9,6 5 Generating a Dropdown List 6 10. 6 5 1 Static Dropdown List based on a Static Domain 6 10. 6 5 2 Translation of Static Domains 6 10, 6 5 3 Dynamic Dropdown List based on a Dynamic Domain 6 11. 6 6 Generating a Radio Group 6 13,6 6 1 Static Radio Group based on a Domain 6 13.
6 6 2 Translation of Static Domains 6 13, 6 6 3 Dynamic Radio Group based on a Dynamic Domain 6 13. 6 7 Generating a List of Values LOV 6 15,6 7 1 ADF Model LOV vs Custom JHeadstart LOV 6 15. 6 7 2 Creating an ADF Model LOV 6 17,6 7 3 Creating a custom JHeadstart LOV 6 17. 6 7 4 Creating a reusable LOV group 6 18, 6 7 5 Linking a Reusable LOV group to an item 6 18. 6 7 6 Defining an LOV on a display item 6 19,6 7 7 Use LOV for Validation 6 23.
6 7 8 Selecting multiple values in a List of Values 6 24. 6 7 9 Passing Parameters to an LOV 6 25, 6 7 10 Understanding How JHeadstart Runtime Implements List Of Values 6 26. 6 8 Generating a Date time Field 6 29, 6 8 1 Specifying Display Format for Date and Datetime Field 6 29. 6 9 Generating a Checkbox 6 30, 6 9 1 Generating a checkbox based on a Boolean attribute 6 31. 6 10 Generating a Button Item 6 32,6 10 1 Positioning of Buttons 6 32. 6 10 2 Appearance of Buttons 6 32,6 10 3 Executing a Button Action 6 33.
6 10 4 Calling a PL SQL Procedure or Function From a Button 6 37. 6 11 File Upload File Download Showing Image Files and Playing Audio Files 6 39. 6 11 1 Combining File Display Options 6 40,6 11 2 Showing Properties of Uploaded Files 6 41. 6 12 Generating a Graph 6 43,6 13 Conditionally Dependent Items 6 44. 6 13 1 Using the Depends On Item s Property 6 44,6 13 2 Cascading Lists 6 46. 6 13 3 Row Specific Dropdown Lists in Table 6 47,iv Contents JHeadstart Developer s Guide. 6 14 Navigating Context Sensitive to a Group Task Flow Deep Linking 6 48. 6 14 1 Opening the Linked Group in Popup Window 6 49. 6 14 2 Using Taskflow Parameters to Customize Appearance of Linked Group 6 50. 6 14 3 Opening the Linked Group in a New Dynamic Tab 6 52. 6 14 4 Deep Linking from an External Source 6 54,6 15 Generating Embedded Oracle Forms 6 55.
6 15 1 Deep Linking to an Oracle Form 6 56,CHAPTER 7 GENERATING QUERY BEHAVIORS 7 1. 7 1 Creating a Search Region 7 2, 7 1 1 Choosing a Technology ADF Model or Custom JHeadstart 7 2. 7 1 2 Creating a Model Based Search 7 3,7 1 3 Creating a Custom JHeadstart Search 7 4. 7 1 4 Using JHeadstart Quick Search 7 4,7 1 5 Using JHeadstart Advanced Search 7 5. 7 1 6 Using a JHeadstart Query Operator 7 5, 7 1 7 Using Query Bind Variables in JHeadstart Quick or Advanced Search 7 6.
7 1 8 Runtime Implementation of JHeadstart Quick Search and Advanced Search 7 7. 7 2 Configuring the Query 7 11,7 2 1 Specifying Auto Query 7 11. 7 2 2 Using Query Bind Parameters 7 11, 7 2 3 JHeadstart Runtime Implementation of Query Bind Parameters 7 14. 7 3 Forcing a Requery 7 16,7 3 1 Implementation of Requery 7 17. CHAPTER 8 GENERATING TRANSACTIONAL BEHAVIORS 8 1,8 1 Enabling Insert Operation 8 2. 8 1 1 Allowing Inserting Data in a Form Page 8 2,8 1 2 Building Insert Only Form Pages 8 2.
8 1 3 Entering in Insert Mode When No Rows Found 8 3. 8 1 4 Allowing the User to Insert Data in a Table Page 8 3. 8 2 Enabling Update Operation 8 5,8 3 Enabling Delete Operation 8 6. 8 4 Conditionally Enabling Insert Update an Delete 8 7. 8 5 Runtime Implementation of Transactional Behaviors 8 8. 8 5 1 Multi Row Insert 8 8,8 5 2 Single Row Insert 8 9. 8 5 3 Single Row and Multi Row Delete 8 9,8 5 4 Commit Handling 8 10. 8 5 5 Rollback Handling 8 11,CHAPTER 9 CREATING MENU STRUCTURES 9 1. 9 1 Static Menu Structure 9 2,9 1 1 Preventing Generation of a Menu Tab 9 3.
Enabling ViewController Project for JHeadstart 2 11 2 3 Organizing JHeadstart Service Definition Files 2 12 2 3 1 Naming Conventions for File Location Properties 2 12 2 4 Packaging JHeadstart Generated ViewController Project as ADF Library 2 13 2 4 1 Remove JhsCommon beans xml from the ADF Library jar file 2 13 2 4 2 Add reference to resource bundle of ADF Library

Related Books