cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willie Wheeler" <wwhee...@andrew.cmu.edu>
Subject RE: Pulling the HTML out of CocoonServlet
Date Sat, 24 Jun 2000 01:32:56 GMT
Hi Giacomo,

	Can you explain the idea of contexts here in more detail?  Are the contexts
just the different targets to which the XML could be transformed?  (I am not
familiar with SOAP, sorry.)  What would the API for the abstract
context-neutral class look like?  If I understand you correctly,
CocoonServlet would delegate to an ErrorReporter, which contains the
hardcoded HTML (or whatever other formats we output to).  Is it important
for end users to be able to modify/customize the error messages that Cocoon
displays?  If so it might be better to use a server page and XSLT, as
opposed to a Java class.
	Let me know what you think.  And if you already have some concrete plans on
how to proceed, tell me what they are so I can get started!  :-)

	Willie




-----Original Message-----
From: giacomo@xml.apache.org [mailto:giacomo@xml.apache.org]On Behalf Of
Giacomo Pati
Sent: Friday, June 23, 2000 5:24 PM
To: cocoon-dev@xml.apache.org
Subject: Re: Pulling the HTML out of CocoonServlet


Willie Wheeler wrote:
>
> Hi all,
>
>         Also, I'd like to tackle the todo that says to pull the HTML out
> of CocoonServlet, if somebody isn't already working on it.  I'm thinking
> that it would be good to forward to a dynamically generated error page.
> Is this what people have in mind?

Thank's for your offer to help.

I had the vision of something like an abstract, context neutral class
that handles the error cases. Implementing concrete classes base upon it
for the different contexts (mail, soap, html, ...) Cocoon might be
working in. Maybe pluggable ErrorReporters?

Giacomo

--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch


Mime
View raw message