You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Philippe Lavoie <ph...@cactus.ca> on 2000/12/22 20:27:10 UTC

Code to have a personalized Frontend

Hi fellow Cocoon worshipers

We modified a bit the Frontend class to be able to have our own version of
it. You add a line inside your cocoon.properties that looks like the
following

frontend.class=ca.cactus.logging.CocoonFrontend

In our case this allows us to extend Frontend to send the error messages to
their proper places and then display the error message with the same look
and feel as the rest of our application. Since the error messages can depend
on where the user is, we need to have the HTTP request parameter.

The diffs are following, please let me know if there is a problem putting
this inside the normal dev tree.

 <<Cocoon.diff>>  <<Engine.diff>>  <<Frontend.diff>> 

Philippe Lavoie
Software Engineer                      tel: 819.778.0345 mobile:
819.664.9881 
Cactus Communications Internet	   email: philippe.lavoie@cactus.ca