O'Reilly logo

Oracle ADF Faces Cookbook by Amr Gawish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the target tag to execute PPR

Using PPR makes it really easy to render parts of your page on demand; however, in some use cases, it can become very hard to manage the PPR, especially with validations around.

For example, if you have a selectOneChoice component that refers to a lookup table, you may want to provide the end user with a create button to create a new row in the lookup table, if it doesn't exist. Now that is a great feature, but if selectOneChoice is the required field, then the create button will not be triggered unless the user selects a value of selectOneChoice first.

Setting the immediate attribute to true will not solve the problem either, because it'll not change or execute the update model phase, which may be required.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required