Monday Mar 05, 2012

New ADF Insider Essentials - Basing a view object on multiple entities

One of the common requirements when building an application on relational database tables is the ability to incorporate attributes from different sources into a data view which is more representative of the application requirement, rather than the database schema. ADF Business Components provides a powerful feature which can be used, for example, when viewing Emp data, you would want to displayed Department Name from the Dept table rather than just DeptId, which is less intuitive to the end users.  To help understand the use case and how to implement it, we've just published this ADF Insider Essentials on YouTube which explains how you can do this.

Friday Oct 14, 2011

Two new ADF Insider Essentials Published

I've just published two new ADF Insider Essentials on You Tube.  The first demonstrates how to set an attribute's default value to the value found in another entity object.  This is a common use case where, for example, an employees default salary is the min salary for the job role, which is defined in the jobs table.

The second explains how to implement a total.  Again a common use case where, for example, you want to display the total salary for a department (which of course is based on the total of all the relevant employee's salary).

These should be essential skills for anyone developing in the Oracle ADF world.

Monday Sep 05, 2011

Forcing a PPR when the framework doesn't refresh

I've just published a new ADF Insider Essentials video showing how to implement programmatic PPR.  Why would you need to know this?  ADF Faces has a number of features for declaratively defining when data is submitted on a page and which data should be refreshed automatically.  However, there are some times when the framework maybe doesn't refresh a component when you expect it to and so you decide to force the PPR of a component in code.

Its actually pretty easy and this 7 minute video explains how you can do this.

Monday Aug 15, 2011

Creating different LOVs for the same ADF BC attribute

A really neat feature of ADF Business Components is that you can define different LOVs for the same attribute.   So why might you want to do that?  Well consider the use case that for an order you have PaymentType=Cash or Credit.  You also have an attribute PaymentDetail, depending on the PaymentType you want to display either a list of credit card companies OR a list of currencies.

I've just uploaded a new ADF Insider Essentials to our YouTube channel that shows you to implement this behaviour.  This will also be uploaded onto OTN.  If you are not already, it might be worth subscribing to the channel.

Enjoy!

Friday Jul 08, 2011

Access and manage a view criteria from code

A common development use case in Oracle ADF is being able to dynamically filter data based on runtime data such as who is logged in, which screen are they on, maybe even the time of the day.  This is usually achieved by applying view criteria on the view object.  The dynamic element comes from the fact you can apply, remove and append view criteria from code.

This ADF Insider Essentials demo has just been uploaded onto YouTube where I show examples of how you can programmatically control view criteria.


About

Tips, Tricks, Events and Information around Oracle JDeveloper, ADF, and Oracle Forms

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today