Name
<application>
Synopsis
The <application> element
declares replacements for various
pluggable classes for the application. The top-level nested elements
can be declared in any order.
Syntax
<application> [<action-listener>actionListener</action-listener>] [<default-render-kit>defaultRenderKit</default-render-kit>] [<message-bundle>messageBundle</message-bundle>] [<navigation-handler>navigationHandler</navigation-handler>] [<view-handler>viewHandler</view-handler>] [<state-manager>stateManager</state-manager>] [<property-resolver>propertyHandler</property-resolver>] [<variable-resolver>variableResolver</variable-resolver>] [<locale-config> [<default-locale>defaultLocale</default-locale>] [<supported-locale>supportedLocale</supported-locale>]* </locale-config>] </application>
The <action-listener> element contains the
fully qualified class name for a class implementing the
javax.faces.event.ActionListener interface, used
as the default ActionListener for the application:
<action-listener> com.mycompany.jsf.MyActionListener </action-listener>
The <default-render-kit> element contains
identifier for a default render kit to use instead of the JSF HTML
basic render kit:
<default-render-kit>myFancyHTMLKit</default-render-kit>
The <message-bundle> element contains base
name for the message resource bundle containing custom message texts
for the JSF standard messages (see the
java.util.ResourceBundle JavaDocs and
Chapter 7
for details):
<message-bundle>myMessages</message-bundle>
The <navigation-handler> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access