Re: Handling SQL Transformer exceptions

2006-03-31 Thread Warrell . Harries
| Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] Oleg Konovalov [EMAIL PROTECTED] 31/03/2006 05:51 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject Re: Handling SQL Transformer exceptions A little correction

Re: Handling SQL Transformer exceptions

2006-03-31 Thread Oleg Konovalov
p:serialize type="xml"/Could you please answer my question regarding Template name from my last e-mail.Thank you in advance,Oleg.- Original Message From: [EMAIL PROTECTED]To: users@cocoon.apache.orgSent: Friday, March 31, 2006 3:52:14 AMSubject: Re: Handling SQL Transformer

Re: Handling SQL Transformer exceptions

2006-03-31 Thread Warrell . Harries
cil | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] Oleg Konovalov [EMAIL PROTECTED] 31/03/2006 15:38 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject Re: Handling SQL Transformer exceptions Warrel

Re: Handling SQL Transformer exceptions

2006-03-30 Thread Oleg Konovalov
ent: Tuesday, March 28, 2006 3:59:48 AMSubject: Re: Handling SQL Transformer exceptions As Askild points out you are triggering on an XML element called mainTemplate. If you have not output this from your XSL setup stage prior to the SQLTransform stage you cannot trigger on it. It might be worth

Re: Handling SQL Transformer exceptions

2006-03-30 Thread Oleg Konovalov
.- Original Message From: [EMAIL PROTECTED]To: users@cocoon.apache.orgSent: Tuesday, March 28, 2006 3:59:48 AMSubject: Re: Handling SQL Transformer exceptions As Askild points out you are triggering on an XML element called mainTemplate. If you have not output this from your XSL setup stage prior to the SQ

Re: Handling SQL Transformer exceptions

2006-03-28 Thread Warrell . Harries
| Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] Askild Aaberg Olsen [EMAIL PROTECTED] 28/03/2006 07:36 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject Re: Handling SQL Transformer exceptions Oleg Konovalov wrote

Handling SQL Transformer exceptions

2006-03-27 Thread Oleg Konovalov
Hi, I am trying to fix the bug in the Cocoon 2.0 application: - it is not handling exceptions from SQLTransformer in the GUI, need to show user an error that Insert failed. Here is an exception we often get: ERROR (2006-03-24) 15:29.31:855 [sitemap.transformer.sql] (/myapp)

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Warrell . Harries
Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] Oleg Konovalov [EMAIL PROTECTED] 27/03/2006 14:26 Please respond to users@cocoon.apache.org To cocoon list users@cocoon.apache.org cc Subject Handling SQL Transformer exceptions Hi, I am trying to fix the bug

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Oleg Konovalov
?Thank you,Oleg.- Original Message From: [EMAIL PROTECTED]To: users@cocoon.apache.orgSent: Monday, March 27, 2006 8:54:35 AMSubject: Re: Handling SQL Transformer exceptions Hi Oleg, I don't think that you can call this a 'bug in Cocoon'! Do you really mean a Cocoon 2.0 version or just

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Warrell . Harries
OTECTED] 27/03/2006 15:59 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject Re: Handling SQL Transformer exceptions Warrell, I don't think that you can call this a 'bug in Cocoon'! I meant, a bug in my app (DB problem is not shown to the user and not han

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Oleg Konovalov
om: [EMAIL PROTECTED]To: users@cocoon.apache.orgSent: Monday, March 27, 2006 10:19:10 AMSubject: Re: Handling SQL Transformer exceptions Hi Oleg, Thanks for clearing that up. Have you put that error-handling code in the stage of the pipeline that follows the SQL transform? The XML document after your SQLTrnsform

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Askild Aaberg Olsen
Oleg Konovalov wrote: Warrell, So what you are saying is that I can not do SQL exception (or error) handling inside that SQL transformer and have to do it from outside (and after the transformer itself). Yes, that's what he says. The stylesheet preparing the SQL have no knowledge of the