© Sten Vesterli 2017
Sten VesterliOracle ADF Survival Guidehttps://doi.org/10.1007/978-1-4842-2820-3_5

5. Presentation Logic

Sten Vesterli
(1)
Værløse, Denmark
 
As you saw in Chapter 1, ADF handles all the basic functionality of getting data from the database onto the web page, accepting changes, and storing data back. It’s not until you want something other than the default functionality that you need to start writing code.
This chapter describes how to add logic to the presentation layer. ADF offers several ways:
  • Prebuilt UI component validators (declarative)
  • Managed beans (server-side Java code)
  • Custom client-side JavaScript

Prebuilt Validators

You saw in Chapter 4 that it is possible to add a lot of validation to business component attributes, both ...

Get Oracle ADF Survival Guide: Mastering the Application Development Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.