blob: 1a6a1690e6932c6d2980750c8d160810183158ff [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
* 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.
-->
<tobago-config
xmlns="http://myfaces.apache.org/tobago/tobago-config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://myfaces.apache.org/tobago/tobago-config http://myfaces.apache.org/tobago/tobago-config-2.0.xsd"
version="2.0">
<name>my-name</name>
<ordering>
<after>
<name>my-after</name>
</after>
<before>
<name>my-before-1</name>
<name>my-before-2</name>
</before>
</ordering>
<theme-config>
<default-theme>speyside</default-theme>
<supported-theme>scarborough</supported-theme>
<supported-theme>standard</supported-theme>
</theme-config>
<resource-dir>my-resource-1</resource-dir>
<resource-dir>my-resource-2</resource-dir>
<create-session-secret>false</create-session-secret>
<check-session-secret>false</check-session-secret>
<prevent-frame-attacks>false</prevent-frame-attacks>
<set-nosniff-header>false</set-nosniff-header>
<content-security-policy mode="on">
<directive>default-src 'self'</directive>
<directive>child-src http://apache.org</directive>
</content-security-policy>
<renderers>
<renderer>
<name>MyRenderer-1</name>
<supported-markup>
<markup>my-markup-1</markup>
</supported-markup>
</renderer>
<renderer>
<name>MyRenderer-2</name>
<supported-markup>
<markup>my-markup-2-1</markup>
<markup>my-markup-2-2</markup>
</supported-markup>
</renderer>
</renderers>
<theme-definitions>
<theme-definition>
<name>my-theme-1</name>
<display-name>My Theme 1</display-name>
<resource-path>/my/path-1</resource-path>
<versioned>true</versioned>
<renderers>
<renderer>
<name>ThemeRenderer</name>
<supported-markup>
<markup>theme-markup</markup>
</supported-markup>
</renderer>
</renderers>
<resources production="true">
<script name="script.js"/>
<style name="style.css"/>
</resources>
</theme-definition>
<theme-definition>
<name>my-theme-2</name>
<resource-path>/my/path-2</resource-path>
<fallback>my-theme-1</fallback>
<resources production="false"/>
</theme-definition>
</theme-definitions>
</tobago-config>