Oracle Application Express 3.2 The Essentials and More potx

644 8.1K 0
Oracle Application Express 3.2 The Essentials and More potx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Oracle Application Express 3.2 The Essentials and More Develop Native Oracle database-centric web applications quickly and easily with Oracle APEX Arie Geller Matthew Lyon professional expertise distilled P U B L I S H I N G BIRMINGHAM - MUMBAI Oracle Application Express 3.2 The Essentials and More Copyright © 2010 Packt Publishing All rights reserved No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews Every effort has been made in the preparation of this book to ensure the accuracy of the information presented However, the information contained in this book is sold without warranty, either express or implied Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals However, Packt Publishing cannot guarantee the accuracy of this information First published: June 2010 Production Reference: 1250510 Published by Packt Publishing Ltd 32 Lincoln Road Olton Birmingham, B27 6PA, UK ISBN 978-1-847194-52-7 www.packtpub.com Cover Image by Vinayak Chittar (vinayak.chittar@gmail.com) Credits Authors Arie Geller Editorial Team Leader Akshara Aware Matthew Lyon Project Team Leader Reviewers Priya Mukherji Ashish Agarwal Ben Burrell Katie McLaughlin Project Coordinator Zainab Bagasrawala Penny Cookson Proofreaders Acquisition Editor James Lumsden Development Editors Dhiraj Chandiramani Aaron Nash Jeff Orloff Indexer Hemangini Bari Rakesh Shejwal Graphics Technical Editor Geetanjali Sawant Pallavi Kachare Production Coordinator Copy Editor Aparna Bhagat Leonard D'Silva Cover Work Aparna Bhagat About the Authors Arie Geller is an independent IT consultant, with more than 30 years of experience with systems analysis, software development, IT infrastructure, etc He started to use HTML DB 1.6 (the former name of APEX) to develop data centric Web applications in the Oracle environment, and continue doing so, with all the following versions, until today Arie has specialized in developing Right-To-Left-oriented applications, and he brings his expertise and experience in this field into the book Arie is also an active member of the APEX community on OTN, where he assists other members and shares his knowledge and experience as much as he can I would like to thank my surrounding family for their great patient and support, and also to my friends and customers for their understanding, during the very demanding period of writing this book I would also like to thank Joel Kallman and Scott Spadafore (RIP) from the APEX development team, for their invaluable help and insight on APEX, over the years Matthew Lyon is a Senior Consultant at SRA Information Technology in Adelaide, South Australia His involvement in enterprise software development extends across analysis, design, development, architecture, and project management, giving him a deep appreciation of the effective use of software technology He has experience with a wide variety of technologies but has a passion for Oracle APEX and Java Matthew runs APEX training courses for clients and is active in the Oracle community as a presenter and as a committee member of the South Australian Oracle User Group Matthew has more than 10 years experience in software development and has been using APEX since HTMLDB version 1.6 I would like to thank my lovely wife Zoe and beautiful baby girl Rose for their help and support while writing this book About the Reviewers Ashish Agarwal has the distinct privilege of being one of the less than a few hundred Oracle Certified Masters in the world (http://www.oracle.com/ technology/ocm/aagarwal.html) He is also a certified Project Management Professional from PMI, USA & Oracle Certified Professional in Oracle 10g, 9i, 8i, and With a total industry experience of more than 12 years in Information Technology Field, exhaustive experience and Knowledge in Managing Oracle Databases and Oracle Applications (ERP and CRM Suites), administration is his expertise Participating in the design of Infrastructure Architecture for Oracle Products and managing data centre kind of environment with multiple databases and servers are some of his other experience areas Ashish has worked with companies like Panasonic, Oracle, Sapient, and Mercer across the geographies of India, Singapore, Malaysia, Canada, and the UK, and is now currently running DBCON—a Database & Oracle APEX consulting company based in Singapore DBCON leverages on the power of the Internet to provide live online training, application development, management and maintenance, support, and troubleshooting in Oracle technologies to anyone in the world DBCON also leverages on the power of the Internet to engage the best people in their respective areas from across the globe Attracted to Oracle Application Express because of its simplicity and productivity, Ashish regularly conducts live online training in Oracle Application Express through his company DBCON Anyone from anywhere in the world can attend this training with just a PC and internet connection To learn more about live online training in Oracle Application Express please visit http://www.dbcon.com or e-mail at ashish.agarwal@dbcon.com Ben Burell is an Oracle developer currently based in the Isle of Man He is an active contributor to the Oracle APEX forum as 'Munky' and sporadically blogs about APEX related tips and tricks at http://munkyben.wordpress.com He enjoys problem solving while listening to music, meaning that he quite enjoys his job! Katie McLaughlin is a software developer and consultant who has been working with Oracle Apex for many years, developing enterprise applications as well as for smaller business requirements She currently works for an international software house, developing financial applications for some of the largest companies in the world I'd like to thank my partner, Karl, for all his kindness and for bringing many a cup of tea during the time I worked on this book Penny Cookson has been working with Oracle products since 1987 Penny is the Managing Director and Principal Consultant for SAGE Computing Services, an Australian company which specializes in providing Oracle education and consulting services She has written and conducted training courses and provided expert advice in a wide range of products, including Application Express, and is a regular presenter at Oracle and User Group conferences She was Oracle Magazine's Educator of the Year in 2004 and is an Oracle ACE Table of Contents Preface Chapter 1: An Introduction to APEX Web-based Native Web based Data Centric A declarative development tool RAD tool Application Builder Utilities Globalization, localization, and NLS APEX architecture Summary Chapter 2: What we need to know to effectively use APEX SQL and PL/SQL HTML and CSS JavaScript HTML The DOM (Document Object Model) DOM walking DOM methods DOM events The APEX context CSS The cascading effect The style sheets CSS properties CSS selectors 7 9 10 10 11 11 12 14 15 16 16 16 17 17 19 19 20 21 21 22 22 24 24 Table of Contents The !important keyword The APEX angle 27 28 Where to store our external CSS file? How to load our CSS code? Globalization and NLS 28 29 29 JavaScript JavaScript features 30 30 The APEX angle 35 Object-Oriented Case sensitive JavaScript variables JavaScript arrays JavaScript operators Blocks of code JavaScript functions 30 31 31 32 32 34 35 Where to store our external JavaScript file? How to load our external JavaScript file? Globalization and NLS PL/SQL and JavaScript (advanced) JavaScript and server-side resources (advanced) The APEX JavaScript API Summary Chapter 3: APEX Basic Concepts Session state Session state firing points Session state and the application page life cycle Session state and the page rendering phase Session state and the page processing phase 36 36 37 38 38 39 41 43 44 44 45 45 48 Manually saving to session state 48 Referencing persistence session state 50 Using the APEX_UTIL.SET_SESSION_STATE API procedure Session state and AJAX Using the f?p URL notation Session state and stored procedures Session state scope and persistence Reviewing session state from the application builder Substitution strings APEX engine built-in substitution strings Substitution strings that contain data Substitution strings that contain HTML code 48 49 50 51 53 54 55 55 56 58 Application substitution strings 58 Referencing substitution strings 59 Application or page items 59 Using the #ITEM# notation Using the &ITEM notation Referencing substitution strings in SQL and PL/SQL code [ ii ] 59 60 61 Table of Contents Shortcuts Defining a shortcut 62 63 Shortcuts availability Themes and templates Themes Templates 65 66 66 68 Templates and the APEX upgrade process Theme, templates, and good practice The f?p URL notation The p segments 71 71 71 71 Item values including the colon character APEX multi-lingual support The APEX built-in translation mechanism 76 77 77 National Language Support (NLS) in this book Summary 78 78 The name field The type field The shortcut field 64 64 64 Page templates Region templates Reports templates Breadcrumbs templates List templates Calendar templates Label templates Button templates Popup List Of Values template 1—App 2—Page 3—Session 4—Request 5—Debug 6—CC (Clear Cache) 7—itemName 8—itemValue 9—PR (Printer friendly) Single language applications Single application with Multi-lingual user interface Chapter 4: The Application Builder Basic Concepts and Building Blocks The APEX Workspace Start working with APEX Logging in to the APEX IDE [ iii ] 68 69 70 70 70 70 70 70 70 72 72 73 73 74 74 75 75 76 77 78 79 79 82 83 cascading effect 22 style sheets 22 CSS files, APEX resources 577 CSS properties 24 CSS selectors about 22, 24 class selectors 26 contextual selectors 27 HTML ID selectors 25 HTML tags selectors 24 custom Authentication Scheme about 524 creating 524, 525 custom report row layout template building 294 generic columns 294 named columns 294 custom restore point, APEX creating 578 D DAD about 13 AL32UTF8, using 588 DAD file obfuscating 592 dadobf.exe utility 592 database backing up 588 Database Access Descriptor See€ DAD data centric data format, AJAX technology 387 data manipulation category, page level processes about 205 add rows to tabular form 208 automatic row fetch 206 automatic row processing 207 multi row delete 208 multi row update 208 data validation about 175 accuracy 176 consistency 176 integrity 176 quality 175 date and time format, Right-to-Left support 483 Date Picker formats 433 declarative development tool default section, page items about 126 options 126 deinstallation, Supporting Objects 498 deinstallation message type, Supporting Objects deinstall 490 post-deinstall 490 delete action, DML actions 341 design pane, query builder module 246, 248 direction attribute 468 displayed section, page items drag and drop wizard 117 layout fields 114-116 region field 114 sequence field 114 display properties, buttons about 157 position 158 sequence 158 DML actions delete action 341 in, Tabular Form 341 insert action 345, 346 update action 342-347 document development standards about 581 APEX naming standards 581 common code 582 deployment procedures 582 Oracle database naming standards 582 PL/SQL coding standards 582 Document Object Model See€ DOM DOM about 17 DOM objects 17 DOM walking node object 19 events 20 ID attribute 18 methods 19 DOM events about 20 onblur 20 [ 605 ] onchange 20 onfocus 20 onload 20 onmouseout 20 onmouseover 20 DOM methods about 19 getElementsByName() method 19 getElementsByTagName() method 19 getElemetById() method 19 DOM objects about 18 DOM document object 18 DOM window object 18 DOM walking node object 19 drag and drop layout wizard, APEX IDE 567, 568 dynamic translations, multi-language support about 444 fields, wizard 445 wizard 444 dynamic translations repository about 444 principle 444 using 445 E element section, page items about 120 form element option attributes field 121 HTML form element attributes field 121 item dimension fields 120, 121 pre/post element text fields 121, 122 Embbeded PL/SQL Gateway See€ EPG endTag parameter 398 end user client-side validation 578 database constraints violations, catching 578 inspecting 578 EPG about 14, 590 FTP, enabling 590 remote access, enabling 590 versus, OHS 591 error message, validation defining 188 examples, AJAX in APEX about 408 multiple calendars, on single application page 408 Tabular Forms (Reports) 413 export, Supporting Objects 498 Exporter tool about 540 functions 541 export utility about 508 parameters 508 F f?p URL notation about 71 colon character 76 items values 76 p segments 71 flow parameter 389 form pagination category, page level processes 210 G G_Fxx array 338 generation process, Microsoft Access Applications about 549 application name 559 application objects, selecting 549 confirmation 552 confirmation page 562 create pages screen 559 page definition page 550, 560 user interface 551, 562 generation process, Oracle Forms Applications 558 globalization 11, 426 globalization support adding/editing 434, 435 starting 431 [ 606 ] H header_CB_Status() JavaScript function 419-421 Help text section, page items 135 HTML 16 HTML Button, APEX buttons 150 htmldb_Get methods Add(name,val) 394 AddParam(name,val) 395 get(mode, startTag, endTag) 397 GetAsync(pVar) 402 about 394 general remarks 396, 397 htmldb_Get object about 388 code examples 392 parameters 388 htmldb_Get object, parameters about 388 flow 389 instance 390 obj 388 page 390 proc 391 queryString 392 req 390 HTML ID selectors 25 HTML tags selectors about 24 Pseudo-class selectors 25 HTP.P procedure 332 I IDE (Integrated Development Environment) 425 image based button, APEX buttons 150 Import Wizard, APEX applications about 505 file, specifying 505 file import confirmation 506 install 506 starting 505 Supporting Object installation 507 input fields alignment 482 install, Supporting Objects about 494 create from File attribute 494 create from scratch attribute 494 name attribute 494 script, creating 494 script, creating to install files 496 script, defining 496 script attribute 494, 495 script type attribute 494 sequence attribute 494 instance parameter 390 interactive report about 270 creating, wizard used 371 linking to 383 modifying, manually 375 interactive report, creating conditional display 374 display attributes 373 interactive report region wizard, starting 372 region type 372 report, implementing 372 source 374 wizard, completing 375 interactive report regions about 361 aggregate 368 chart 368 compute 367 control break 365, 366 download 370 example 362 filter 363, 364 flashback 369 highlight 366 reset 370 save report 370 select columns function 363 sort 365 item level validation 179 item not null method 184 items See€ APEX items items, included in deployment application source 485 CSS 485 [ 607 ] database changes 485 data load scripts 485 images 485 static files 485 theme files 485 item string comparison method 184 J JavaScript about 16, 30 features 30 JavaScript, APEX resources 577 JavaScript arrays 32 JavaScript features about 30 case sensitive 31 JavaScript arrays 32 JavaScript operators 32 JavaScript variables 31 object oriented 30 JavaScript functions 35 JavaScript operators about 32, 34 APEX angle 35 blocks of code 34 JavaScript functions 35 x=3 33 y=3 33 JavaScript variables 31 JSON 387 L labels alignment 482 label section, page items about 118 horizontal /vertical alignment field 118 HTML table cell attributes field 119 label field 118 template field 119 load_.sql 428 load_trans.sql 429 localization 12, 199, 427, 436 lock pages feature, APEX 580 LOV section, page items about 127 dynamic LOV 129 fields 130 LOV, defining 130 LOV related wizards 131 static LOV 127, 128 M manual modification, interactive report about 375 report attributes property page 376 manual saving, session state about 48 add() method, using 49 APEX_UTIL.SET_SESSION_STATE API procedure, using 48 f?p URL notation, using 50 MD5_CHECKSUM() function 342 messages, Supporting Objects about 487, 488 application substitutions 489 build options 489 confirmation 489 deinstallation 490 license 489 post installation 489 types 489 upgrade 490 validations 489 welcome 489 Microsoft Access Applications conversion about 540 application, generating 549 Microsoft Access database, migrating to Oracle 542 Microsoft Access metadata, exporting 540, 541 Migration Project, creating 546 Microsoft Access metadata exporting 540 Migration Project creating 546-548 Migration Project page, Oracle Forms Applications about 555 annotations 557 migration functions 556 [ 608 ] objects, including in converted application 558 summary columns 555 mod_plsql module 13 mode parameter 398 modules, APEX SQL workshop about 230 object browser 230, 232 query builder 230, 245 SQL commands 230, 239 SQL scripts 230, 244 multi-developer environment, APEX about 580 lock pages feature 580 version control 581 multi-language support about 430, 580 APEX_LANG APIs, using 446 APEX application language, setting 431, 432 date format 433 dynamic translations 444 end user UI language, deriving 432 globalization, adding/editing 434, 435 globalization support, starting 431 localization 436 text messages, translating 437 multi-lingual applications about 451 translated applications, deploying 463, 464 translated applications, running 463 translation mechanism home page 452 multi-option based items about 138 check box 140 list manager 142, 143 multiple select 139 popup LOV 142 radio 141 select list 139 shuttle 141 multi-user environment, APEX 579 multiple calendars, on single application page about 408 calendar main page 409 small calendars page 411 N name section, page items about 113 display as field 113, 114 name field 113 naming conventions, APEX items about 109 case sensitive APEX item names 110 Oracle identifiers naming rules 109 National Language Support See€ NLS native web-based new buttons, APEX buttons button, creating in among this regions items 159 button, creating in region position 155 button positions 154 creating 153, 154 NLS 11, 78 not null validation 178 nv() function 51 O OASIS 456 object browser module about 232 database, exploring 232, 233 new database objects, creating 234-238 package, creating 239 UI defaults 238 obj parameter 388, 389 OHS 13, 591 on-demand category, page level processes 204 on-demand processes 213 onblur event 336 onclick event 340 optimistic lock 579 Optimistic Locking 312 Oracle Forms Applications conversion about 552 APEX Migration Project 554 application metadata, editing 555, 556 application metadata, reviewing 555, 556 database 553 Oracle Forms, converting to XML 553 [ 609 ] Oracle HTTP Server See€ OHS Oracle identifiers naming rules 109 Oracle naming conventions 573 Oracle SQL Developer about 514 Captured Model, converting to Oracle Model 544 Microsoft Access Exported XML, capturing 543 migration repository, creating 543 Oracle database, creating 546 Oracle database schema, generating 545 output pane, query builder module 248, 249 P p_attribute parameter 334 p_idx parameter 333 p_item_id parameter 334 p_value parameter 334 page attribute 306 page component about 92 action bar 96 application page, creating 97, 98 page definition page, editing 99 page processing column 95 page region 102 page rendering column 94 page section 99 shared components column 95 page definition page editing 99 page definition view options, APEX IDE 568 page groups, APEX 572 page items about 112 comments section 135 conditions section 132 configuration section 135 default section 126 displayed section 114 element section 120 help text section 135 label section 118 LOV section 127 name section 113 read only section 134 security section 131 source section 122 page level computation about 167 computation 171 computation point 168 computation type 169, 171 condition 171 creating 167, 168 item, computing 168 page processing computation points 169 page rendering computation points 168 sequence 168 page level processes about 200 Automatic Row Processing (DML) 211 creating 200 data manipulation category 205 editing 211 form pagination 210 on-demand process 204 on-demand processes 213 PL/SQL 201, 202 pop-up window, closing 210 process type 201 reset pagination process 202, 203 session state mechanism 204 Web Services 209 page level validation 190 page name attribute 306 page numbering, APEX 572 page parameter 390 page processing column, page component about 95 hide/show icon bar 95 page processing phase, APEX Forms about 263 branches section 266 Page Processing Processes section 264, 265 validations section 264 page processing phase, session state about 48 computations 48 processes 48 [ 610 ] page region about 102 caching 106, 107 creating 102 editing 104 region identification 105 types 103 page region types calendar 104 charts 104 form 104 help text 104 HTML 103 multiple HTML 103 PL/SQL Dynamic content 104 report 104 tree 104 URL 104 page rendering column, page component about 94 hide/show icon bar 94 page rendering phase, APEX Forms about 260 items section 261, 263 Page Rendering Processes section 263 page rendering phase, session state aboout 46 about 45 computations, used 46 processes, used 47 special session state processes 47 page section about 99-101 fields 100, 101 page templates, Right-To-Left support about 471 body section 474 footer section 474 header section 471 Right-To-Left, as single language 472 Right-To-Left, as translation language 472, 473, 474 tab attributes sections 475 parameterized report building 295 parameters, export utility -applicationid 508 -db 508 -expSavedReports 509 -instance 509 -password 508 -skipExportDate 509 -user 508 -workspaceid 508 PL/SQL 16 PL/SQL, validation method 181 PL/SQL category, page level processes 201, 202 PL/SQL packages business logic secrets, protecting 574 using, in APEX 574 PL/SQL validation function returning boolean 182 function returning error text 183 multi-lingual support, for error messages 183, 184 PL/SQL Error 182 PL/SQL expression 182 PL/SQL Web Toolkit 12, 589 popup list of values templates, Right-ToLeft support 476, 477 post installation message type, Supporting Objects install failure 489 install success 489 preferences 47 prerequisites, Supporting Objects about 490 required free space in KB attribute 491 required system privileges attribute 491 primary key column attribute 304 primary key column attribute 304 print attributes property page about 290 column heading section 292 editing 290, 291 page attributes section 292 page footer section 293 page header section 292 PDF printing, enabling 293 printing section 291 report columns section 292 processes 47 proc parameter 391 [ 611 ] p segments, f?p URL notation about 71 App 72 clear cache 74 debug 74 itemName 75 itemValue 75 page 72 PR 76 request 73 session 73 Pseudo-class selectors 25 pVar function 403 Q query builder module about 245 design pane 246, 248 output pane 248, 249 results area 248 working area 246 queryString parameter 392 R RAD tool about 10 Application Builder 10 SQL Workshop 11 Utilities module 11 raise_application_error() function 345 re-useable code about 575 built-in resources 575 Page Zero 575 pre-defined resources 575 Shared Component module 575 user interface defaults 576 read only section, page items 134 redirect (location) 40 region definition property page about 278 caching section 280 editing 278 footer section 280 header section 280 identification section 278 source section 279 user interface section 278 region template attribute 306 region title attribute 306 regular expressions method 185 relevant documentation reading 587, 588 report, on a web service result 270 report, on customers table about 414 report headers 416 report SQL query 415 report attributes property page, APEX Reports about 281 break formatting section 285, 286 column attributes section 281, 282 editing 281 external processing section 286 layout section 283, 284 messages section 284 pagination section 283, 284 report export section 284 report attributes property page, interactive report about 376 advanced attributes section 381 column attributes 376 column groups section 377 default report settings section 377 download section 379 link column section 380 pagination section 378 search bar section 378 report regions about 269, 317, 318 attributes 277 print attributes 277 region definition property 277 types 269 reports interactive report 270 report, on web service result 270 SQL report 269 wizard report 270 req parameter 390 [ 612 ] REQUEST condition mechanism 162 referencing 161 REQUEST feature 160 REQUEST scope 160 reset pagination category, page level processes 202, 203 Right-To-Left scenarios about 469 Right-To-Left, as single language 470 Right-To-Left, as translation language 470 Right-To-Left support about 467 date and time formats 483 features 467-469 need for 467 S script attributes name attribute 495 sequence attribute 495 security 517 security attributes, APEX about 534 Authentication section 534 Authorization section 535 database schema 535 Session State Protection section 536 Session Timeout section 535 VPD 536 security features, APEX overview 517 security section, page items about 131 fields 131 seeding process 455 select column(s) attribute 302 sequence field, validation 186 session state about 44 application page life cycle 45 firing points 44 persistence mode, referencing 50 reviewing, from Application Builder 54 saving, manually 48 session state mechanism 44 session state category, page level processes 204 session state firing points after submitting a page 44 APEX_UTIL.SET_SESSION_STATE procedure, using 45 explicit value assignment to APEX items 45 f?p notation, using 45 JavaScript method add(), using 45 session state mechanism 44 session state persistence 53 session state persistence mode, referencing about 50 nv() function, using 51, 52 stored procedues 51 v() function, using 51, 52 Session State Protection, APEX about 531, 532 item session state protection options 533 page access protection options 532 setting 532 session state scope 53 shared components column, page component about 95 hide/show icon bar 96 shortcuts about 63 availability 65 defining 63 name field 64 shortcut field 64 type field 64 shortcuts availability about 65 help text field 65 HTML Header field 65 item default value field 65 item label field 65 item pre/post element text field 65 region header and footer fields 65 region template 65 source field of HTML TEXT region 65 shuttleRTL() 480 simple report creating, wizard used 270, 271 modifying, manually 277 [ 613 ] simple report, creating conditional display 276 display attributes 272 Query Builder 274 region type 271 report, implementing 272 report attributes 274, 275 report region wizard, finishing 276, 277 report region wizard, starting 270, 271 SQL source 273 simple report, manual modification about 277 column attributes property page, editing 287 custom report row layout template, building 294 parameterized report, building 295 print attributes property page, editing 290 region definition property page, editing 278 report attributes property page, editing 281 small calendars page 411-413 source section, page items about 122 format mask 125, 126 post calculation computation 125 session state, maintaining 124, 125 source type field 123, 124 source used field 122 source value or expression 125 source type attribute 304 source types, Tabular Form custom PL/SQL function 305 existing sequence 305 existing trigger 304 special functionality items about 144 date picker 144 file browse 145 hidden 145 stop and start table 146 special session state processes, page rendering phase 47 SQL 16 SQL, validation method 180 SQL commands module about 239 code area 240 display pane 242, 243 result area 242, 243 SQL report 269 SQL scripts module 244, 245 SQL validation types exists 180 not exists 180 SQL expression 181 SQL Workshop 11 startTag parameter 398 stateful environment 44 static files caching utilizing 591 style properties 22 style sheets 22 substitution, Supporting Objects about 492 current value attribute 492 object names attribute 491 prompt text attribute 492 substitution string attribute 492 substitution strings about 55 APEX engine built-in substitution strings 55 Supporting Objects, APEX about 486 build options 487, 492 export options 488, 498 install scripts 488, 494 messages 487, 488 prerequisites 487, 490 substitutions 487, 492 uninstall scripts 488 upgrade scripts 488, 497 validations 487, 492 viewing 486, 487 T table/view name attribute 302 table/view owner attribute 301 Tabular Form about 299 building, manually 331, 332 buttons, adding 311 [ 614 ] creating, wizard used 300 data, organizing on client side 314 data, organizing on server side 316 displaying 332 DML actions, implementing 341 DML functionalities, enabling 311 rendering 335, 336 report region, creating 310 validating 319, 320 viewing 310 Tabular Form, creating manually about 331 APEX_ITEM API, used 333 demonstration 335, 336 form rows, rendering on page 332 Tabular Form items, referencing 337 Tabular Form items, validating 337 Tabular Form items checkboxes, using 338, 340 referencing 337 validating 337 Tabular Form validations about 319 validation errors treatment, enhancing 321 Tabular Form wizard APEX elements, adding to page 312 branching, identifying 308 button labels 307 columns, identifying 302, 303 completion 309 confirmation 308 data, organizing 313 data manipulation processes, adding 312 duplicate set of column, generating 311 form option, selecting 300 form type, selecting 301 page attribute 306 primary key, identifying 304 primary key source 304 region title attribute 306 report region wizard, starting 300 table/view name attribute, identifying 302 table/view owner attribute, identifying 301 updateable columns 306 update process 312, 313 template driven button, APEX buttons 151 templates about 68 APEX upgrade process 71 breadcrumbs templates 70 button templates 70 calendar templates 70 label templates 70 list templates 70 page templates 68 popup LOV templates 70 region templates 69 reports templates 70 templates, APEX resources 576 TENURE 339 text based items about 135 display only text 137 password 138 text 136 text area 136 text messages, multi-language support APEX Shortcut, using 442, 443 fields, translation wizard 439, 440 text messages repository, managing 440 translating 437 translation wizard 438 theme 66, 68 themes, APEX resources 576 toggleAllCB() JavaScript function 418 translated applications deploying 463 running 463 translation mechanism home page about 452 application language, mapping 452, 453, 454, 455 seeding process 455 text, translating 458, 459 Translatable Text repository, editing 462 translation list, importing 460-462 translation list, publishing 460-462 translation text, exporting 455-458 translation text, seeding 455-458 Translation Text repository 455 [ 615 ] U update_CB process 421, 422 update action, DML actions 342 updateCB() JavaScript function 417 updateCB_all process 422, 423 update functionality 208 upgrade, Supporting Objects 497 upgrade message type, Supporting Objects confirmation 490 failure 490 success 490 welcome 490 URL tampering about 531 preventing 532 use user interface defaults attribute 303 Utilities module 11 utl_raw.cast_to_raw() functions 343 V v() function 51 validation condition 189 creating 177 editing 190 item level 179 level 178 method 179 page level validation 190 validation code, defining 188 validation code defining 188 validation error display location about 186 inline 187 on error page 187 validation errors treatment, enhancing AJAX, using 324-331 default error message phrase, changing 321, 322 JavaScript, using 324-331 Page Error, using 324 row number column, adding 323 validation level about 178 item level validation 178, 179 not null validation, creating 178 page level validation 178, 190 validation method about 179 item not null 184 item string comparison 184 PL/SQL 181 regular expression 185 SQL 180 validation name field 186 validations, Supporting Objects about 492 condition attribute 493 creating 493, 494 error message attribute 494 Expression attribute 494 Expression attribute 494 name attribute 492 sequence attribute 492 type attribute 494 updating 493, 494 validation type attribute 493 valid date 185 version control, APEX 581 Virtual Private Database See€ VPD VPD 536 W W3C 17 web-based 7, web browsers about advantages Web Services, page level processes 209 wizard report 270 workspaces, APEX about 570 setting up 570 X XLIFF (XML Localization Interchange File Format) 12, 425, 456 XLIFF file 455 XLIFF repository 460 XMLHttpRequest object 386 [ 616 ] Thank you for buying Oracle Application Express 3.2 About Packt Publishing Packt, pronounced 'packed', published its first book "Mastering phpMyAdmin for Effective MySQL Management" in April 2004 and subsequently continued to specialize in publishing highly focused books on specific technologies and solutions Our books and publications share the experiences of your fellow IT professionals in adapting and customizing today's systems, applications, and frameworks Our solution based books give you the knowledge and power to customize the software and technologies you're using to get the job done Packt books are more specific and less general than the IT books you have seen in the past Our unique business model allows us to bring you more focused information, giving you more of what you need to know, and less of what you don't Packt is a modern, yet unique publishing company, which focuses on producing quality, cutting-edge books for communities of developers, administrators, and newbies alike For more information, please visit our website: www.packtpub.com About Packt Enterprise In 2010, Packt launched two new brands, Packt Enterprise and Packt Open Source, in order to continue its focus on specialization This book is part of the Packt Enterprise brand, home to books published on enterprise software – software created by major vendors, including (but not limited to) IBM, Microsoft and Oracle, often for use in other corporations Its titles will offer information relevant to a range of users of this software, including administrators, developers, architects, and end users Writing for Packt We welcome all inquiries from people who are interested in authoring Book proposals should be sent to author@packtpub.com If your book idea is still at an early stage and you would like to discuss it first before writing a formal book proposal, contact us; one of our commissioning editors will get in touch with you We're not just looking for published authors; if you have strong technical skills but no writing experience, our experienced editors can help you develop a writing career, or simply get some additional reward for your expertise Oracle Application Express Forms Converter ISBN: 978-1-847197-76-4 Paperback: 172 pages Convert your Oracle Forms applications to Oracle APEX successfully Convert your Oracle Forms Applications to Oracle APEX Master the different stages of a successful Oracle Forms to APEX conversion project Packed with screenshots and clear explanations to facilitate learning A step-by-step tutorial providing a proper understanding of Oracle conversion concepts Oracle User Productivity Kit 3.5 ISBN: 978-1-849680-16-5 Paperback: 540 pages Build high-quality training simulations using Oracle UPK 3.5 Create engaging, high-quality training simulations for any Windows-based application leading to reduced training time, increased knowledge retention, and improved user acceptance Harness the full functionality of UPK 3.5 to add value to your documentation and training materials Re-purpose your simulations to create multiple document types, including business procedures, test documents, and job aids, and learn how to extend UPK by defining your own output types Please check www.PacktPub.com for information on our titles Oracle Essbase Implementation Guide ISBN: 978-1-847196-86-6 Paperback: 444 pages Develop high-performance multidimensional analytic OLAP solutions with Oracle Essbase Build multidimensional Essbase database cubes and develop analytical Essbase applications Step-by-step instructions with expert tips from installation to implementation Can be used to learn any version of Essbase starting from 4.x to 11.x For beginners as well as experienced professionals; no Essbase experience required Oracle Warehouse Builder 11g: Getting Started ISBN: 978-1-847195-74-6 Paperback: 368 pages Extract, Transform, and Load data to build a dynamic, operational data warehouse Build a working data warehouse from scratch with Oracle Warehouse Builder Cover techniques in Extracting, Transforming, and Loading data into your data warehouse Learn about the design of a data warehouse by using a multi-dimensional design with an underlying relational star schema Please check www.PacktPub.com for information on our titles .. .Oracle Application Express 3.2 The Essentials and More Develop Native Oracle database-centric web applications quickly and easily with Oracle APEX Arie Geller Matthew Lyon professional... building blocks of the APEX application, and how to create them using the APEX Application Builder Chapter 5, APEX Items discusses the major building blocks of the application page? ?the application items... 85 The Application IDE home page 88 The Import button The Create button The Pull Down menu section The application pages section 86 87 89 90 The Page component The Page Rendering column 92 94 The

Ngày đăng: 14/03/2014, 13:20

Từ khóa liên quan

Mục lục

  • Cover

  • Copyright

  • Credits

  • About the Authors

  • About the Reviewers

  • Table of Contents

  • Preface

  • Chapter 1: An Introduction to APEX

    • Web-based

    • Native Web based

    • Data Centric

    • A declarative development tool

    • RAD tool

      • Application Builder

      • Utilities

      • Globalization, localization, and NLS

      • APEX architecture

      • Summary

      • Chapter 2: What we need to know to effectively use APEX

        • SQL and PL/SQL

        • HTML and CSS

        • JavaScript

        • HTML

          • The DOM (Document Object Model)

Tài liệu cùng người dùng

Tài liệu liên quan