Bonjour,
j'ai une question à propos d'un fichier sitemap dans obl :
blocks/core/common/webapp/feature/profiles/sitemap.xmap
A propos du pipeline ci-dessous :
<map:match
pattern="getProfile-(*)-profiles-copletinstancedata/portal-*-*.xml">
<map:select type="resource-exists">
<map:when
test="{myxml:/config/project-root/value}/{1}/profiles/copletinstancedata/portal-{2}-{3}.xml">
<map:redirect-to
uri="cocoon://project/{1}/profiles/copletinstancedata/portal-{2}-{3}.xml"/>
</map:when>
<map:when
test="{myxml:/config/project-root-ext/value}/{1}/profiles/copletinstancedata/portal-{2}-{3}.xml">
<map:redirect-to
uri="cocoon://project/{1}/profiles/copletinstancedata/portal-{2}-{3}.xml"/>
</map:when>
<map:otherwise>
<map:redirect-to
uri="cocoon:/convert2portal-cocoon-copletinstancedata-base_{2}-{3}?dir=copletinstancedata"/>
</map:otherwise>
</map:select>
</map:match>
A quoi sert les lignes suivantes :
<map:when
test="{myxml:/config/project-root/value}/{1}/profiles/copletinstancedata/portal-{2}-{3}.xml">
<map:redirect-to
uri="cocoon://project/{1}/profiles/copletinstancedata/portal-{2}-{3}.xml"/>
</map:when>
<map:when
test="{myxml:/config/project-root-ext/value}/{1}/profiles/copletinstancedata/portal-{2}-{3}.xml">
<map:redirect-to
uri="cocoon://project/{1}/profiles/copletinstancedata/portal-{2}-{3}.xml"/>
</map:when>
sachant que les fichiers portal-*-*.xml n'existent pas ?
Benjamin.
_______________________________________________
User mailing list
User@...
http://mlm.triglyphe.com/mailman/listinfo/user