cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Sösemann <>
Subject <map:handle-errors> doesn't work
Date Sat, 04 Jan 2003 13:22:10 GMT

for error handling in my esql xsps I want to use <map:handle-errors> to show
a user-friendly error page. But the error messge generated
in the <error:message> tag in my xsp does not affect the <map:handle-errors>
in the sitemap.

This is what i have:
- end of sitemap with only one pipline
            <!-- Fehlerbehandlung -->
                <map:transform src="transform/style-errorpage.xsl"
                <map:serialize status-code="500"/>


- xsp snippet, that should generate error handling

       <!--  Bei Fehlern auf generische Errorpage weiterleiten -->
       <esql:no-results><xsp:logic>throw new


What I would expect is the error message handled to the style-errorpage.xsl.
But the resulting page only consist of:

What have I done wrong?


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message