cocoon-users-fr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pierrick henry" <pierrickhe...@hotmail.com>
Subject meme probleme de page index-uri
Date Tue, 08 Mar 2005 11:24:11 GMT
Voila j'ai modifié ma page sitemap, rajouté mon fichier xhtml au bon endroit 
mais cette fois ci il me dit que la ressource est manquante,bien que je sois 
sur qu'elle soient au bon endroit(dans le dossier static en bas).Je vous 
joint mon sitemap pour info.


<?xml version="1.0" encoding="utf-8" ?>
<!--
	Sitemap for GenetrixML application.
-->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
	<!-- Components are declared in the root sitemap.xmap -->
	<map:components>
		<map:generators default="xsp"/>
		<map:transformers default="xslt"/>
		<map:readers default="resource"/>
		<map:serializers default="xhtml"/>
		<map:serializers default="html"/>
		<map:matchers default="wildcard"/>
		<map:actions>
			<map:action name="displayer" 
src="org.genetrix.genetrixml.query.DisplayerAction"/>
		</map:actions>
	</map:components>

	<map:pipelines>
		<!-- Genetrixml Application Pipeline -->
		<map:pipeline>

			<map:match pattern="">
				<map:redirect-to uri="index.xhtml"/>
			</map:match>

			<!-- The followings patterns are intercepted to apply the correct XSL 
Stylesheet -->
			<map:match pattern="consult/full-text/action.xhtml">
				<map:generate src="content/consult/full-text/action.xsp"/>
				<map:transform src="styles/html/consult/full-text.xsl"/>
				<map:serialize/>
			</map:match>

			<map:match pattern="consult/**/action.xhtml">
				<map:generate src="content/consult/{1}/action.xsp"/>
				<map:act type="displayer">
					<map:transform src="{displayerURL}/displayer.xsl"/>
				</map:act>
				<map:serialize/>
			</map:match>

			<map:match pattern="action.xhtml">
				<map:generate src="content/action.xsp"/>
				<map:transform src="styles/html/action.xsl"/>
				<map:serialize />
			</map:match>

			<map:match pattern="consult/completion2.xhtml">
				<map:generate src="content/consult/completion2.xsp"/>
				<map:transform src="styles/html/consult/completion.xsl"/>
				<map:serialize />
			</map:match>

			<map:match pattern="consult/completion.xhtml">
				<map:generate src="content/consult/completion.xsp"/>
				<map:transform src="styles/html/consult/completion.xsl"/>
				<map:serialize />
			</map:match>

			<map:match pattern="consult/links.xhtml">
				<map:generate src="content/consult/links.xsp"/>
				<map:transform src="styles/html/consult/links.xsl"/>
				<map:serialize />
			</map:match>

			<map:match pattern="upload/*/action.xhtml">
				<map:generate src="content/upload/{1}/action.xsp"/>
				<map:transform src="styles/html/upload.xsl"/>
				<map:serialize />
			</map:match>

			<map:match pattern="upload/*/action-*.xhtml">
				<map:generate src="content/upload/{1}/action-{2}.xsp"/>
				<map:transform src="styles/html/upload.xsl"/>
				<map:serialize />
			</map:match>

			<map:match pattern="consult/workshop/*.xhtml">
				<map:generate src="content/consult/workshop/{1}.xsp"/>
				<!--map:transform src="styles/html/consult/completion.xsl"/-->
				<map:serialize />
			</map:match>

			<map:match pattern="index.xhtml">
				<map:generate src="content/{1}.xsp"/>
				<map:transform src="styles/html/from-flat-skeleton.xsl"/>
				<map:serialize />
			</map:match>

			<!-- -->

			<!-- Generic pattern for xsp pages -->
			<map:match pattern="**.xhtml">
				<map:generate src="content/{1}.xsp"/>
				<map:transform src="styles/html/form-flat-skeleton.xsl"/>
				<map:serialize />
			</map:match>
			<!-- -->

			<!-- Patterns for documentation -->
			<map:match pattern="doc/">
				<map:read src="cocoon://common/docs/index.html" mime-type="text/html"/>
			</map:match>

			<map:match pattern="doc/tree/">
				<map:read src="cocoon://common/docs/tree/index.html" 
mime-type="text/html"/>
			</map:match>

			<map:match pattern="doc/**">
				<map:read src="cocoon://common/docs/{1}"/>
			</map:match>
			<!-- -->

			<!-- Generic patterns for static documents -->
			<map:match pattern="images/**">
				<map:read src="images/{1}" />
			</map:match>

			<map:match pattern="partition-data/**">
				<map:read src="partition-data/{1}" />
			</map:match>

			<map:match pattern="**favicon.ico">
				<map:read src="images/favicon.ico"/>
			</map:match>

			<map:match pattern="**.html">
				<map:read src="static/{1}.html" mime-type="text/html"/>
			</map:match>

			<map:match pattern="**.css">
				<map:read src="styles/html/css/{1}.css" mime-type="text/css"/>
			</map:match>

			<map:match pattern="**.js">
				<map:read src="styles/html/js/{1}.js" mime-type="text/javascript"/>
			</map:match>

			<map:match pattern="**.xhtml">
				<map:read src="static/{1}.xhtml" mime-type="application/xhtml+xml"/>
			</map:match>

			<!-- -->

			<!-- Generic Pattern -->
			<map:match pattern="**">
				<map:read src="{1}" />
			</map:match>
			<!-- -->
		</map:pipeline>
	</map:pipelines>
</map:sitemap>



---------------------------------------------------------------------
Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/
Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org
Autres commandes : mailto:users-fr-help@cocoon.apache.org


Mime
View raw message