blob: 3bfbdbb165067f555093224277484f4699f04ed8 [file] [log] [blame]
<?xml version="1.0"?>
<!--
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.
-->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:components>
<map:generators default="file">
<map:generator name="xmlprofile"
src="org.apache.cocoon.portal.tools.copletManagement.generation.XMLProfileGenerator" />
</map:generators>
<map:transformers default="xalan">
</map:transformers>
</map:components>
<!-- flow script -->
<map:flow language="javascript">
<map:script src="flow.js" />
</map:flow>
<map:pipelines>
<!-- Now the accessible pipelines -->
<map:pipeline>
<map:match pattern="main">
<map:generate src="tool.xml" />
<map:serialize type="xml" />
</map:match>
<map:match pattern="save-user-profile">
<map:generate src="context://samples/blocks/portal/resources/save-user-profile.xml"/>
<map:transform src="context://samples/blocks/portal/styles/save-user-profile.xsl">
<map:parameter name="profiles" value="context://samples/blocks/portal/profiles/"/>
</map:transform>
<map:transform type="session"/>
<map:transform type="write-source"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="i18n/**">
<map:generate src="{1}" type="i18nc"/>
<map:serialize type="xml"/>
</map:match>
<!-- generate the layoutprofile -->
<map:match pattern="layoutProfile/*">
<map:generate type="xmlprofile"/>
<map:transform src="styles/createIndex.xsl">
<map:parameter name="rootId" value="{1}" />
</map:transform>
<map:serialize type="xml" />
</map:match>
<map:match pattern="layoutProfile">
<map:generate type="xmlprofile"/>
<map:transform src="styles/createIndex.xsl">
</map:transform>
<map:serialize type="xml" />
</map:match>
<map:match pattern="page/showTab/*">
<map:generate src="cocoon:/layoutProfile/{1}"/>
<map:transform src="../../skins/{portal-skin:skin}/styles/showTab.xsl">
<map:parameter name="current" value="{1}" />
<map:parameter name="parent" value="{request-param:parent}"/>
<map:parameter name="currentSkin" value="{global:skin}"/>
</map:transform>
<map:transform type="tool-layout">
<map:parameter name="selected" value="copletManagement" />
</map:transform>
<map:transform type="i18n" />
<map:transform src="{portal-skin:skin.basepath}/styles/tab.xsl" />
<map:transform src="../../skins/{portal-skin:skin}/styles/function.xsl" />
<map:transform src="{portal-skin:skin.basepath}/styles/portal-page.xsl">
<map:parameter name="base" value="{portalpath:relative}"/>
<map:parameter name="title" value="{global:toolsTitle}"/>
</map:transform>
<map:serialize type="html" />
</map:match>
<map:match pattern="page/showxml/*">
<map:generate src="cocoon:/layoutProfile/{1}"/>
<map:serialize type="xml" />
</map:match>
<map:match pattern="jx/*.jx">
<map:generate src="jx/{1}.jx" type="jx" />
<map:transform type="tool-layout">
<map:parameter name="selected" value="copletManagement" />
</map:transform>
<map:transform type="i18n" />
<map:transform src="{portal-skin:skin.basepath}/styles/tab.xsl" />
<map:transform src="../../skins/{portal-skin:skin}/styles/function.xsl" />
<map:transform src="{portal-skin:skin.basepath}/styles/portal-page.xsl">
<map:parameter name="base" value="{portalpath:relative}"/>
<map:parameter name="title" value="{global:toolsTitle}"/>
</map:transform>
<map:serialize type="html" />
</map:match>
<map:match pattern="form/**">
<map:generate src="form/{1}.xml"/>
<map:transform type="forms"/>
<map:transform type="jx"/>
<map:transform type="tool-layout">
<map:parameter name="selected" value="copletManagement" />
</map:transform>
<map:transform src="{portal-skin:skin.basepath}/styles/forms-styling.xsl" />
<map:transform type="i18n" />
<map:transform src="{portal-skin:skin.basepath}/styles/tab.xsl" />
<map:transform src="../../skins/{portal-skin:skin}/styles/function.xsl" />
<map:transform src="{portal-skin:skin.basepath}/styles/portal-page.xsl">
<map:parameter name="base" value="{portalpath:relative}"/>
<map:parameter name="title" value="{global:toolsTitle}"/>
</map:transform>
<map:serialize type="html" />
</map:match>
<map:match pattern="model/**">
<map:generate src="form/{1}/form.xml"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="selectSkinThumb/*">
<map:read src="{portal-skin:skin.thumbnailuri.{1}}"/>
</map:match>
<map:match pattern="*.continue">
<map:call continuation="{1}" />
</map:match>
<map:match pattern="*">
<map:call function="{1}" />
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>
<!-- end of file -->