Sunday, October 24, 2010

Customizing database error messages in Oracle ADF

Hi,

One blog reader asked me how to customize error messages. Its a lucky day i am posting the same topic. You can easily customize the database error messages in any language. In this post i will demonstrate how to customize the error messages. I am customizing error messages of primary key and unique constraint.

You can find the error messages code on the following links.
  1. ADF common error codes
  2. ADFBC JBO messages

Download the sample code

More in this video



Happy Jdeveloping,
Zeeshan Baig

Thursday, October 21, 2010

Skipping Validation in Oracle ADF

Hi,

In my previous post i have mentioned about skipping validation on the page definition and i have found a very useful blog post by Jobinesh.

do check this out 

Have a nice day,
Zeeshan Baig

Wednesday, October 20, 2010

Creating Train flows in Oracle ADF

Hi,

You must've seen the wizard driven registration forms on the web which provides pretty useful approach break the whole tasks into limited screens. In ADF you can do the same by using Train flows in bounded task flow in simple words Train is one type of bounded task flows.

In this post we will see how to create Train flows in Oracle ADF and we will also calling another bounded task flow in between.

There is a little trick when you are creating a Train flow based on same entity you need to skip validations on the page definition to avoid errors.

Download the sample code

More details watch in this video





Check this great Oracle ADF book
















Happy JDeveloping,
Zeeshan Baig

Saturday, October 9, 2010

Display images in Carousel item in Oracle ADF

Hi,

af:carousel is a cool component in Oracle ADF which provides a gallery view of images (or others components) and enhance the user experience on the web.

In this post i enhanced my old post "Storing and reading images from BLOB in Oracle ADF". In this post i have added a new button Show all which displays all images stored in Table BLOB Column in Carousel on Page 2

Download the sample code

More info in this video




Happy JDeveloping,
Zeeshan Baig

Sunday, October 3, 2010

Creating Shuttle Component in Oracle ADF

Hi,

In this post we will see how to create select many Shuttle component in Oracle ADF.

af:selectManyShuttle component requires leading and trailing values  as java.util.List you can create a List from your iterator or static values.

Download sample code

More info in this video




Happy Jdeveloping,
Zeeshan Baig