;-)
-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
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
-
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
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]
, 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
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
.
If anyone has any clue on how to debug this, he will
be more than welcome.
Thank you
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
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
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
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
). 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
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
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
) {
}
}
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
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
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
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] =
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
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
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
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
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
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
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
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 ?
@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
Bonjour,
Existe-t-il un « CSV generator » qui lirait un fichier csv et générerait des
événements SAX ?
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
Connaissez vous une liste de diffusion sur xpath et/ou xslt (français ou
anglais) ?
Merci !
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
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
.
Comment choisir la meilleure solution ? Quels sont les paramètres qui influent
sur le choix ?
Merci d'avance
Philippe Laplanche
33 matches
Mail list logo