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)
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
17 matches
Mail list logo