Re: Return Error Code Based on Pipeline Content

2006-04-10 Thread Bertrand Delacretaz
Le 10 avr. 06 à 04:51, Daniel Curran a écrit : ...What I would like to be able to do is examine the content of the sql transform and determine a success or failure of the operation. Based on this result I would like to be able to send an error. If the operation was completed successfully I

CForms Samples - saveDocument() function

2006-04-10 Thread Peter Sparkes
Hi, I am using both loadDocument(uri) and saveDocument(document, uri) functions from the CForm samples in webapp\samples\blocks\forms\flow. The loadDocument(uri) functions loads xml documents together with their document type declarations, however the saveDocument(document, uri) function

authentication block problem

2006-04-10 Thread Paula Estrella
Hi, I'm using (or trying to use) the authentication block included in cocoon and it works fine if there's only 1 user logged in, but when I try to log in twice with different user names (i.e. I want many users logged in at the same time) I get the error "org.apache.cocoon.ProcessingException:

Re: authentication block problem

2006-04-10 Thread Paula Estrella
I found another strange behaviour of the auth. framework: it seems that I can have several users logged in if I use Internet Explorer (v. 6.0.2) but with Mozilla firefox (v1.0.7) the behaviour is as explained below or get always logged in as the first user (using the action auth-loggedIn)

Re: authentication block problem

2006-04-10 Thread Jason Johnston
Is it the same instance of Firefox? If so then this is expected behavior; user sessions are typically tracked by a JSESSION-ID cookie, and Firefox uses the same cookies for each instance of the browser (each system user is allowed one instance at a time I believe). IE allows a single system user

Re: CFORMS: datatype - formatting (decimal)

2006-04-10 Thread Bruno Dumon
On Sat, 2006-04-08 at 10:02 +0100, Peter Sparkes wrote: HI, I am using CForms to amend xml documents. I have several field widgets with datatype 'integer'. The default formatting for integer is of the form '1,234,567,890'. I need to change the formatting to '1234567890'. In my binding

Help requierd on PCL serializer

2006-04-10 Thread sarvesh mulay
Hi All, Let me introduce myself first. Myself Sarvesh Mulay, working asa Software Engg in a MNC. We are using cocoon framework in our project and we require your help in this regard. Our requirement is that we are currently generating PDF reports (in a web based application) using cocoon, now

[CForms binding] access to model data from repeater row widget

2006-04-10 Thread Bruyn Bill
Taken from: http://www.planetcocoon.com/node/2423#comment Re: [CForms binding] access to model data from repeater row widg Sylvain Wallez - June 21, 2005 - 06:50 Mark Lundquist wrote: Hi, Here is a scenario that I keep finding myself dealing with... Some repeater is bound to a collection, and

Re: Return Error Code Based on Pipeline Content

2006-04-10 Thread Joerg Heinicke
On 10.04.2006 08:34, Bertrand Delacretaz wrote: I don't think there is a standard way of throwing Exceptions from XSLT code, but calling a small Java extension class from XSLT to throw the Exception should do the trick, if you need to do this from XSLT. I could not read from his message that