Re: Degradation reguliere de performances avec cocoon.getComponent()

2006-05-23 Thread gael
Bonjour, Je me souviens avoir parfois constate des comportements curieux avec un return dans un bloc finally. Est-ce que la construction suivante (équivalente) donne les memes resultats? Effectivement, cette construction ne change pas grand chose. Peut-etre qu'elle am�liore sensiblement

Re: Dégradation régulière de performances avec cocoon.getComponent()

2006-05-23 Thread gael
Salut, Quelques precisions sur la degradation des perfs de getComponet avec DOM : J'ai dit que l'instruction : cocoon.getComponent(Packages.org.apache.excalibur.xml.dom.DOMParser.ROLE); mettait de plus en plus de temps a s'executer a chaque appel, puis ensuite j'ai dit qu'en fait ce n'etait pas

Re: Dégradation régulière de performanc es avec cocoon.getComponent()

2006-05-23 Thread Philippe Gassmann
Bonjour, [EMAIL PROTECTED] wrote: A NOTER AUSSI QUE l'instruction : var is = new Packages.org.xml.sax.InputSource(input); se degrade elle aussi un peu plus a chaque appel et encore plus vite que getComponent. La seule explication : ta machine est entrain de swapper à mort (ou la mémoire

Re: Dégradation régulière de performa nces avec cocoon.getComponent()

2006-05-23 Thread Gaël PEGLIASCO
Philippe LAPLANCHE a écrit : Je suis pas expert mais j'étais juste entrain de relire la page d'aide sur cocoon.sendPage() et je vois que les gars ils appellent cocoon.releaseComponent(comp); dans le postPipeLine code (le code qui est exécuté après l'exécution de la requête) Peut-être que tu

Re: DÃ(c)gradation rÃ(c)gulière de performances avec cocoon.getComponent()

2006-05-23 Thread Bertrand Delacretaz
On 5/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ...Voici comment je calcule les degradations de perf... A mon avis la seule manière fiable de trouver la cause de ton problème est d'utiliser un profiler et/ou le debugger pour voir précisément ce qui se passe. Ma stratégie serait de

Re: emplacement du fichier log4j.xml

2006-05-23 Thread Myriam Delperier
| | Est-il possible de placer le fichier log4j.xml directement dans le | | répertoire WEB-INF (dans lequel j'ai mes autres fichiers de | | configuration : concoon.xconf, web.xml, logkit.xconf,...) plutôt | | que de l'isoler dans le répertoire WEB-INF/classes. on a réussi à régler ça en rajoutant

CFrom Web Service Binding

2006-05-23 Thread johnson
Hi! Is it possible to binding Web Service for Cform, I think it will convinent to develop closs web app. Best Regards johnson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Hi

2006-05-23 Thread chikatimarla nagaraju
Hi, This is nagaraju working S.S.E. in clinical software shall i know is cocoon will sut for my req. or not. My req. is i have to show my data base data in RTF in I.E. through xml. For this how cocoon is useful to me for this what I have to do. Could you please let me know the

delete cache after every change?

2006-05-23 Thread kathi . mailbox
Hi! I have a problem with the cocoon cache: Cocoon remembers everything, when I make a change in my code, there is often no reaction on it. Normally I have to stop the tomcat server and delete the work directory of cocoon and then cocoon recognizes the new lines. If I have a change in my

RE: Hi

2006-05-23 Thread Jasha Joachimsthal
-Original Message- From: chikatimarla nagaraju [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 mei 2006 8:29 To: users@cocoon.apache.org Subject: Hi Hi, This is nagaraju working S.S.E. in clinical software shall i know is cocoon will sut for my req. or not. My req. is i have to show

RE: delete cache after every change?

2006-05-23 Thread kathi . mailbox
-Ursprüngliche Nachricht- Von: users@cocoon.apache.org Gesendet: 23.05.06 09:18:45 An: users@cocoon.apache.org Betreff: RE: delete cache after every change? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 mei 2006 9:15 To:

Re: how to access a database RESTfully

2006-05-23 Thread thomas
Hi, the documentation of the Sesame HTTP communication interface [1] specifies methods to query and update the database server. E.g.: GET /sesame/repositories/myRep?query=select%20foo%3AbarqueryLn=serql HTTP/1.1 Host: localhost Accept: application/sparql-results+xml PUT

Dojo jar packaging ?

2006-05-23 Thread Laurent Perez
Hi I'm adding a few Dojo widgets within my current cocoon cforms webapp, and I noticed the dojo.js file is repackaged under o.a.c.dojo.resources as dojo-rsrc-20060310.jar within lib/optional (2_1_X). I would like to use newer dojo.js + src files (new widgets from 0.3.0 release), but I don't

Exception in ServerPagesGenerator.generate() during xinclude

2006-05-23 Thread kathi . mailbox
Hi, I have a problem with the xinclude transformer. After calling it, I get the following error message: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXException: Exception occured

Re: fd:java /

2006-05-23 Thread Simone Gianni
Hi Mike, unfortunately binding is performed before (load) and after (save) form execution, and no relationship between the backend binded bean (or XML) is kept during form execution. You can use a couple of techniques, none of them is tidy but they work : - Add a field to the form, with datatype

RE: Restricting Logging

2006-05-23 Thread Andrew Stevens
From: Victoria Vitaver [EMAIL PROTECTED] Date: Tue, 23 May 2006 12:39:33 +1000 Hi, I am having trouble changing the logkit.xconf to restrict logging of cocoon messages. I have tried to look for 'howtos' but since logkit was a part of the now 'closed' avalon project I really cant dig up

Cforms dates and data destinations

2006-05-23 Thread peter
I've been experimenting with Cforms and I think I have the hang of it now. a) I didn't realise that datatype base=date would pop up a calendar applet beside the field -- an excellent idea. But the img src that it references doesn't appear to get installed (no problem, I found it and

Re: Exception in ServerPagesGenerator.generate() during xinclude

2006-05-23 Thread Jason Johnston
[EMAIL PROTECTED] wrote: Hi, I have a problem with the xinclude transformer. After calling it, I get the following error message: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: java.lang.RuntimeException:

Re: AW: CFrom Web Service Binding

2006-05-23 Thread johnson
Hi Chris I've used this method before, But the code is different from the binding method, So If you have two data source, one is database, the other is web service, you must change your code. If use binding, you just need to change the binding, don't need any other code. Best Regards

AW: Cforms dates and data destinations

2006-05-23 Thread Christofer Dutz
Hi Peter a: The samples-styling xslt looks for a head-tag to insert the javascript. When starting to use CForms I missed that at first. Either change the xslt or add a dummy head element somewhere. You can move the stuff in another transformation ;) b: As far as I understood everything you can

AW: AW: CFrom Web Service Binding

2006-05-23 Thread Christofer Dutz
Hi Johnson, Don't quite understand what code you are exactly refering to. Immagine these pipelines: map:match pattern=read-pipeline map:generate type=some-cool-webservice/ map:transform src=ws-to-internal.xsl/ map:serialize type=xml/ /map:match map:match

javaflow verses javascript flow

2006-05-23 Thread Andrew Madu
Hi, can anyone tell me what the benefits of using java over _javascript_ as the main MVC engine would be? regards Andrew

Re: delete cache after every change?

2006-05-23 Thread Matthias Baumann
[EMAIL PROTECTED] wrote: Hi! I have a problem with the cocoon cache: Cocoon remembers everything, when I make a change in my code, there is often no reaction on it. Normally I have to stop the tomcat server and delete the work directory of cocoon and then cocoon recognizes the new lines. If

inserting result of one pipeline into another

2006-05-23 Thread Brian Hawkins
I have one pipeline that generates a page that has a div tag in it. I would like to pass this pipeline a parameter that will be the name of another pipeline that it can run, get the result, and then place the results into that div tag. How does one do this? Thanks Brian begin:vcard fn:Brian

Re: AW: Cforms dates and data destinations

2006-05-23 Thread Peter Flynn
Christofer Dutz wrote: a: The samples-styling xslt looks for a head-tag to insert the javascript. When starting to use CForms I missed that at first. Either change the xslt or add a dummy head element somewhere. You can move the stuff in another transformation ;) Changing the XSLT is easy, but

Re: inserting result of one pipeline into another

2006-05-23 Thread Andre Juffer
Brian Hawkins wrote: I have one pipeline that generates a page that has a div tag in it. I would like to pass this pipeline a parameter that will be the name of another pipeline that it can run, get the result, and then place the results into that div tag. How does one do this? How about

RE: Authentication-fw: two quick questions

2006-05-23 Thread Andrew Stevens
From: footh [EMAIL PROTECTED] Date: Tue, 23 May 2006 10:22:59 -0700 (PDT) I've newly implemented cocoon's auth-fw and have a couple of questions. Unfortunately, I've not used the auth framework much, so I can't help with the first one. The second question has to do with roles. I have a

Re: Dojo jar packaging ?

2006-05-23 Thread Antonio Gallardo
hi Laurent, See: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=114776815621844w=2 Best Regards, Antonio Gallardo. Laurent Perez escribió: Hi I'm adding a few Dojo widgets within my current cocoon cforms webapp, and I noticed the dojo.js file is repackaged under o.a.c.dojo.resources as

Re: Hi

2006-05-23 Thread Antonio Gallardo
Or in the online demo is located here: http://cocoon.zones.apache.org/demos/21branch/samples/blocks/jfor/welcome Best Regards, Antonio Gallardo. Jasha Joachimsthal escribió: -Original Message- From: chikatimarla nagaraju [mailto:[EMAIL PROTECTED] Sent: dinsdag 23 mei 2006 8:29 To:

Re: inserting result of one pipeline into another

2006-05-23 Thread bhawna asnani
A possible solution could be using XSPUtil if you are working with XSP's xsp:logic String xml = null; pipeline = new StringBuffer( cocoon://pipeline ); try { System.err.println( trying to gen this: + pipeline.toString() ); xml =