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

Enhancing the Faces messages user experience

All application messages are thrown as a dialog to the end user, which can be irritating sometimes. Oracle ADF Faces provides a great way of customizing this behavior by using the af:messages component.

In this recipe, we will edit the page template and add af:messages inside it. Then, we will add some CSS styles in the hrBlue.css skin file to enhance how messages look. Finally, we will add a button inside the employees.jsf to showcase different message types.

You can continue from the previous recipe, or you can grab this project's recipe by cloning the EnhancingFacesMessageUX application from the Git repository.

How to do it…

To know how to enhance the Faces messages experience, first we will add the ...

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