Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 79502 invoked from network); 17 Jul 2006 08:44:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jul 2006 08:44:15 -0000 Received: (qmail 80610 invoked by uid 500); 17 Jul 2006 08:44:10 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 80551 invoked by uid 500); 17 Jul 2006 08:44:10 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 80537 invoked by uid 99); 17 Jul 2006 08:44:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 01:44:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [213.133.33.30] (HELO mailrelay.is.nl) (213.133.33.30) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 01:43:59 -0700 Received: from [213.133.51.241] (HELO hai01.hippo.local) by mailrelay.is.nl (CommuniGate Pro SMTP 4.3.5) with ESMTP id 20148026 for users@cocoon.apache.org; Mon, 17 Jul 2006 10:43:32 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Handling sendmail transformer errors/exception Date: Mon, 17 Jul 2006 10:43:31 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Handling sendmail transformer errors/exception Thread-Index: Acapb92i7WsXpOPqRMq/PxCYmCCPJQADIO4A From: "Ard Schrijvers" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >=20 >=20 > Hi , >=20 > We are using sendmail transformer for email generation. This is > working fine, but we want to handle the exceptions that are generated > by sendmail transformer. >=20 > As I understand sendmail transformer results in an xml file which > describes that status of the email generation. >=20 > What I want to do is call a success-result pipeline in case of success > and call error-result pipleine in case of error. >=20 > Basically I want to redirect to differnt pipelines after sendmail > transformers output. Any ideas how this ccan be achieved Can be done in multiple ways (though of course the nicest ways is "not = yet I hope" available in cocoon, namely "content aware pipelines") But, you could: 1) call javascript, reading the sendmail output into a dom, and = depending on some value of some element call a sendPage or cocoon = redirect. 2) Do an xsl transformation on your sendmail output, and create an = include (cinclude/include/xinclude...what do we have more?) depending on = the value of some element. just include different pipelines depending on = the result 3) Perhaps not the most basic one, you could extend/implement the = sendmail transformer yourself and include the "result specific" stuff in = there Regards Ard >=20 > Thanks in advance >=20 > Sanket >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org