blob: 35e70b9f9168509542fe94199d315d5eef208478 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 1999-2004 The Apache Software Foundation
Licensed 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.
-->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:components>
<map:actions>
<map:action name="faces"
logger="sitemap.action.faces"
src="org.apache.cocoon.faces.FacesAction">
<cut-suffix>.faces</cut-suffix>
<add-suffix>.view</add-suffix>
</map:action>
</map:actions>
</map:components>
<map:pipelines>
<map:pipeline>
<map:match pattern="">
<map:redirect-to uri="chooseLocale.faces"/>
</map:match>
<map:match pattern="*.faces">
<map:act type="faces"/>
</map:match>
<map:match pattern="*.view">
<map:generate src="{1}.xml"/>
<map:transform type="cinclude"/>
<map:transform type="taglib"/>
<map:serialize/>
</map:match>
<!-- images -->
<map:match pattern="images/*.gif">
<map:read mime-type="image/gif" src="images/{1}.gif"/>
</map:match>
<map:match pattern="images/*.jpg">
<map:read mime-type="image/jpeg" src="images/{1}.jpg"/>
</map:match>
<!-- CSS stylesheets -->
<map:match pattern="*.css">
<map:read mime-type="text/css" src="{1}.css"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>