Oracle ADF Code Corner

 

product logo

Oracle ADF Code Corner
The Oracle ADF Code Corner is a weekly blog-style column from the source that helps Oracle ADF developers to go beyond drag and drop in their Oracle ADF web application development. The idea is to provide code examples to real-world coding challenges that developers can use and integrate in their projects.

Most of the code examples below are inspired by frequently asked questions posted on the OTN JDeveloper forum [JDeveloper] [JDeveloper 11].

All samples are provided as they are with no guarantee for future upgrades or error corrections. No support can be given through Oracle customer support. Please post questions or problems related to the samples on this page to one of the OTN JDeveloper forums referenced above.

Left Curve
Oracle ADF Blogs to follow
Right Curve
JDeveloper Blogs Aggregator
Steve Muench
Frank Nimphius
Shay Shmeltzer
Duncan Mills
Lynn Munsinger
Grant Ronald
Susan Duncan
Dana Singleterry
David Giammona (ADFc)

Josh Bregman (Security)

Vivek Kumar
Andrejus Baranovskis
"ADF Inspired" by Jobinseh
AMIS Lucal Jellema, Luc Bors
Edwin Biemond
Michael Fons
Chris Muir
Eric Marcoux

ADF Code Corner on Twitter

Join me for frequent updates about ADF, Oracle JDeveloper, ADF Code Corner and - of course - what I am doing and where I am hiding [http://twitter.com/fnimphiu].
   

Oracle JDeveloper 11g Handbook

A Guide to Oracle Fusion Web Development

By Duncan Mills, Peter Koletzke , Avrom Roy-Faderman
ISBN 0071602380
Released in October 2009
   

Oracle Fusion Developer Guide

Building Rich Internet Applications with Oracle ADF Business Components and ADF Faces

By Frank Nimphius, Lynn Munsinger
ISBN 0071622543
Released in January 2010
 
How-to: Oracle JDeveloper 11g and ADF

Sometimes a bit of Java programming and know how is required to unleash the real power of Oracle ADF and ADF Faces RC components. This is what this section of the ADF Code Corner website is about. The primary focus for the examples is set to the Fusion Development platform, using ADF Business Components as the persistence layer, ADF as the binding layer, ADFc as the controller and ADF Faces RC on the view layer.

Expanding af:menubar on mouse over
Increase performance of pages that hold custom CSS and JavaScript code
Building a search form that shows results in a taskflow added to a popup
How to intercept the User Query Parameters in af:table
Expanding an af:tree node by clicking onto its label
How-to configure a custom Splash Screen
How-to create declarative components and how-to bind them to ADF and PPR
How-to create a character input counter for textfields
How-to extend the default ADF Faces Component Message Bundle
How-to build dependent, model driven list of values with ADF Swing
How-to declaratively create new table rows based on existing row content
Implementing auto suggest functionality in ADF Faces Rich Client
ADF Programming Quickies updated
How to build a reusable toolbar with Oracle ADF declarative components
How-to access the selected row data in a TreeTable or Tree
How-to Configure the ADF Faces Carousel Component with ADF 
How-to scroll an ADF bound ADF Faces Table using a Keyboard Shortcut
How to use ClientListeners and ServerListeners
How-to Refresh a bound taskflow that is added as a region to a popup dialog
How-to build hierarchical Select Choices in ADF Faces RC
How to Access Attributes of a Declarative Component from a Managed Bean
How-to Conditionally Prevent Dialogs from Closing
How-to build a reusble Glasspane in ADF Faces RC
How-to pass additional arguments to a JavaScript function using the af:clientAttribute element
How-to find and set control hints on POJO entities in bean Data Controls
How-to cancel an edit form, undoing the edits
How-to cancel an edit form, undoing the edits with ADFm Save points
How-to restrict the values retrieved by a model driven LOV
A declarative approach to base a router decision on the outcome getEstimatedRowCount
Advanced Expression Language programming techniques
How-to use captcha with ADF Faces and Oracle ADF
How-to pass values from a parent page to a popup dialog 
How-to declaratively launch a lightweight popup in a UI Shell using the external dialog framework
How-to scroll ADF tables using alphabetic anchor tags in an index menu
 
ADF Code Corner Internet TV

This section complements the written how-to documents on ADF Code Corner. Though a written how-to seem to be preferrable, some samples are easier to record than to write up. Samples that appear in this section will either be too short for a written version or too long. The individual recording length is limited to a minimum so it can be watched while enjoying a small cup of coffee during a mini break.

OTN Forum Use Cases
Open an edit form in a popup launched from the detailStamp facet of a table
...
   
Oracle JDeveloper Random Topics
ADF Security Part 1: Container Managed Security
ADF Security Part 2: Setup and Authentication
ADF Security Part 3: Authorization
ADF Security Part 4: Security Expression Language
ADF Security Part 5: ADF BC Entity Security
ADF Security Deployment with Oracle Enterprise Manager
How-to build bookmarkable ViewActivities in ADF taskflows
How-to use ADF Contextual Events for ADF region communication
Creating DHTML popup declaratively using the ADF Faces external dialog framework
 
Recommended Readings and Resources

ADF Methodology Group

A group of Oracle ADF experts that meet on Google to collaborate on ADF best practices. This group soon becomes the "who-is-who" in ADF application development which is a good reason for you to join and participate.

Oracle JDeveloper forum in OTN

Not a replacement for customer support, but a good starting point to ask questions about Oracle JDeveloper and ADF. Its a community of peers monitored by the Oracle JDeveloper PM team that helps each other with every day coding issues and questions and answers around the product. Join and see how quickly you develop from asking to answering questions.

Steve Muench's not yet documented samples

One of the "holy grail" blog pages that every ADF developer should have a bookmark for. Steve explains coding challenges by example, providing excellent insight in how the product works and how you get common tasks interated into your applications.

Data Visualization Component tag overview

DVT is a major enhancement are in ADF Faces Rich Client. This doucmentation provides you with an overview of the DVT components and how to use them.

Oracle ADF Development Essentials

The developer community provides a wealth of information through tutorials, how-to's, sample applications, and so on that help new as well as experienced developers learn how to be productive. For example, it's important for developers to be trained up on subjects such as version control/working in teams, automated unit testing, and using Ant for building projects, but the amount and complexity of information out there on these topics can be overwhelming

Steve Muench's Oracle Magazine column

ADF related articles by Steve Muench published in the Oracle Magazine.

A Rough Guide to using WLS 10.3 with ADF

Duncan Mills' blog entry about setting up WLS 10.3 for ADF in JDeveloper 11g (Boxer)  

ADF Wiki Page on OTN

Wiki page on OTN maintained by the ADF community. The side menu allows you to view various aspects of  ADF development, with links to documents recommended by the experts.

JDeveloper 11g - Documentation, Release Notes and Readings
JDeveloper 10g - Documentation, Release Notes and Readings
Oracle JDeveloper documentation on OTN

The official Oracle JDeveloper and ADF documentation consists of two books written for the ADF developer and the ADF Faces web developer. Improving our product documentation has been a mission since 10.1.3 and its over now. Though we easilly could call it a day, there is always room to improve, which is what the doc writers do with each iteration of the doc.

Skin Selectors

Skinning has been greatly improved in JDeveloper 11. Have a look at the skin selector documentation to leran about the options available to skin individual UI components.

ADF Faces RC tag documentation

ADF Faces RC provides a wealth of Ajax enabled JavaServer Faces components. This page, which is maintained by the development team itself, provides you best of breed information about how to use the individual tag elements.

Download and Run the ADF Faces Component demo

The ADF Faces component demo shows all the ADF Faces RC components in action. You can get the complete demo sources to run from your local JDeveloper 11 installation.

ADF Faces RC JavaScript docs

Using JavaScript should be more of an exception than a rule when working with ADF Faces RC cmponents. However, the client side API exists and this document contains a list of the public methods and classes to use. As a rule of thumb, avoid the use of any class or method not shown in this document because it indicates an internal implementation class that might change without further notice or, if not used properly, may even break framework functionality.

ADF Functional Patterns

Documents that describe and demonstrate Functional Patterns and Best Practices for specific tasks in development when utilizing ADF within JDeveloper. New Functional Patterns and Best Practices appear on a regular basis

Steve Muench's Oracle Magazine Columns on ADF

Steve Muench frequently writea bout ADF in the Oracle Magazine. Not to read a full magazine to get the latest on Steve's ADF hints and tips, here's a link

Oracle Sample Code

Oracle Sample Code, a site where employees and Oracle Technology Network members collaboratively build and share sample applications, code snippets, skins and templates, and more. This site aims to become an almanach of developer wisdom, expressed in source code    

Fusion Middleware Security Blog (A-Team)

Security Solutions to real world problems.

 

E-mail this page
Printer View Printer View
Software. Hardware. Complete. About Oracle | Oracle and Sun| Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy