Chapter 7: Working with Life Cycle Events, Validations, and UI Logic
In this chapter, we'll work with the life cycle events of our page, which will help you to execute your custom code before or while exiting the page. Life cycle events are very important to understand as they help you to perform cleanup and other important tasks before a user enters or exits a page. For example, you can redirect a user to the login page if a user is trying to access a secured page or you want to abort the user session before the user leaves a secured page. We'll execute an example where you will see how to use a life cycle event to load data before a page loads.
We'll show you how to populate the data from relational Business Objects in two separate tables and how to populate child data based on the selection of a parent row. You will learn how to validate a web form on the client side.
We'll show you how to implement various logic related to UI components, such as hiding...