blob: 5ec8204c6d34da8fe827f0e89b2af3d3d119bcad [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!--
Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<!-- =========== DEMO COMPONENTS CONFIGURATION FILE ======================= -->
<faces-config>
<!-- Custom Components -->
<component>
<component-type>DemoArea</component-type>
<component-class>components.components.AreaComponent</component-class>
<property>
<description>
Alternate text if we synthesize an ImageArea bean.
</description>
<property-name>alt</property-name>
<property-class>java.lang.String</property-class>
</property>
<property>
<description>
Hotspot coordinates if we synthesize an ImageArea bean.
</description>
<property-name>coords</property-name>
<property-class>java.lang.String</property-class>
</property>
<property>
<description>
Shape (default, rect, circle, poly) if we synthesize an ImageArea bean.
</description>
<property-name>shape</property-name>
<property-class>java.lang.String</property-class>
</property>
<component-extension>
<component-family>Area</component-family>
<renderer-type>DemoArea</renderer-type>
</component-extension>
</component>
<component>
<component-type>Graph</component-type>
<component-class>components.components.GraphComponent</component-class>
<component-extension>
<component-family>Graph</component-family>
<renderer-type>MenuBar</renderer-type>
</component-extension>
</component>
<component>
<component-type>DemoMap</component-type>
<component-class>components.components.MapComponent</component-class>
<property>
<description>
Alternate text for the currently selected child AreaComponent.
</description>
<property-name>current</property-name>
<property-class>java.lang.String</property-class>
</property>
<component-extension>
<component-family>Map</component-family>
<renderer-type>DemoMap</renderer-type>
</component-extension>
</component>
<component>
<component-type>Pane</component-type>
<component-class>components.components.PaneComponent</component-class>
<component-extension>
<component-family>Pane</component-family>
<renderer-type>Tab</renderer-type>
</component-extension>
</component>
<component>
<component-type>Scroller</component-type>
<component-class>components.components.ScrollerComponent</component-class>
<component-extension>
<component-family>Scroller</component-family>
</component-extension>
</component>
<component>
<component-type>Chart</component-type>
<component-class>components.components.ChartComponent</component-class>
<component-extension>
<component-family>Chart</component-family>
</component-extension>
</component>
<component>
<component-type>ChartItem</component-type>
<component-class>components.components.ChartItemComponent</component-class>
<component-extension>
<component-family>ChartItem</component-family>
</component-extension>
</component>
<!-- Custom Renderers -->
<render-kit>
<renderer>
<description>
Renderer for a components.components.AreaComponent component.
</description>
<component-family>Area</component-family>
<renderer-type>DemoArea</renderer-type>
<renderer-class>components.renderkit.AreaRenderer</renderer-class>
<attribute>
<description>
Context-relative path to an image to be displayed when the
mouse is not hovering over this hotspot.
</description>
<attribute-name>onmouseout</attribute-name>
<attribute-class>java.lang.String</attribute-class>
</attribute>
<attribute>
<description>
Context-relative path to an image to be displayed when the
mouse is hovering over this hotspot.
</description>
<attribute-name>onmouseover</attribute-name>
<attribute-class>java.lang.String</attribute-class>
</attribute>
<attribute>
<description>
CSS style class to use when rendering this component.
</description>
<attribute-name>styleClass</attribute-name>
<attribute-class>java.lang.String</attribute-class>
</attribute>
</renderer>
<renderer>
<description>
Renderer for a components.components.MapComponent component.
</description>
<component-family>Map</component-family>
<renderer-type>DemoMap</renderer-type>
<renderer-class>components.renderkit.MapRenderer</renderer-class>
<attribute>
<description>
CSS style class to use when rendering this component.
</description>
<attribute-name>styleClass</attribute-name>
<attribute-class>java.lang.String</attribute-class>
</attribute>
</renderer>
<renderer>
<component-family>Graph</component-family>
<renderer-type>MenuBar</renderer-type>
<renderer-class>components.renderkit.MenuBarRenderer</renderer-class>
</renderer>
<renderer>
<component-family>Graph</component-family>
<renderer-type>MenuTree</renderer-type>
<renderer-class>components.renderkit.MenuTreeRenderer</renderer-class>
</renderer>
<renderer>
<description>
Renderer for a UIData component that can serve as the basis for
different markup creation for the components that are children
of the child UIColumn components.
</description>
<component-family>jakarta.faces.Data</component-family>
<renderer-type>Repeater</renderer-type>
<renderer-class>components.renderkit.RepeaterRenderer</renderer-class>
</renderer>
<renderer>
<component-family>jakarta.faces.Output</component-family>
<renderer-type>Stylesheet</renderer-type>
<renderer-class>components.renderkit.StylesheetRenderer</renderer-class>
</renderer>
<renderer>
<component-family>Pane</component-family>
<renderer-type>TabLabel</renderer-type>
<renderer-class>components.renderkit.TabLabelRenderer</renderer-class>
</renderer>
<renderer>
<component-family>Pane</component-family>
<renderer-type>Tab</renderer-type>
<renderer-class>components.renderkit.TabRenderer</renderer-class>
</renderer>
<renderer>
<component-family>Pane</component-family>
<renderer-type>Tabbed</renderer-type>
<renderer-class>components.renderkit.TabbedRenderer</renderer-class>
</renderer>
</render-kit>
</faces-config>