RE: xml in string in jxtemplate

2008-07-18 Thread Philippe LAPLANCHE
;-) -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 jx:out value=Expression xmlize=true

xml in string in jxtemplate

2008-07-17 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

RE: xml in string in jxtemplate

2008-07-17 Thread Philippe LAPLANCHE
- De : Philippe LAPLANCHE Envoyé : jeudi 17 juillet 2008 17:31 À : users@cocoon.apache.org Objet : xml in string in jxtemplate 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

form captcha validation : remove continuation

2006-09-21 Thread Philippe LAPLANCHE
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
, 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? Can you monitor the number of connections

RE: cocoon not responding

2006-09-18 Thread Philippe LAPLANCHE
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: ...There's a problem with the database

cocoon not responding

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

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' Objet : cocoon

RE: cocoon not responding

2006-09-15 Thread Philippe LAPLANCHE
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 host. Maybe that's the thing

RE: Dégradation régulière de performances avec coc oon.getComponent()

2006-05-22 Thread Philippe LAPLANCHE
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 as oublié de faire ça et que tu

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

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

2006-04-06 Thread Philippe LAPLANCHE
). Anyway I just changed its name into cont and everything worked normal. Philippe -Message d'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

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

${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

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

2006-04-03 Thread Philippe LAPLANCHE
) { } } Philippe -Message d'origine- De : Jason Johnston [mailto:[EMAIL PROTECTED] Envoyé : samedi 1 avril 2006 04:15 À : users@cocoon.apache.org Objet : Re: jx template and arrays ... I need help Philippe LAPLANCHE wrote: In my JXTemplate, this expression returns nothing

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

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

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] =

i18n : accept-language + flowscript

2006-03-28 Thread Philippe LAPLANCHE
Bonjour, J'essaie d'utiliser le transformer i18n. Cocoon arrive bien à retrouver la valeur de locale quand celle-ci est passée en attribut de la requête ( ?locale=es) et mes pages sont bien traduites. Mais Cocoon n'arrive pas à récupérer la valeur de Accept-language dans le header de la

permanent upload

2006-01-06 Thread Philippe LAPLANCHE
Hi, Im 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 dont know how to prevent that. Is there an option to control this

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 upload Hi

variable java en parametre de template d'une logicsheet

2005-12-17 Thread Philippe LAPLANCHE
Bonjour, Je débute en xsp et je ne sais pas passer une variable java en paramètre d'un appel de template d'une logicsheet. Je vous donne un exemple simple : esql:row-results tr xsp:logic

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 : esql:row-results tr xsp:logic for (int i=1;ilt;=nbCol;i++) { /xsp:logic

RE: encodage utf8

2005-12-13 Thread Philippe LAPLANCHE
Bonjour Aurélien, Je suis un peu dépassé ... Qu'est ce que tu entends par 3) Lancement du container avec LANG=fr_FR.UTF-8 ? Pour le 1) j'ai supposé qu'il s'agissait du paramètre form-encoding de WEB-INF/web.xml. C'est bien ça ? Pour le 2) j'ai changé la déclaration du serializer html dans mon

RE: encodage utf8

2005-12-13 Thread Philippe LAPLANCHE
Je n'arrive pas à empêcher le serializer html de transformer mes é en acute; Le serializer xml, lui, retourne des é codés en utf-8 (\C3\A9) Dans le header du résultat de mes requêtes, j'ai bien charset=utf-8 dans le content-type. Qu'est ce qu'il faut que je fasse en plus ? J'ai mis

xml dans message post

2005-12-09 Thread Philippe LAPLANCHE
Bonjour, Dans un xsp je sais récupérer des champs du formulaire qui me sont envoyés par une requête post. Maintenant comment puis-je faire si dans le contenu de la requête post, se trouvent des données au format xml ? Est-il possible de parser ces données directement depuis mon xsp ?

RE: xml dans message post

2005-12-09 Thread Philippe LAPLANCHE
@cocoon.apache.org Objet : Re: xml dans message post * Philippe LAPLANCHE: Maintenant comment puis-je faire si dans le contenu de la requête post, se trouvent des données au format xml ? Est-il possible de parser ces données directement depuis mon xsp ? Un exemple en FlowScript: /** * Parse

CVS generator

2005-07-22 Thread Philippe LAPLANCHE
Bonjour, Existe-t-il un « CSV generator » qui lirait un fichier csv et générerait des événements SAX ? Philippe Laplanche

xsp param

2005-06-28 Thread Philippe LAPLANCHE
Bonjour, Est-ce qu'il existe une logicsheet pour cocoon qui permette, aussi simplement qu'avec AxKit, d'utiliser le namespace « param » pour accéder aux paramètres d'une requête ? Ex : param:toto/ est transformé en la valeur du champ de formulaire toto envoyé dans la requête. Merci

liste de diffusion xpath / xslt

2005-06-24 Thread Philippe LAPLANCHE
Connaissez vous une liste de diffusion sur xpath et/ou xslt (français ou anglais) ? Merci ! Philippe Laplanche

RE: liste de diffusion xpath / xslt

2005-06-24 Thread Philippe LAPLANCHE
Merci ! -Message d'origine- De : Bertrand Delacretaz [mailto:[EMAIL PROTECTED] Envoyé : vendredi 24 juin 2005 15:16 À : users-fr@cocoon.apache.org Objet : Re: liste de diffusion xpath / xslt Le 24 juin 05, à 14:57, Philippe LAPLANCHE a écrit : Connaissez vous une liste de diffusion

RE : interface base de données

2005-06-05 Thread Philippe LAPLANCHE
OK, merci pour l'info, je ne connaissais pas Hibernate, je vais m'y interesser. Avez-vous un tutoriel ou un livre à me recommander ? Philippe Laplanche De: Sylvain Wallez [mailto:[EMAIL PROTECTED] Date: dim. 05/06/2005 09:30 À: users-fr@cocoon.apache.org

interface base de données

2005-06-04 Thread Philippe LAPLANCHE
. Comment choisir la meilleure solution ? Quels sont les paramètres qui influent sur le choix ? Merci d'avance Philippe Laplanche