First page Back Continue Last page Text

oracle adf workshop


Configuring the Application: faces-config.xml

ADFc is an extension to the JSF controller. This means that managed beans configured in the faces­config.xml file are also accessible if your application uses ADFc for navigation. The search order is such that the reference to a managed bean is first resolved to faces­config.xml. If the bean is not found there, the ADFc configuration file is referenced.

Although you can use both faces-config.xml and adfc-config.xml for configuration, Oracle recommends that you use one approach consistently. Because unbounded task flows are ADFc functionality and therefore are configured in adfc-config.xml, it may be best to use that file for managed bean configuration also.