Tag Archives: adf ui

Oracle ADF 11gR2 Development Beginner’s Guide – Published!!


Book Details

Language : English
Paperback : 330 pages [ 235mm x 191mm ]
Release Date : April 2013
ISBN : 1849689008
ISBN 13 : 9781849689007

Reviewed by : Frank Nimphius, Sten E. Vesterli
Author(s) : Vinod Krishnan

Topics and Technologies : All Books, Oracle Applications, Beginner’s Guides, Enterprise, Oracle

This book is intended for beginners who know a little about Java programming and would like to learn how to develop rich web applications using the Oracle Application Development Framework.

http://www.packtpub.com/oracle-adf-11gr2-development-beginners-guide/book

Chapter 1, Installing and Configuring Jdeveloper IDE – This is the first time you are working with Jdeveloper, Where do you start?  – In this chapter you will learn how to install and configure Jdeveloper IDE, how to work with the IDE.

Chapter 2, Getting Started with ADF – you don’t know what is ADF? You would love to see a running example – You will learn the basics of Model-View-Controller Architecture, How ADF fits into the MVC patter, learn the components of ADF, building a simple ADF application.

Chapter 3, Understanding the Model Layer– Do you know how Business components work, can we explore? – You will learn about ADF Business components and how it works, familiarize with the components..

Chapter 4, Validating and Using the Model data– How will you do validation for your model? Learn how to write business logic declaratively, learn the groovy expressions, and manage transactions and exposing the data.

Chapter 5, Binding the Data– Do you know how to expose the model data to the UI layer? This chapter teaches how to use the data control and bind the data for the user interface.

Chapter 6, Displaying the Data– Do you want to design your page? You will learn how to display the data in the UI using layers and components.

Chapter 7, Working with Navigation Flows–  You would love to pass information from one page to another, but how? – Learn how to use the page flows and activities pass parameters and about ADF lifecycle.

Chapter 8, Layout with Look & Feel – Do you see your page good for the user? You will learn how to style the page and make it presentable.

Chapter 9, Implementing Security – You would love to secure your page, don’t you? This chapter will help in securing the page that you have created, Allow and restrict access for different roles and groups.

Chapter 10, Deploying the ADF Application – How do you make your application available to your friend? This chapter will help you deploy the application to the server.

Chapter 11, Advanced Features of ADF – Now you know the basics, what’s next? – Advanced features of the ADF11gR2 framework is explained in this chapter.

Advertisements

SOA – a quick view


What is SOA?

SOA is standard based method of system development and integration

What are the benefits?

  • Reusability
  • Integration
  • Interoperability
  • Agile development
  • Scalability
  • Cost Efficient

What are all the ways to implement services?

  • Point to point approach
  • Vendor specific implementation
  • CORBA
  • Web services
  • SCA-style implementation

What are Services?

  • Building blocks of SOA
  • Interface and message structure definitions
  • Standard protocol for interoperability

What are SOA standards?


What is SCA [Service Component Architecture]?

SCA provides a programming model for building applications using SOA

What are the difference between SOA and SCA?

  • SOA is an approach or implementation style and SCA uses SOA to build a composite application
  • SOA is architectural style but SCA is assembly model and defines/design

What are the elements of SCA?

What is SDO [Service Data Object]?

  • Representation of data source in XML format and specifes methods to create, delete and modify data
  • Simplify and unify the way in which applications handles the data

What is EDN [Event Driven Network]?

  • To handle asynchronous messaging arising from a business event
  • Supports publish and subscribe model
  • Aligns with Event driven Architecture [EDA]



How to add FavIcon to the ADF page


I bet this is a common question among ADF developers who wish to have their own favicon for their page

Please follow the steps to achieve the same

add the following facet to the af:document tag of your adf page

<af:document id="d1">
..
..
..
<f:facet name="metaContainer">
 outputText escape="false"
 value='png" href="#{facesContext.externalContext.requestContextPath}/favicon.ico">' id="o1"/>
 </f:facet>
</af:document>


please note that the favicon specified in the value attribute in the outputext should be in the root-level of your web application

How to check pending changes in the page when browser back button is clicked


set the following property in the af:document tag of your page

<af:document id="d1" uncommittedDataWarning="on">

uncommittedDataWarning - Specifies whether users should be warned about uncommitted data when navigating off the page or region. Setting this property to ‘on’ will enable the warnings.
we can also call

ViewPortContext.isDataDirty();

to check for any uncommitted data

Show dialog when a page is fully loaded


1. Add popup and outputText component at the end of your page (make sure popup is before outputText in the page structure)

2. Create bean binding for popup as well as outputText.

3. In the getter of outputText, launch popup programatically.

4. Set visible=false for outputText

Javascript code to fire the event


The following function can be called using the af:clientListener on any event

function showMenu(event){
 var adfRichMenu = event.getSource();
 adfRichMenu.getPeer().show(null,true);

}

Difference between commandToolBarbutton and commandButton


Ever wonder what is the difference between a commandToolBarButton and the commandButton

here it goes

CommandToolBarButton – partialSubmit – Default Value: true
whether the action should be done through a partial page submit or not. The default is true for commandToolBarButton, so be sure to specify partialTriggers if content needs to be updated.

CommandButton – partialSubmit – Default Value: false
whether the action should be done through a partial page submit or not. Default is false: no partial page submit; the full page will be refreshed. When set to true, the full page will not be refreshed. To re-render specific components on your page in response to the partial page submit, you have to tell ADF Faces. The easiest way to do this is with the partialTriggers attribute.