AW: Initialize Session Context Info

2005-10-18 Thread Merico Raffaele
Hi Geert > How do you create your sessions? Action? Flowscript? The does it. > I used flowscript to create sessions and it is very easy to add some > initialization code to it as well.. OK, but does this mean that every request is going through your flowscript? Thx ... Raffaele > > Cheers

AW: Best Practice - XML RPC results into the DB

2005-10-18 Thread Messing, Elad
Thanks Bertrand ! Do you think going through beans -> hibernate -> DB is better than just building SQL's from the XML ? Maybe Hibernate is an Overkill here ? Does cocoon has some means to easily build SQL from XML source? Maybe the SQLTransformer ? I am not sure.. Thanks

Re: Another completed Cocoon Project

2005-10-18 Thread Jorg Heymans
Gerry Kaplan wrote: > For those who may be interested in seeing another up-and-running > Cocoon-based site, I have recently deployed a medical reporting application > called "ImpairMaster" which can be seen at http://www.impairmaster.com. > Please log an entry in bugzilla following instructions

Re: More than one lifecycle interface

2005-10-18 Thread Ralph Goers
Sylvain Wallez wrote: Ralph Goers wrote: No, but it makes sense since they each have characterstics that are incompatible with each other. SingleThreaded implies that the class is a singleton and is not thread safe and should essentially be executed in a serial fashion (a huge bottleneck).

Re: AW: Best Practice - XML RPC results into the DB

2005-10-18 Thread Bertrand Delacretaz
Le 18 oct. 05, à 09:30, Messing, Elad a écrit : ... Do you think going through beans -> hibernate -> DB is better than just building SQL's from the XML ? Maybe Hibernate is an Overkill here ?... It might be, if you're only inserting new data into an existing database, with few validation con

Re: AW: sendmailtransformer email:body - newlines

2005-10-18 Thread Peter Sparkes
Thanks for the help. However I was unable to use xslt within the CDATA section. I therefore did not use a CDATA section, but escaped all "<" in the HTML with "<" and embedded normal xslt within the HTML, ie without escaping the xslt's "<". This worked OK Peter Mark Lundquist wrote: On Oct

Re: CForms: restoring multivaluefield widgets

2005-10-18 Thread Stefan Warringa
On Fri, 14 Oct 2005 13:52:07 +0200, "Jean-Baptiste Quenot" <[EMAIL PROTECTED]> said: > * Stefan Warringa: > > > How do I restore a multivaluefield widget? > > With row-path="elementName"/> > -- > Jean-Baptiste Quenot > Systèmes d'Information > ANYWARE TECHNOLOGIES > Tel : +33 (0)5 61 00 52 90

Re: Writing my own generator.

2005-10-18 Thread Aurélien DEHAY
Hello. Ralph Goers a écrit : The easiest answer is to tell you to look at the FileGenerator. It is cacheable and poolable. My generator have the same skeleton, i've just copied the file ;) When components (such as generators) are pooled they are first initialized by calling the lifecycle

Re: Writing my own generator.

2005-10-18 Thread Aurélien DEHAY
Aurélien DEHAY a écrit : ok, the dispose() comes from interface Disposable() from avalon framework then? I think I'd rather ask the differences between dispose() and recycle() method... Rgds. -- Aurélien - To unsubscribe,

Re: Writing my own generator.

2005-10-18 Thread Reinhard Poetz
Aurélien DEHAY wrote: Aurélien DEHAY a écrit : ok, the dispose() comes from interface Disposable() from avalon framework then? I think I'd rather ask the differences between dispose() and recycle() method... Rgds. see http://excalibur.apache.org/framework/lifecycle.html -- Reinhard P

Re: More than one lifecycle interface

2005-10-18 Thread Lachlan Paterson
I should have been more clear. I know what the terms SingleThreaded, ThreadSafe, and Poolable mean. I was wondering more about the error itself. It is coming from: org.apache.avalon.excalibur.component.ComponentHandler.getComponentHandler(ComponentHandler.java:278) I was able to track down the so

Re: Writing my own generator.

2005-10-18 Thread Berin Loritsch
Aurélien DEHAY wrote: Hello. I've just discovered http://cocoon.zones.apache.org/daisy/documentation/g2/610.html Did you discover this: http://cocoon.zones.apache.org/daisy/documentation/g2/688.html ? - To unsubscribe, e

Re: Writing my own generator.

2005-10-18 Thread Aurélien DEHAY
Reinhard Poetz a écrit : Aurélien DEHAY wrote: Aurélien DEHAY a écrit : ok, the dispose() comes from interface Disposable() from avalon framework then? I think I'd rather ask the differences between dispose() and recycle() method... Rgds. see http://excalibur.apache.org/framework/

Public API for keeping a continuation alive?

2005-10-18 Thread Kris Schneider
Here's the usage scenario: We want a client-side timer to display a warning when a user's session is about to expire. This is especially important for forms that have unsaved data. Obviously, it's easy enough to send an arbitrary request to the app to keep the HTTP session alive, but how can the sa

Re: More than one lifecycle interface

2005-10-18 Thread Lachlan Paterson
Ok, I got it: My class is a generator so it was inheriting from AbstractGenerator which inherits from AbstractXMLProducer which  implements Recyclable, but I also was implementing CacheableProcessingComponent on my own. I removed the CacheableProcessingComponent stub code and then it was fine. I

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Reinhard Poetz
Kris Schneider wrote: Here's the usage scenario: We want a client-side timer to display a warning when a user's session is about to expire. This is especially important for forms that have unsaved data. Obviously, it's easy enough to send an arbitrary request to the app to keep the HTTP session a

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Sylvain Wallez
Reinhard Poetz wrote: Kris Schneider wrote: Here's the usage scenario: We want a client-side timer to display a warning when a user's session is about to expire. This is especially important for forms that have unsaved data. Obviously, it's easy enough to send an arbitrary request to the app to

Public sitemap 1.0 schema

2005-10-18 Thread Heydenreich, Hendrike
Hello, does anybody know, if there is a pulic schema definition of the sitemap.xmap version 1.0? The cocoon version we use (cocoon 2.1m2) bases on the schema xmlns:map="http://apache.org/cocoon/sitemap/1.0";, but this doesn't seem to be a real url. Our client makes demand on a 'map:schemaLocation

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Kris Schneider
Reinhard, Thanks for the feedback, see inline. On 10/18/05, Reinhard Poetz <[EMAIL PROTECTED]> wrote: > Kris Schneider wrote: > > Here's the usage scenario: We want a client-side timer to display a > > warning when a user's session is about to expire. This is especially > > important for forms th

Database CRUD with flowscript

2005-10-18 Thread Derek Hohls
I am looking for help getting a simple DB app up-and-running using flowscript. I have based my approach on the PetStore example, but there is a *lot* of complexity in there I am trying to avoid. I have created two "stripped down" flowscript files, along with the required forms. The sitemap

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Kris Schneider
On 10/18/05, Sylvain Wallez <[EMAIL PROTECTED]> wrote: > Reinhard Poetz wrote: > > Kris Schneider wrote: > >> Here's the usage scenario: We want a client-side timer to display a > >> warning when a user's session is about to expire. This is especially > >> important for forms that have unsaved data

Re: XSP's Manual

2005-10-18 Thread EVA
Antonio, you are a SUN!... Cool! ;P You say that XSP isn't the better... then? What must i use? Kisses from Seville (Spain) 2005/10/15, Antonio Gallardo <[EMAIL PROTECTED]>: > Hi Eva, > > First, I need to advise that XSP is no longer the best way to use > cocoon. There is a lot more interesting

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Reinhard Poetz
Kris Schneider wrote: Reinhard, Several weeks ago I refactored the ContinuationsManagerImpl so that it is easily extensible and you can use your own expiration strategies by simply overriding the "expireContinuations" method. Over the next weeks I will work on them - maybe this is helpful for

esql:get-string dynamic column name

2005-10-18 Thread Anna Bikkina
Hi, I am trying to get data from the database. My sqlstatement and the order of columns are dynamically built so when I am getting esql:get-string column="XXX" I want to make dynamic like columnname/> Is there a way we can do it? Thanks in advance Anna.

Re: Public sitemap 1.0 schema

2005-10-18 Thread Jean-Baptiste Quenot
* Heydenreich, Hendrike: > does anybody know, if there is a pulic schema definition of the > sitemap.xmap version 1.0? Have you seen src/webapp/WEB-INF/entities/sitemap-v06.rng? -- Jean-Baptiste Quenot Systèmes d'Information ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 52 90 Fax : +33 (0)5 61 00 5

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Kris Schneider
On 10/18/05, Reinhard Poetz <[EMAIL PROTECTED]> wrote: > Kris Schneider wrote: > > Reinhard, > > >>Several weeks ago I refactored the ContinuationsManagerImpl so that it is > >>easily > >>extensible and you can use your own expiration strategies by simply > >>overriding > >>the "expireContinuatio

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Kris Schneider
On 10/18/05, Kris Schneider <[EMAIL PROTECTED]> wrote: > On 10/18/05, Reinhard Poetz <[EMAIL PROTECTED]> wrote: > > Kris Schneider wrote: > > > Reinhard, > > > > >>Several weeks ago I refactored the ContinuationsManagerImpl so that it is > > >>easily > > >>extensible and you can use your own expir

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Reinhard Poetz
Kris Schneider wrote: On 10/18/05, Reinhard Poetz <[EMAIL PROTECTED]> wrote: Kris Schneider wrote: Reinhard, Several weeks ago I refactored the ContinuationsManagerImpl so that it is easily extensible and you can use your own expiration strategies by simply overriding the "expireContinuati

Generating log entries

2005-10-18 Thread Gerry Kaplan
Is there a built-in mechanism for writing entries to a log file from within a pipeline? I'd like to be able to write a log entry whenever someone is authenticated into the system, as well as when they request certain pipelines. I thought there might be a "logaction" but I don't see anything. Can an

Re: Generating log entries

2005-10-18 Thread Tony Collen
Gerry, There's a LogTransformer, but it logs SAX events, not general things. It should be pretty easy to adopt it into a LogAction that will allow you to log anything you want though. HTH, Tony Gerry Kaplan wrote: Is there a built-in mechanism for writing entries to a log file from within a

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Sylvain Wallez
Kris Schneider wrote: On 10/18/05, Sylvain Wallez <[EMAIL PROTECTED]> wrote: I would be interesting IMO to have a "PingContinuationAction" that can be called using an Ajax request for long-running forms. I'll add this to the Ajax block. +1. But there's going to need to be some additona

JavaFlow and CForms - objects disappearing

2005-10-18 Thread footh
I have a main javaflow that calls another "form javaflow" when it detects a form has been requested. This form javaflow simply instantiates a form instance, sets the binding, and, based on the form url source performs certain steps by form. Now, I came up with a form configuration xml file to hol

Flowscript run-time error- passing parameters from script to Java

2005-10-18 Thread David Legg
I'm trying to do something in flowscript that must be pretty common. I simply want to pass a HashMap of arguments from JavaScript to a Java method which will then process the Map to perform some useful business function. Can anyone spot what I'm doing wrong? I get a Javascript exception (liste

Re: XSP's Manual

2005-10-18 Thread Antonio Gallardo
EVA wrote: You say that XSP isn't the better... then? What must i use? Actually we use basically, cforms, jxtemplate, OJB, JSFlow for DB development. Best Regards, Antonio Gallardo. 2005/10/15, Antonio Gallardo <[EMAIL PROTECTED]>: Hi Eva, First, I need to advise that XSP is no lon

Re: Flowscript run-time error- passing parameters from script to Java

2005-10-18 Thread Jason Johnston
David Legg wrote: I'm trying to do something in flowscript that must be pretty common. I simply want to pass a HashMap of arguments from JavaScript to a Java method which will then process the Map to perform some useful business function. Can anyone spot what I'm doing wrong? I get a Javascri

Re: XSP's Manual

2005-10-18 Thread Bertrand Delacretaz
Le 18 oct. 05, à 16:54, EVA a écrit : ...You say that XSP isn't the better... then? What must i use?.. The bricks-cms example application is a "modern" example of a typical Cocoon application, see wiki.apache.org/cocoon/BricksCms -Bertrand -