Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Applying ADF Faces component's attributes recommendations


There are several component-level tuning options that can be applied to the attributes of different components of your page and can increase the performance in a great way.

You'd be amazed by how small attribute changes can make a huge impact on the performance and scalability of your ADF application.

This recipe doesn't require an application as we will discuss those recommendations and elaborate on their importance.

How to do it…

In order to understand different optimizations over a component's attribute, perform the following steps:

  1. Use the immediate attribute if you don't want to process the data validation.

  2. Use the subform component if you have a special behavior of grouped components.

  3. Use the rendered attribute instead of the visible attribute to save the component mark up from being written inside the page's DOM.

  4. Use the client-side event for relatively simple event handling to speed up the application.

  5. Always cancel the server-side...