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: Authentication via sitemap

2006-03-27 Thread peter
On Sun, 26 Mar 2006 17:15:48 -0700 (MST), Jason Johnston wrote [me] but it doesn't say where in the sitemap.xmap you put this, and I can't see anywhere obvious that it should go. It's described in the previous page of the auth framework documentation:

Re: Knowledge of sitemap from input module

2006-03-27 Thread peter
On Sun, 26 Mar 2006 20:40:26 -0500, Tim Williams wrote How might I figure out what the calling sitemap is for a given input module request? In other words if I have: lm:my.resource, how could I figure out that that this request happens to be coming from some- mounted-sitemap.xmap? We

Re: Knowledge of sitemap from input module

2006-03-27 Thread Tim Williams
On 3/27/06, peter [EMAIL PROTECTED] wrote: On Sun, 26 Mar 2006 20:40:26 -0500, Tim Williams wrote How might I figure out what the calling sitemap is for a given input module request? In other words if I have: lm:my.resource, how could I figure out that that this request happens to be

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Warrell . Harries
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 generally version 2 of Cocoon? It seems you are building a generic DB query tool so I suppose the following is not appropriate but I would argue that this is not the desired way to

Real Pipeline Redirect

2006-03-27 Thread Nils Kaiser
Hello, in our newest project I wanted to try to implement a real pipeline redirect, i.e. restarting the pipeline with other parameters. I need to trigger this based on the pipeline content, thats why I need to do the processing in a transformer. I wanted to get rid of the former solution I

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Oleg Konovalov
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 handled, just fails to insert and let user guess what happened). I use Cocoon 2.0.4, not 2.1. Would it mean any difference for handling SQLTransformer exceptions

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Warrell . Harries
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 SQLTrnsformer stage will consist of Error elements so you will have to provide templates for them if you want to handle them. That

Handling errors in sitemap.

2006-03-27 Thread arnab . jena
Hi all, I am trying to handle errors in sitemap. I want that the error should not be shown in a separate error page instead it should be in the center part and the header footer left and right navigation links should be there.I am putting the map:handle-errors section at the end of the pipeline

HTML DTD resolution (was [forms libraries] connection timeout??)

2006-03-27 Thread Bruyn Bill
So... is there a reason this shouldn't be included with the default catalog? -Original Message- From: Bruyn Bill Sent: Tuesday, March 21, 2006 3:29 PM To: 'users@cocoon.apache.org' Subject: RE: [forms libraries] connection timeout?? Finally had a chance to revisit this. Looks

how to save results to disk?

2006-03-27 Thread Paula Estrella
Hi, I'm developing a small application with cocoon 2.1.8 under windows and I'd like to know if it's possible to store (server side) a dinamically generated xml document, i.e. I genrate a document result.xml with some input from users and I want to perform some action to store this document in

Re: how to save results to disk?

2006-03-27 Thread Brian Maddy
Check out the xml binding example. There's a saveDocument(document, uri) function in the flowscript. See the file cocoon-2.1.8\build\webapp\samples\blocks\forms\flow\binding_example.js Perhaps that will contain something to help you. See ya, Brian Paula Estrella wrote: Hi, I'm

Re: how to save results to disk?

2006-03-27 Thread Antonio Gallardo
Hi Paula, I am glad to see cocoon is getting hot in LA. ;-) Some links: http://wiki.apache.org/cocoon/WebDAVCMS Older way: http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html Best Regards, Antonio Gallardo. Paula Estrella escribió: Hi, I'm developing a small application

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Oleg Konovalov
Warrell,So what you are saying is that I can not do SQL exception (or error) handling inside that SQL transformerand have to do it from outside (and after the transformer itself).That is a pity, because in the same sql transformer file I have lots of column validationswhich call it to show user

Cocoon website look in IE

2006-03-27 Thread Derek Hohls
Some of the pages on the cocoon.apache.org website do not appear to display properly in IE (ver 6). See: http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html for example (and others at that level). There is an extra blue bar on the left that blocks display of some text (same

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

Re: Handling errors in sitemap.

2006-03-27 Thread Andrew Timberlake
[EMAIL PROTECTED] wrote: Hi all, I am trying to handle errors in sitemap. I want that the error should not be shown in a separate error page instead it should be in the center part and the header footer left and right navigation links should be there.I am putting the map:handle-errors