
META-INF.faces-config.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- $Id$ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- ================== STRUTS-FACES CONFIGURATION FILE =================== --> <faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd" version="1.2"> <!-- Custom JSF Lifecycle and Evaluator Objects --> <application> <action-listener> org.apache.struts.faces.application.ActionListenerImpl </action-listener> <el-resolver> org.apache.struts.faces.application.DynaActionFormELResolver </el-resolver> <el-resolver> org.apache.struts.faces.application.DynaBeanELResolver </el-resolver> <view-handler> org.apache.struts.faces.application.ViewHandlerImpl </view-handler> </application> <!-- Custom Components --> <component> <component-type>org.apache.struts.faces.Base</component-type> <component-class> org.apache.struts.faces.component.BaseComponent </component-class> <property> <description> Target frame for this base reference. </description> <display-name>Target Frame</display-name> <property-name>target</property-name> <property-class>java.lang.String</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.CommandLink</component-type> <component-class> org.apache.struts.faces.component.CommandLinkComponent </component-class> <property> <description> Access key that, when pressed, transfers focus to this element. </description> <display-name>Access Key</display-name> <property-name>accesskey</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Character encoding of the resource identified by this hyperlink. </description> <display-name>Character Set</display-name> <property-name>charset</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Direction indication for text ("LTR" or "RTL"). </description> <display-name>Direction</display-name> <property-name>dir</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Language code of the resource identified by this hyperlink. </description> <display-name>Resource Language Code</display-name> <property-name>hreflang</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Language code used for the generated markup of this element. </description> <display-name>Language Code</display-name> <property-name>lang</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when this element loses focus. </description> <display-name>Focus Off Script</display-name> <property-name>onblur</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a pointer button is clicked over this element. </description> <display-name>Button Click Script</display-name> <property-name>onclick</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a pointer button is double clicked over this element. </description> <display-name>Double Click Script</display-name> <property-name>ondblclick</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when this element receives focus. </description> <display-name>Focus On Script</display-name> <property-name>onfocus</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a key is pressed and released over this element. </description> <display-name>Key Down Script</display-name> <property-name>onkeydown</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a key is pressed and released over this element. </description> <display-name>Key Press Script</display-name> <property-name>onkeypress</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a key is pressed and released over this element. </description> <display-name>Key Up Script</display-name> <property-name>onkeyup</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a pointer button is pressed down over this element. </description> <display-name>Mouse Down Script</display-name> <property-name>onmousedown</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a pointer button is moved over this element. </description> <display-name>Mouse Move Script</display-name> <property-name>onmousemove</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a pointer button is moved off of this element. </description> <display-name>Mouse Out Script</display-name> <property-name>onmouseout</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a pointer button is moved onto this element. </description> <display-name>Mouse Over Script</display-name> <property-name>onmouseover</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Scripting code executed when a pointer button is released over this element. </description> <display-name>Mouse Up Script</display-name> <property-name>onmouseup</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Relationship from the current document to the resource specified by this hyperlink. </description> <display-name>Relationship</display-name> <property-name>rel</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Relationship from the resource identified by this hyperlink to the current document. </description> <display-name>Reverse Relationship</display-name> <property-name>rev</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> CSS style(s) to be applied when this component is rendered. </description> <display-name>CSS Styles</display-name> <property-name>style</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Space-separated list of CSS style class(es) to be applied when this element is rendered. </description> <display-name>CSS Style Classes</display-name> <property-name>styleClass</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Position of this element in the tabbing order for the current document. </description> <display-name>Tab Index</display-name> <property-name>tabindex</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Name of the frame where the resource identified by this hyperlink should be displayed. </description> <display-name>Target Frame</display-name> <property-name>target</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Advisory title information about markup elements generated for this component. </description> <display-name>Advisory Title</display-name> <property-name>title</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Content type of the resource identified by this hyperlink. </description> <display-name>Content Type</display-name> <property-name>type</property-name> <property-class>java.lang.String</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.Errors</component-type> <component-class> org.apache.struts.faces.component.ErrorsComponent </component-class> <property> <description> Application scope attribute key for the MessageResources instance to use for lookup. If not specified, the default MessageResources for the current module will be used. </description> <display-name>MessageResources Key</display-name> <property-name>bundle</property-name> <property-class>java.lang.String</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.Form</component-type> <component-class> org.apache.struts.faces.component.FormComponent </component-class> <property> <description> Struts action to be executed. </description> <display-name>Struts 1</display-name> <property-name>action</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Encoding type for form submit. </description> <display-name>Encoding Type</display-name> <property-name>enctype</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Name of focus component identifier. </description> <display-name>Focus Component Name</display-name> <property-name>focus</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Index of focus component identifier. </description> <display-name>Focus Component Index</display-name> <property-name>focusIndex</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> JavaScript to execute on form reset. </description> <display-name>Form Reset Script</display-name> <property-name>onreset</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> JavaScript to execute on form submit. </description> <display-name>Form Submit Script</display-name> <property-name>onsubmit</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> CSS style(s) to render for this component. </description> <display-name>CSS Style(s)</display-name> <property-name>style</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> CSS style class(es) to render for this component. </description> <display-name>CSS Style Class(es)</display-name> <property-name>styleClass</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Target frame for the response to this form submit. </description> <display-name>Target Frame</display-name> <property-name>target</property-name> <property-class>java.lang.String</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.Html</component-type> <component-class> org.apache.struts.faces.component.HtmlComponent </component-class> <property> <description> Flag indicating whether a Locale should be stored in the user's session, based on the Accept-Language header, if one is not already present. </description> <display-name>Locale Flag</display-name> <property-name>locale</property-name> <property-class>boolean</property-class> </property> <property> <description> Flag indicating whether XHTML-compatible output should be rendered. </description> <display-name>XHTML Flag</display-name> <property-name>xhtml</property-name> <property-class>boolean</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.JavascriptValidator</component-type> <component-class> org.apache.struts.faces.component.JavascriptValidatorComponent </component-class> <property> <description> Application scope attribute key for the MessageResources instance to use for lookup. If not specified, the default MessageResources for the current module will be used. </description> <display-name>MessageResources Key</display-name> <property-name>bundle</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> The name of the form that corresponds with the action name in struts-config.xml. Specifying a form name places a <script> </script> around the JavaScript. </description> <display-name>Form Name</display-name> <property-name>formName</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> The current page number of a multi-part form. Only valid when the formName attribute is set. </description> <display-name>Page Number</display-name> <property-name>page</property-name> <property-class>int</property-class> </property> <property> <description> This will be used as is for the JavaScript validation method name if it has a value. This is the method name of the main JavaScript method that the form calls to perform validations. </description> <display-name>Method Name</display-name> <property-name>method</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> The static JavaScript methods will only be printed if this is set to "true". </description> <display-name>Static JavaScript-Flag</display-name> <property-name>staticJavascript</property-name> <property-class>boolean</property-class> </property> <property> <description> The dynamic JavaScript objects will only be generated if this is set to "true". </description> <display-name>Dynamic JavaScript-Flag</display-name> <property-name>dynamicJavascript</property-name> <property-class>boolean</property-class> </property> <property> <description> The src attribute for html script element (used to include an external script resource). The src attribute is only recognized when the formName attribute is specified. </description> <display-name>Source-Attribute</display-name> <property-name>src</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> The JavaScript methods will enclosed with html comments if this is set to "true". </description> <display-name>HTML-Comment-Flag</display-name> <property-name>htmlComment</property-name> <property-class>boolean</property-class> </property> <property> <description> Hide JavaScript methods in a CDATA section for XHTML when "true". </description> <display-name>CDATA-Section</display-name> <property-name>cdata</property-name> <property-class>boolean</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.LoadMessages</component-type> <component-class> org.apache.struts.faces.component.LoadMessagesComponent </component-class> <property> <description> The name of the "MessageResources" to expose, or "null" for the default "MessageResources" for this application module. </description> <display-name>MessageResources Key</display-name> <property-name>messages</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> The request attribute key under which the "MessagesMap" will be exposed. </description> <display-name>Variable Name</display-name> <property-name>var</property-name> <property-class>java.lang.String</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.Message</component-type> <component-class> org.apache.struts.faces.component.MessageComponent </component-class> <property> <description> Application scope attribute key for the MessageResources instance to use for lookup. If not specified, the default MessageResources for the current module will be used. </description> <display-name>MessageResources Key</display-name> <property-name>bundle</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> Should we filter the output for characters that are sensitive in HTML? The default value is "true". </description> <display-name>Filtered Flag</display-name> <property-name>filter</property-name> <property-class>boolean</property-class> </property> <property> <description> Message key to use for message lookup </description> <display-name>Message Key</display-name> <property-name>key</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> CSS style(s) to render for this component. </description> <display-name>CSS Style(s)</display-name> <property-name>style</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> CSS style class(es) to render for this component. </description> <display-name>CSS Style Class(es)</display-name> <property-name>styleClass</property-name> <property-class>java.lang.String</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.Stylesheet</component-type> <component-class> org.apache.struts.faces.component.StylesheetComponent </component-class> <property> <description> Context-relative path (starting with a "/" character) of the stylesheet to which this link should point. </description> <display-name>Stylesheet Path</display-name> <property-name>path</property-name> <property-class>java.lang.String</property-class> </property> </component> <component> <component-type>org.apache.struts.faces.Write</component-type> <component-class> org.apache.struts.faces.component.WriteComponent </component-class> <property> <description> Flag indicating that the rendered output should be filtered for characters that are sensitive in HTML. Default value is "true". </description> <display-name>Filtered Flag</display-name> <property-name>filter</property-name> <property-class>boolean</property-class> </property> <property> <description> CSS style(s) to render for this component. </description> <display-name>CSS Style(s)</display-name> <property-name>style</property-name> <property-class>java.lang.String</property-class> </property> <property> <description> CSS style class(es) to render for this component. </description> <display-name>CSS Style Class(es)</display-name> <property-name>styleClass</property-name> <property-class>java.lang.String</property-class> </property> </component> <!-- Custom Managed Beans --> <managed-bean> <managed-bean-name>struts</managed-bean-name> <managed-bean-class> org.apache.struts.faces.util.StrutsContext </managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <!-- Custom Renderers --> <render-kit> <renderer> <component-family>org.apache.struts.faces.Base</component-family> <renderer-type>org.apache.struts.faces.Base</renderer-type> <renderer-class> org.apache.struts.faces.renderer.BaseRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.CommandLink</component-family> <renderer-type>org.apache.struts.faces.CommandLink</renderer-type> <renderer-class> org.apache.struts.faces.renderer.CommandLinkRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.Errors</component-family> <renderer-type>org.apache.struts.faces.Errors</renderer-type> <renderer-class> org.apache.struts.faces.renderer.ErrorsRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.Form</component-family> <renderer-type>org.apache.struts.faces.Form</renderer-type> <renderer-class> org.apache.struts.faces.renderer.FormRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.Html</component-family> <renderer-type>org.apache.struts.faces.Html</renderer-type> <renderer-class> org.apache.struts.faces.renderer.HtmlRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.JavascriptValidator</component-family> <renderer-type>org.apache.struts.faces.JavascriptValidator</renderer-type> <renderer-class> org.apache.struts.faces.renderer.JavascriptValidatorRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.LoadMessages</component-family> <renderer-type>org.apache.struts.faces.LoadMessages</renderer-type> <renderer-class> org.apache.struts.faces.renderer.LoadMessagesRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.Message</component-family> <renderer-type>org.apache.struts.faces.Message</renderer-type> <renderer-class> org.apache.struts.faces.renderer.MessageRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.Stylesheet</component-family> <renderer-type>org.apache.struts.faces.Stylesheet</renderer-type> <renderer-class> org.apache.struts.faces.renderer.StylesheetRenderer </renderer-class> </renderer> <renderer> <component-family>org.apache.struts.faces.Write</component-family> <renderer-type>org.apache.struts.faces.Write</renderer-type> <renderer-class> org.apache.struts.faces.renderer.WriteRenderer </renderer-class> </renderer> </render-kit> </faces-config>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy