Helo all,
it seems to me, that cocoon documentation at
http://wiki.apache.org/cocoon/ resp.
http://wiki.apache.org/cocoon/ErrorHandling
is a bit outdated - and does not match behaviour of current
versions in all cases.
In addition, the pages there ar marked as "Immutable" and
do not allow to register (as precondition to editing) a new
user.
Because the email of a committer on that pages came back to
me, I'm trying to post my correction to this list now
- hoping, someone can change the wiki page named above.
Email to nver...@be-value.nl (returned):
========================================
Helo Mr. Verwer,
thanks for your documentation provided by
http://wiki.apache.org/cocoon/ErrorHandling
But with current versions of Cocoon the solution given
there does not work any more... I got a message, saying
I HAVE TO use a generator.
And really, looking a while around the web, the following
addition to your solution *does* work fine:
...
<map:generator pool-max="64" name="notifier"
src="org.apache.cocoon.sitemap.NotifyingGenerator" />
...
<map:handle-errors>
...
<map:generate type="notifier" />
<!-- Now the following line works without error: -->
<map:transform src="stylesheets/system/error2html.xsl"/>
...
Please, could you update the cocoon documentation page
given above? - I can NOT do that, because the page is
marked as "Immutable" / I do not have neccessary permissions.
Thanks in advance!
Christian Schmidt-Gütter
--
ESEMOS - Wir liefern Ergebnisse
Christian Schmidt-Gütter
-Software Developer-
ESEMOS GmbH
Leipziger Str. 14
D-04442 Zwenkau
Zentrale: +49 34203 43300
Mobil +49 163 2336646
E-Mail c.schmidt-guet...@esemos.de
www.esemos.de
Handelsregister: Amtsgericht Leipzig HRB 24025,
Sitz der Gesellschaft: Zwenkau
Steuernummer: 235/108/04503
USt.-ID: DE 259460837
Geschäftsführer: Ulrike Hübner, Peter Rieger, Dirk Scholz, Dr. Lutz
Tischendorf
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und löschen Sie diese Mail. Das unerlaubte Kopieren sowie die
unbefugte Weitergabe dieser Mail und der darin enthaltenen Informationen
ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this email in
error) please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.