RE: xml in string in jxtemplate

2008-07-18 Thread Philippe LAPLANCHE
true ;-) -Ursprüngliche Nachricht- Von: Philippe LAPLANCHE [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 17. Juli 2008 08:55 An: users@cocoon.apache.org Betreff: RE: xml in string in jxtemplate I just found this and from what I understand it will fix my problem On this page :

RE: xml in string in jxtemplate

2008-07-16 Thread Philippe LAPLANCHE
I just found this and from what I understand it will fix my problem On this page : http://wiki.apache.org/cocoon/JXTemplateGenerator But it says it will only work with cocoon 2.2 My only solution is to install cocoon 2.2 ? Philippe -Message d'origine- De : Philippe LAPL

xml in string in jxtemplate

2008-07-16 Thread Philippe LAPLANCHE
Hello everyone, I have xml fragments of data in a column of a table in a database and I want to format the data and put it on a web page. I can't make it work. The current approach I use is maybe not the right one. Can you advise please ? Here's how I try to do it and why I'm failing : I'm usi

form captcha validation : remove continuation

2006-09-21 Thread Philippe LAPLANCHE
hus clean residual captcha parameter in the continuation. Am I in the right direction? How do I do that ? Thanks Philippe Laplanche - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: cocoon not responding

2006-09-18 Thread Philippe LAPLANCHE
bernate to see what happens! -Original Message- From: "Bertrand Delacretaz" <[EMAIL PROTECTED]> To: users@cocoon.apache.org Date: Fri, 15 Sep 2006 13:13:31 +0200 Subject: Re: cocoon not responding > On 9/15/06, Philippe LAPLANCHE <[EMAIL PROTECTED]> wrote: &

RE: cocoon not responding

2006-09-18 Thread Philippe LAPLANCHE
15/06, Philippe LAPLANCHE <[EMAIL PROTECTED]> wrote: > ...There's a problem with the database connection since requests that do not > need the database still get answered and all requests that require the > database don't work. .. Malfunctioning connection pool maybe?

RE: cocoon not responding

2006-09-15 Thread Philippe LAPLANCHE
ssage d'origine- De : Philippe LAPLANCHE Envoyé : vendredi 15 septembre 2006 10:37 À : 'users@cocoon.apache.org' Objet : RE: cocoon not responding I forgot to mention that I'm using oracle oci driver, not net client since the database is on the same hos

RE: cocoon not responding

2006-09-15 Thread Philippe LAPLANCHE
I forgot to mention that I'm using oracle oci driver, not net client since the database is on the same host. Maybe that's the thing ... De : Philippe LAPLANCHE Envoyé : vendredi 15 septembre 2006 10:12 À : 'users@cocoon.apache.org'

cocoon not responding

2006-09-15 Thread Philippe LAPLANCHE
cocoon.xconf.   If anyone has any clue on how to debug this, he will be more than welcome.   Thank you   Philippe Laplanche

dispose temporary file after request execution

2006-05-22 Thread Philippe LAPLANCHE
Hello >From a flowscript I call a java method that has to generate a temporary xml file. After that I call cocoon.sendPage() and the invoked generator uses the temporary xml file. I'm afraid that I will get a lot of temporary files if I don't automatically delete them in some way. Is there a sp

jx template and number format

2006-04-06 Thread Philippe LAPLANCHE
I'm so tired of all the problems I have with jx templates ... Am I the only one to use them or what ? I'm beginning to regret that I left xsp for jx:templates This time, I guess I have a number format problem. My forEach loop doesn't work fine. The end attribute is not properly taken into account

RE: Initialization problem in cocoon when trying to view page in html/pdf

2006-04-06 Thread Philippe LAPLANCHE
I have the same problem. It seems that when tomcat is not shutdown properly, then the file C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\cocoon\samples\blocks\jcr\repotest\.lock is not deleted When cocoon restarts it finds that file and that prevents cocoon from initializing pr

RE: ${cocoon.continuation.id} gives bad continuation id

2006-04-06 Thread Philippe LAPLANCHE
origine- De : Philippe LAPLANCHE Envoyé : jeudi 6 avril 2006 16:16 À : dev@cocoon.apache.org Objet : RE: ${cocoon.continuation.id} gives bad continuation id I found the existence of the method getChildren() in the continuation object. For a moment I thought I had found my answer... But I can't

${cocoon.continuation.id} gives bad continuation id

2006-04-05 Thread Philippe LAPLANCHE
In my flowscript I instanciate a form. After the form display and result, I call sendPageAndWait in the same function. In my jexl file, I want to use ${cocoon.continuation.id} But I get the id of the continuation that was generated for the form instead of the one generated when calling sendPageAndW

RE: jx template and arrays ... I need help

2006-04-03 Thread Philippe LAPLANCHE
n.apache.org Objet : Re: jx template and arrays ... I need help Philippe LAPLANCHE wrote: > In my JXTemplate, this expression returns nothing: > > ${account.payer.lines[5].CL1data.CL1_NUMLIG} > > But in my flow, just before I call the sendPage() function, this > expression gives an

jx template and arrays ... I need help

2006-03-31 Thread Philippe LAPLANCHE
In my JXTemplate, this expression returns nothing: ${account.payer.lines[5].CL1data.CL1_NUMLIG} But in my flow, just before I call the sendPage() function, this expression gives an int (I checked with the debugger) My object seems to be correctly passed and the arrays of lines is really there.

petstore explaination needed

2006-03-30 Thread Philippe LAPLANCHE
Hello, I'm trying to understand the petstore sample and I hoped someone could help me understand how the following code works. function main(funName) { var fun = this[funName]; var args = new Array(arguments.length -1); for (var i = 1; i < arguments.length; i++) { args[i-1] =

RE: First Cocoon application help needed

2006-03-30 Thread Philippe LAPLANCHE
I suggest you try and look at the samples. Normally you should be able to go to http://localhost:8080/cocoon/samples You have to go to webapps/cocoon/samples/ and look at the different sitemap.xmap files present in each directory for each sample sitemap.xmap file are very important files. Learn h

RE: permanent upload

2006-01-06 Thread Philippe LAPLANCHE
I found my answer in the source code : I use part.setDisposeWithRequest(false) to make sure my part won't get cleaned up. Philippe De : Philippe LAPLANCHE Envoyé : vendredi 6 janvier 2006 23:16 À : users@cocoon.apache.org Objet : permanent uploa

permanent upload

2006-01-06 Thread Philippe LAPLANCHE
Hi,   I’m trying to use cocoon to upload a file. My problem is that cocoon deletes the files after uploading them. In the logs I find this: http-8080-Processor25 DEBUG access - Deleting uploaded file(s)   I don’t know how to prevent that.   Is there an option to control this behav

java variables as parameters of logicsheet templates calls

2005-12-17 Thread Philippe LAPLANCHE
Hello, I'm a beginner in xsp and I don't know how to pass a java variable as a parameter of a logicsheet template call. To be more clear, consider this simple example : for (int i=1;i<=nbCol;i++) { }