cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos Snellings <Jos.Snelli...@pandora.be>
Subject sitemap
Date Thu, 20 Jan 2011 13:06:53 GMT
Hello,

Cocoon 3:
Is there an expression for the servername in the sitemap?
I am looking for:

<map:handle-errors>
<map:select value="{jexl:cocoon.exception.class.name}">
<map:when contains="NoMatchingPipelineException">
<map:generate src="error-handling/404.xml" />
<map:serialize type="xhtml" status-code="404" />
</map:when>
<map:when ends-with="AnonymousAccessException">
<servlet:redirect-to 
uri="https://{server}/myapplication/secure/loginpage" />
</map:when>

Thanks!
Jos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message