Cocoon et Hibernate

2006-02-07 Thread Aurélien DEHAY
Bonjour à tous. Possédant de (maigres) connaissances en Java, je me demande s'il est bien raisonnable de me lancer dans le mélange hibernate/cocoon. Quelques tutoriels sur le net, je me demandais juste si quelqu'un avait quelque chose de plus récent ou de mieux que hibernate pour cocoon. Le but

Re: Cocoon et Hibernate

2006-02-07 Thread Aurélien DEHAY
Bertrand Delacretaz a écrit : Le 7 févr. 06, à 20:11, Aurélien DEHAY a écrit : ...Possédant de (maigres) connaissances en Java, je me demande s'il est bien raisonnable de me lancer dans le mélange hibernate/cocoon... Sans maîtriser Java, c'est risqué...peut-être que ce qu'a fait Sylvain

Re: Cocoon et Hibernate

2006-02-07 Thread Aurélien DEHAY
Bertrand Delacretaz a écrit : Le 7 févr. 06, à 20:39, Bertrand Delacretaz a écrit : Le 7 févr. 06, à 20:11, Aurélien DEHAY a écrit : ...Possédant de (maigres) connaissances en Java, je me demande s'il est bien raisonnable de me lancer dans le mélange hibernate/cocoon... Sans maîtriser

Re: Fetch a sitemap parameter in an XSP page

2006-01-25 Thread Aurélien DEHAY
Hello. Goetzmann Bertrand wrote: Hi, How a sitemap parameter can be fetched in a XSP document ? You can use xmlns:util=http://apache.org/xsp/util/2.0; logicsheet: util:get-sitemap-parameter name=myParameter/ Rgds. -- Aurélien

Re: What's wrong with my XSL??

2006-01-17 Thread Aurélien DEHAY
Hello. Christian Barth a écrit : I want to do something like the first one. table tbody xsl:for-each select=* xsl:when test=local-name() = 'abweichungen' tr thAchtung Abweichungen:/thth/th /tr /xsl:when xsl:otherwise tr

Re: Problème avec Flowscript et renameT o()

2005-12-05 Thread Aurélien DEHAY
Bonjour. Je colle ici du code qui fonctionne chez moi(c)(r). function uploadFile() { // On récupère le basedir, chemin où déposer le fichier var basedir = cocoon.parameters[realPath] + cocoon.parameters[contextPath] + static/; var urlbase = cocoon.parameters[contextUrl] +

Re: encodage utf8

2005-12-02 Thread Aurélien DEHAY
Bonjour. Je me souviens avoir eu le même problème, et voici les étapes qui ont fonctionné pour moi: 1) Configuration de form-encoding en utf-8 dans le container 2) Fixer l'encoding envoyé au client à utf-8 (rajout du mime-type=text/html; charset=utf-8) dans le serializer. 3) Lancement du

Brick CMS

2005-11-21 Thread Aurélien DEHAY
Bonjour à tous Je viens de tester Brick CMS sur cocoon 2.1.8/tomcat 5.5/jdk 1.5 (jrockit sun)/Linux, ça a l'air de fonctionner pas trop mal, qques erreurs cependant, le cancel de l'edit d'un document existant me renvoi un org.mozilla.javascript.EvaluatorException:

Re: Brick CMS

2005-11-21 Thread Aurélien DEHAY
Aurélien DEHAY a écrit : Sorry, it was for the french mailing list. (one more mail for nothing) -- Aurélien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN] Apache Cocoon 2.1.8 Released

2005-11-18 Thread Aurélien DEHAY
Le vendredi 18 novembre 2005 à 12:28 +0100, Carsten Ziegeler a écrit : Apache Cocoon 2.1.8 Released Great news. Thank you to all Cocoon team. An happy user. -- Aurélien - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Disable persistent store.

2005-11-08 Thread Aurélien DEHAY
Hello. I'd like to disable the persistent store. I've read the following Wiki page: http://wiki.apache.org/cocoon/DisablePersistentStore but in 2.1.7 I can't see persistent-store logger=core.store.persistent, only store logger=core.store. How to I disable the persistent store? Do a

Re: Java flow, Ajax et autres bonnes choses à venir...

2005-11-04 Thread Aurélien DEHAY
On Fri, 04 Nov 2005 11:04:21 +0100 Sylvain Wallez [EMAIL PROTECTED] wrote: Aurelien DEHAY wrote: Il semble que peu, voire aucune, librairie AJAX ne fonctionne correctement en application/xml+xhtml et en xml. C'est en tout cas le cas de Ajax sur CForms (j'ai fait le test hier de modifier

Re: Java flow, Ajax et autres bonnes choses à venir...

2005-11-04 Thread Aurélien DEHAY
On Fri, 04 Nov 2005 12:22:58 +0100 Sylvain Wallez [EMAIL PROTECTED] wrote: Et Ajax fonctionne aussi? Ben non, du coup. Il y a le changes.xml, mais c'est vrai que c'est pas forcément facile à lire. On discute régulièrement de marquer les changements avec une importance, mais ce

Re: Java flow, Ajax et autres bonnes choses à venir...

2005-11-04 Thread Aurélien DEHAY
On Fri, 04 Nov 2005 17:10:27 +0100 Sylvain Wallez [EMAIL PROTECTED] wrote: Aurélien DEHAY wrote: Autre question, sinon, pourquoi ne pas sortir une 2.1.8 le plus vite possible, et prévoir 2 ou 3 2.1.8.x histoire de corriger les choses après? Ca sera plutôt 2.1.9, 2.1.10 (voir ci

Question existentielle sur CForms, les dates et i18n

2005-10-24 Thread Aurélien DEHAY
Bonjour à tous. Une question, forcément existentielle donc, histoire de faire les choses le plus proprement possible. J'ai un formulaire, dans lequel l'utilisateur rentre une date. J'aimerai que cette date soit stockée de la même manière quelque soit la locale de l'utilisateur, pour ensuite

Question existentielle sur CForms, les dates et i18n

2005-10-24 Thread Aurélien DEHAY
Bonjour à tous. Une question, forcément existentielle donc, histoire de faire les choses le plus proprement possible. J'ai un formulaire, dans lequel l'utilisateur rentre une date. J'aimerai que cette date soit stockée de la même manière quelque soit la locale de l'utilisateur, pour ensuite

Re: Question existentielle sur CForms, les dates et i18n

2005-10-24 Thread Aurélien DEHAY
Ok. Un tour dans le source du transo forms, et on voit qu'il faut passer le {locale} du act type=locale pour récupérer la locale, je me doutais bien qu'il me manquait quelque chose!! Ça marche impéccable, merci Sylvain Jean-Christophe. -- Aurélien

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

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

Writing my own generator.

2005-10-17 Thread Aurélien DEHAY
and Disposable is not very clear: do I need to implement both dispose() and compose() ? Thank you for your answer. Regards. -- Aurélien DEHAY - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Custom generator problem

2005-10-13 Thread Aurélien DEHAY
Jorg Heymans wrote: Aurélien DEHAY wrote: I'm using cocoon 2.1.7 on Tomcat 5.5.9, JDK 1.5.0 on Linux. If someone could do the test, and tell me what I'm doing wrong, it would be wonderful. Could you try with 2.1.8dev? It has much better error logging with the new location mechanism. Ok

Custom generator problem

2005-10-12 Thread Aurélien DEHAY
. If someone could do the test, and tell me what I'm doing wrong, it would be wonderful. Best Regards. -- Aurélien DEHAY - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with Batik and Freebsd

2005-10-05 Thread Aurélien DEHAY
Hello. Jean-Claude Moissinac wrote: When I have this problem, I'm working with Freebsd and Cocoon 2.1.7. When I try to display a JPEG image from an SVG (like in the batik block samples) I get this error: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value

Re: Problem with Batik and Freebsd

2005-10-05 Thread Aurélien DEHAY
Hello. Here is the link about that in install docs: http://cocoon.apache.org/2.1/installing/index.html#UNIX+with+X+server Regards. -- Aurélien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Problem with Batik and Freebsd

2005-10-05 Thread Aurélien DEHAY
Jean-Claude Moissinac wrote: Thank you for this help. Now, I will try to understand where I have to put the -Djava.awt.headless=true option. I'm not using Tomcat, but the basic direct way to install Cocoon 2.1.7. Regards If you run cocoon as ./cocoon.sh servlet, just add this option to the

Re: Log dans les sitemap

2005-10-03 Thread Aurélien DEHAY
uniquement: http://cocoon.apache.org/2.1/userdocs/transformers/log-transformer.html -- Aurélien DEHAY - Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire : mailto:[EMAIL PROTECTED] Autres commandes

Caching, auth-fw and invalidating a single entry

2005-09-29 Thread Aurélien DEHAY
. -- Aurélien DEHAY - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [bricks] première version online, t esteurs bienvenus!

2005-09-28 Thread Aurélien DEHAY
Bertrand Delacretaz wrote: Bonjour les Cocoonistas francophones, Pour info, une première version de l'application d'exemple bricks-cms est disponible dans le whiteboard, voir http://wiki.apache.org/cocoon/BricksCms Si quelqu'un a le temps de la tester dans son environnement ça serait très

Re: [bricks] première version online, t esteurs bienvenus!

2005-09-28 Thread Aurélien DEHAY
Hello. Ok, la procédure d'install ne semble pas en mesure de créer le document id 1. Ou alors, j'ai râté un truc: BricksDocument having id '1' not found -- Aurélien - Liste francophone Apache Cocoon --

Re: [bricks] première version online, t esteurs bienvenus!

2005-09-28 Thread Aurélien DEHAY
Pour info, l'application fonctionne là: http://ondolinde.dyndns.org: pour l'instant. C'est à dire jusqu'à ce que j'éteingne ma machine. - Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous

Re: [bricks] première version online, t esteurs bienvenus!

2005-09-28 Thread Aurélien DEHAY
Bertrand Delacretaz wrote: Le 28 sept. 05, à 13:43, Aurélien DEHAY a écrit : ...Ok, la procédure d'install ne semble pas en mesure de créer le document id 1. Ou alors, j'ai râté un truc:... Oui, elle ne le crée pas, il faut utiliser le lien create sur la page document-editor Ok

Re: [bricks] première version online, t esteurs bienvenus!

2005-09-28 Thread Aurélien DEHAY
Bertrand Delacretaz a écrit : ok, je note sur http://wiki.apache.org/cocoon/BricksCms, encore merci! Si tu as des nouvelles versions a tester, n'hésite pas. -Bertrand - Liste francophone Apache Cocoon --

i18n, date binding framework.

2005-09-15 Thread Aurélien DEHAY
is really strange. I think I've missed something. Can someome give me the trick? Regards. -- Aurélien DEHAY - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: i18n, date binding framework.

2005-09-15 Thread Aurélien DEHAY
Hi. Thomas Lutz a écrit : What exactly does not work ? The displayed date the date in the input field are not consistant. For example I'd like, in en locale, the following behaviour: the client enter 01/13/2000 in the forms. When displaying in en locale = 01/13/2000, and when displaying in fr

Re: i18n dans xsl:attribute ?

2005-09-13 Thread Aurélien DEHAY
Philippe Gassmann a écrit : Raphaël Franchet wrote: Mon sauveur... :) Et pour les dates ? Je ne sais pas, je n'ai jamais été confronté à ce problème mais la solution m'interesse si il y en existe une ! A priori, c'est quel là dedans:

Re: Question bête sur Reader PDF

2005-09-08 Thread Aurélien DEHAY
Bonjour. [EMAIL PROTECTED] a écrit : Précision : Ce pipeline fonctionne bien avec IE mais pas sous Firefox ? Le mime-type est-il bon ? Cocoon ne modifierait-il pas l'entête HTTP ? Il fait plus que la modifier vu qu'il réécrit les entêtes entièrement, c'est lui qui sert le fichier. Pourquoi

Re: Cookies in flow by name

2005-08-30 Thread Aurélien DEHAY
Hello. JD Daniels a écrit : it seems i can access a cookie in flow with cocoon.request.getCookies()[1].value however, not all pages i have need a user logged in, which creates its own jsessionid cookie. so sometimes i need cocoon.request.getCookies()[0].value and other times i need

Re: Cocoon and OpenLaszlo

2005-08-29 Thread Aurélien DEHAY
Hello. Sebastien Arbogast a écrit : It would be nice to have a pipeline that uses Laszlo as the final step for the GUI. Indeed !!! All the more so as Laszlo files are plain XML, since Cocoon could dynamize lzx generation. I had thought of that too, even if I'm not sure of the practical

NPE with xmldb, resource i18n

2005-08-28 Thread Aurélien DEHAY
Hello. Here is my pipeline: map:match pattern=cforms/proceed map:generate type=jx src=populate.xml/ map:transform type=xmldb/ map:call resource=xhtml-output/ /map:match The xhtml-output resource: map:resource

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Aurélien DEHAY
Bertrand Delacretaz wrote: Le 25 août 05, à 15:57, Oliver Schalch a écrit : ...Looks like issues in the grammer (wiki.grm or generation of wiki.xgrm), or what do you think?... Chaperon is a parser for strict grammars, and as such not really suited for wiki parsing where you need a

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Aurélien DEHAY
Apologize for: - The HTML format of the mail. Default settings of Thunderbird sometime sucks. - Forgot to say, the site is in french. Rgds. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Comment acceder au contexte authentication depuis le flowscript

2005-08-19 Thread Aurélien DEHAY
Bonjour. Ca serait bien le point de départ d'un design pattern sur l'agencement des tuyaux ça Bon, ok, je me tais :p -- Aurélien - Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/ Pour vous desinscrire :

Re: Comment acceder au contexte authentication depuis le flowscript

2005-08-18 Thread Aurélien DEHAY
Hello Marc Salvetti wrote: Bonjour, snip/ Si j'ai bien compris, c'est un bout de code qui va écrire dans le contexte de l'utilisateur. Pourquoi ne pas utiliser http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transformer.html ou

Re: Comment acceder au contexte authentication depuis le flowscript

2005-08-18 Thread Aurélien DEHAY
Sylvain Wallez wrote: snip/ Est-ce qu'il y a une login-action ou équivalent avant l'appel du flowscript? Il me semble, en tout cas c'est comme ça dans le sitemap, que pour que les contextes soient accessibles, il faut que le tuyau soit dans un map:act type=auth-protect/ Sylvain

Re: Flowscript paramètres sitemap

2005-08-18 Thread Aurélien DEHAY
Sylvain Wallez wrote: Ou genre cocoon.sendPageAndWait(toto.xml, {truc: 'plop'}); et map:generate src={flow-attr:truc}/ :-) Rha, j'avais zappé les input modules. Honte sur moi. Merci. - Liste francophone Apache Cocoon --

Re: Mail and continuations

2005-08-05 Thread Aurélien DEHAY
Marc Salvetti wrote: Thanks for the answer Aurélien, there is 2 situations where i send a mail with a continuation : on the opening of a new user account, a mail is sent to the user with this link so i can be sure of the validity of the email adress before saving the new account. My choice

eXist XQuery auth-fw

2005-08-04 Thread Aurélien DEHAY
Bonjour. J'essaye d'utiliser un script xql (avec le generateur eXist 1.0b2) avec le framwork auth. J'ai dans la définition de mon handler: authentication uri=cocoon:raw:/login-authenticate/ Le tuyau login-authenticate: map:match pattern=login-authenticate map:generate

eXist/XQuery and auth-fw

2005-08-04 Thread Aurélien DEHAY
Hello. I'm trying to use a xql file with the eXist 1.0b2 org.exist.cocoon.XQueryGenerator with the auth-fw. I've got: authentication uri=cocoon:raw:/login-authenticate/ in the handler conf. The login-authenticate is: map:match pattern=login-authenticate map:generate type=xquery

Re: Strange problem upgrading Tomcat/Cocoon

2005-08-04 Thread Aurélien DEHAY
Hi. Steve Burling wrote: I'm starting the process of upgrading our Tomcat/Cocoon install, currently Tomcat 5.0.16 and Cocoon 2.1.3, wanting to move to Tomcat 5.5.9 and Cocoon 2.1.7. I've run into a problem that I can't explain, and hope that someone else has seen (and solved!) the problem.

Re: Multiple Cocoon instances in tomcat.

2005-07-27 Thread Aurélien DEHAY
Upayavira wrote: Aurélien DEHAY wrote: Hello. I am running 2 cocoon webapps in Tomcat. The libs are all in $TOMCAT_HOME/common/lib, so the WEB-INF/lib of each webapp is empty. There is a problem, I found in the log file of a webapp the activity (like cron block) of the other webapp

Re: petite intro ;)

2005-07-20 Thread Aurélien DEHAY
Bonjour. foxmask wrote: Mes contributions au http://wiki.apache.org/cocoon/ se sont limitées à 2 sur Groovy ;) Pour l'heure je me tate entre franchir le pas CForm ou pas. Et pourquoi donc ? qui dit CForms dit Flowscript (si je me souviens bien) et si je ne veux pas me lancer

Cocoon Design Pattern

2005-07-20 Thread Aurélien DEHAY
Bonjour à tous. Je m'interroge sur l'existance de design pattern pour Cocoon. A défaut d'avoir des applications libres à foison sous Cocoon, peut-êter qu'il serait intéressant de mettre en commun les bonnes méthodes de conception. Donc, ce genre de chose existe-t-il de manière plus formelle

Re: parsing xml in flowscript.

2005-05-02 Thread Aurélien DEHAY
Ugo Cei wrote: [snip] Because a ByteArrayOutputStream is not an InputStream. Try; var is = new ByteArrayInputStream(stream.toByteArray()); parse(is); It works, thank you. Regards. -- Aurélien - To unsubscribe, e-mail: [EMAIL

parsing xml in flowscript.

2005-05-01 Thread Aurélien DEHAY
Hi list. I'm trying to parse an xml stream from a pipeline result in flowscript. I've got the following code: var stream = new java.io.ByteArrayOutputStream; cocoon.processPipelineTo(etape2, {url: url}, stream ); var document =

Re: SendMail

2005-04-28 Thread Aurélien DEHAY
Roberto Marra wrote: Hi all, seems that nobody use SendMail action...anyway I got another question about it, maybe somebody can help me: snip/ Any suggestion? We're using the sendmail transformer, and we use a flowscript to generate the body. It works great, and we can format the body as we

Re: SendMail

2005-04-28 Thread Aurélien DEHAY
Hello [EMAIL PROTECTED] wrote: Hi Roberto, I am planning to use cocoon's sedmail action. In my email, I need to send a zipoutputstream as an attachment. How can I do this? With Sendmail transformer, like describe in

reload i18n dictionary

2005-04-24 Thread Aurélien DEHAY
Hi list. I'd like to know if it's possible to reload the i18n dictionaries. They seems to be cached (at startup or first use). If I add a new key, it's ok, but if I modify an existing key, the old value is still displayed. Is /dictionary reloaded/ possible? Rgds. -- Aurlien DEHAY

Re: Réf. : Re: Sauver pdf sur disque

2005-04-19 Thread Aurélien DEHAY
Le mardi 19 avril 2005 11:08 +0200, Sebastien BARATHIEU a crit : Bien ca marche trs bien, c'est surtout trs rapide par rapport un service FOP que nous avions mont nous mme. Il me manque nammoins deux peitis trucs pourque tout tourne super bien: 1 == Passer des paramtres du sitemap vers

Re: Sauver pdf sur disque

2005-04-15 Thread Aurélien DEHAY
Le vendredi 15 avril 2005 14:51 +0200, Sebastien BARATHIEU a crit : Bonjour, Voire (a m'apprendra a envoyer les mails trop vite): http://wiki.apache.org/cocoon/SavingFilesToFileSystem pour la version en flowscript. Cdlt.

Re: Getting parameters from a Cocoon Forms

2005-04-15 Thread Aurélien DEHAY
Hello. Le vendredi 15 avril 2005 14:25 +0200, Lionel Crine a crit : Hi, I'm trying to get some parameters from a Cocoon Forms but I'm a little confused. When the form is valid, Should I : 1 - get them in the flowscript (using form.getModel();) : if Yes, is there a way to

[ANN] Myotis 0.90

2005-04-14 Thread Aurélien DEHAY
Bonjour tous. Je suis heureux de vous annoncer la sortie de Myotis 0.90 sous licence GPL. Myotis est un CMS (pourquoi ne pas avoir pris Lenya ou Daisy me direz-vous, voir les archives ;) ) bas sur Cocoon et reposant sur une base de donnes postgresql. Ses principales fonctionnalits sont: *

[ANN] Myotis 0.90

2005-04-14 Thread Aurélien DEHAY
Hello. I'm proud to announce the release of myotis 0.90. Myotis is a CMS based on cocoon/postgresql. Its main features are: * content type based (articles, news, tips, howtos, etc.) * comments on all contents * wiki syntax for content * web based administration interface

Live site.

2005-04-14 Thread Aurélien DEHAY
Hi all. http://logicielslibres.info (fr) is powered by cocoon 2.1.7. Rather empty for the moment, the aim is to provide informations about free software (news, articles, tips). It's based on myotis (http://myotis.org) which is powered by cocoon. Hosted by john compagnies

Re: Live site.

2005-04-14 Thread Aurélien DEHAY
Le jeudi 14 avril 2005 06:55 -0500, Antonio Gallardo a crit : On Jue, 14 de Abril de 2005, 4:55, Aurlien DEHAY dijo: Hi all. http://logicielslibres.info (fr) is powered by cocoon 2.1.7. Some advises: Cheking the request headers the site tell: X-Cocoon-Version: 2.1.6. Oops. Ok.

Re: Starting background thread?

2005-04-13 Thread Aurélien DEHAY
Hi. Le mercredi 13 avril 2005 16:43 +0200, Kai Hessing a crit : Hi folks, I wonder if it is possible to start something like a cocoon background thread. Our problem is, that large SQL-Queries take some time and after a few minutes the browser returns a timeout. So the idea is to start a

Re: How can I upload multiple files at same time ?

2005-04-12 Thread Aurélien DEHAY
Hi. Le mardi 12 avril 2005 10:54 -0400, Jarry Liu a crit : Hi, everyone. I want to use checkbox to selelct multiple files and upload them at the same time? But if I use input type =file., it can only Add a name parameter. support one file. Do you have any idea? Thanks. Jarry

Re: autf-fw et login en utf-8

2005-04-09 Thread Aurélien DEHAY
Le samedi 09 avril 2005 18:05 +0200, Sylvain Wallez a crit : Aurlien DEHAY wrote: Bon, j'ai russi a contourner le problme, de manire sale je trouve, mais enfin, a fonctionne. Voici donc un extrait du contenu de mon XSP: xsp:logic String user=new String(input:get-attribute

Auth-fw and utf-8 logins

2005-04-08 Thread Aurélien DEHAY
Hello. I'm experiencing strange behaviour using: - auth-fw - flow (the org/apache/cocoon/webapps/authentication/flow/javascript/auth.js file from auth-fw block) - a simple login.xsp file making request on a database (which is used by the authentication pipeline configured in the handler/) I've

Re: UTF-8 dans les URL.

2005-04-07 Thread Aurélien DEHAY
Le jeudi 07 avril 2005 15:22 +0200, Bertrand Delacretaz a crit : Le 7 avr. 05, 15:14, Frdric Glorieux a crit : ...Mais la doctrine que j'en ai surtout conserv c'est : URI ASCII le plus possible (sauf pour les valeurs textuelle en paramtre pour un formulaire par ex) +1 Mais c'est

Re: UTF-8 dans les URL.

2005-04-07 Thread Aurélien DEHAY
Le jeudi 07 avril 2005 16:07 +0200, Sylvain Wallez a crit : une virgule en plus? Quand on regarde la table de l'iso-8859-1 [1], on trouve que E2 - (a circ) 82 - unused (!) AC - (not sign) Or Unicode nous dit [2] que le signe euro est 20AC... J'ai l'impression que c'est ce bon

Re: UTF-8 dans les URL.

2005-04-07 Thread Aurélien DEHAY
Le jeudi 07 avril 2005 16:26 +0200, Sylvain Wallez a crit : snip/ Nan, c'est moi qui m'emmle les pinceaux. D'aprs la littrature passionnante expliquant l'encodage UTF-8 [3] et un peu de conversions binaires - hexa (je connais encore la table par coeur!!!), il s'avre que E282AC est le bon

Re: UTF-8 dans les URL.

2005-04-07 Thread Aurélien DEHAY
Le jeudi 07 avril 2005 17:33 +0200, Aurlien DEHAY a crit : titre d'info, maintenant que je sais plus ou moins chercher: http://www.dpawson.co.uk/xsl/sect4/uri.html#d12969e393 - Liste francophone Apache Cocoon --

Re: ikvm/jiks/gcj/whatever cocoon compilation

2005-04-07 Thread Aurélien DEHAY
Le mercredi 06 avril 2005 22:17 -0400, Gregor J. Rothfuss a crit : Aurlien DEHAY wrote: Le mercredi 06 avril 2005 16:50 -0400, Gregor J. Rothfuss a crit : Aurlien DEHAY wrote: Hello. I'd like to know if someone ever tried to compile cocoon with a non-sun/bea/ibm/whatever compiler

Re: Parametres

2005-04-06 Thread Aurélien DEHAY
Salut. Le lundi 04 avril 2005 13:49 +0200, douentza douentza a crit : Voici un boup de mon code: -- === Le FLOW : cocoon.load(resource://org/apache/cocoon/forms/flow/javascript/Form.js); function transactionreport() { var form = new Form(forms/transactionreport.xml);

Re: [Annonce] Eclipse Lepido, un IDE opensource pour Cocoon

2005-04-06 Thread Aurélien DEHAY
Le mercredi 06 avril 2005 10:11 +0200, Sylvain Wallez a crit : Jean-Christophe Kermagoret wrote: Bonjour, Les news eclipse.technology.lepido ne semblent pas encore accessibles. Quelle impatience :-) Effectivement, le newsgroup est en cours de cration par l'infrastructure

Re: Parametres

2005-04-06 Thread Aurélien DEHAY
Le mercredi 06 avril 2005 11:15 +0200, douentza douentza a crit : En fait ma connaissance des flows est de tres bas niveau. Je veux donc chercher des examples de sources sur le web pour comprendre d'avance. Si vous avez des liens ou des exemples de faits sur cela je suis interesse. Regarde

Re: [Annonce] Eclipse Lepido, un IDE opensource pour Cocoon

2005-04-06 Thread Aurélien DEHAY
Le mercredi 06 avril 2005 11:42 +0200, Sylvain Wallez a crit : Aurlien DEHAY wrote: Le mercredi 06 avril 2005 10:11 +0200, Sylvain Wallez a crit : snip/ A part a, qu'est-ce que vous pensez de ce projet ? Que c'est dommage que ce soit Eclipse (attention, comprennez bien ce que

Re: WAR JMS

2005-04-06 Thread Aurélien DEHAY
Bonjour. Le mercredi 06 avril 2005 15:37 +0200, douentza douentza a crit : Bonjour, je viens d'installer cocoon 2.1.7 avec tomcat 5.5.7 et j'obtiens le message suivant dans le core.log. Quelqu'un peut m'indiquer comment fixer cela ? Soit installer un OpenJMS -par exemple- si tu

UTF-8 dans les URL.

2005-04-06 Thread Aurélien DEHAY
Bonjour tous. J'essaye de faire la chose suivante: map:match pattern=.html map:read src=machin.html/ /map:match Donc a priori, pas quelque chose de compliqu. Quand je tape le match correspondant dans mon navigateur prfr (firefox), j'ai: The requested resource /test/%E2%82%AC.html could not

ikvm/jiks/gcj/whatever cocoon compilation

2005-04-06 Thread Aurélien DEHAY
Hello. I'd like to know if someone ever tried to compile cocoon with a non-sun/bea/ibm/whatever compiler (specially a free compiler). Rgds. -- Aurlien DEHAY http://zorel.org http://logicielslibres.info signature.asc Description: This is a digitally signed message part

Re: ikvm/jiks/gcj/whatever cocoon compilation

2005-04-06 Thread Aurélien DEHAY
Le mercredi 06 avril 2005 16:50 -0400, Gregor J. Rothfuss a crit : Aurlien DEHAY wrote: Hello. I'd like to know if someone ever tried to compile cocoon with a non-sun/bea/ibm/whatever compiler (specially a free compiler). http://brutus.apache.org/gump/kaffe/cocoon/cocoon/index.html

Re: Parametres

2005-04-04 Thread Aurélien DEHAY
Bonjour. Le lundi 04 avril 2005 10:04 +0200, douentza douentza a crit : Merci Sylvain, J'arrive maintenant a le faire passer dans l'url du style href=aaabbb?page_number=$page_numberamp;are_name=$area_name Mais cette solution ne me seduit pas, n'est t'il pas possible de les avoirs

Re: Parametres

2005-04-04 Thread Aurélien DEHAY
Le lundi 04 avril 2005 10:44 +0200, douentza douentza a crit : Bonjour, Oui 'est bien cela. Mes deux parametres vont etre untiliser durant toute la session d'un utilisateur. Ok, donc, tu dois avoir un truc comme a dans le flowscript: var formulaire = new Form(form-definition.xml);

Re: Parametres

2005-04-04 Thread Aurélien DEHAY
Le lundi 04 avril 2005 11:22 +0200, douentza douentza a crit : J'avais lu le cas registration. Peut etre je l'avais mal modifier ou mal compris, mais une fois que le cocoon.sendPage(confirmer.message, {page_number: page_number, area_name: area_name) effectuer, je perdais les donnees. Pour

Re: session example

2005-04-04 Thread Aurélien DEHAY
Le lundi 04 avril 2005 11:10 -0700, fadi qutaishat a crit : Hi all , Hello. I think I getting confused in suing the cocoon session. I think I am not clear with defining the right configuration for a session inside a pipeline. Please could some one send me an example on how to use

Re: Parametres

2005-04-03 Thread Aurélien DEHAY
Le jeudi 31 mars 2005 19:41 +0200, Sylvain Wallez a crit : douentza douentza wrote: J'ai creer une forme avec CFORMS qui accepte deux parametres (page_number et area_name). Ces deux parametres, j'arrive a les avoir la paremiere fois dans une pipeleine (map:match pattern=debut ) grace a

Re: [annonce] Cocoon 2.1.7 est sorti

2005-04-02 Thread Aurélien DEHAY
Chre liste, Le dimanche 03 avril 2005 00:01 +0200, Sylvain Wallez a crit : Frdric Glorieux wrote: snip/ J'ai lu en effet :o) A chaque mise jour cocoon, on se trouvait parfois avec quelques surprises en revoyant son cocoon.xconf et ses sitemap. Et c'est en grande partie pour a que

Re: [ANNONCE] Myotis 0.80

2005-04-02 Thread Aurélien DEHAY
Le dimanche 03 avril 2005 00:08 +0200, Sylvain Wallez a crit : Frdric Glorieux wrote: vous ne pourrez avoir comme contributeurs que des gens qui acceptent les contraintes de la GPL, c'est dire soit qui font du non commercial, soit qui font du commercial non redistribu (comme un

Re: Example of Cookies

2005-04-02 Thread Aurélien DEHAY
Hi. Here is a flowscript sample: var c_ident = cocoon.response.createCookie(myotis_ident,cookie_ident); c_ident.maxAge = 365*24*60*60; c_ident.path = /; cocoon.response.addCookie(c_ident); For reading the cookie, I use the input module: {request:cookies[name='myotis_ident']/@value} Rgds.

Re: Rapide question sur le file upload.

2005-03-30 Thread Aurélien DEHAY
Ok, merci, a fonctionne (BlueXML? Ce bout de code l est sous quelle licence?)... Mais en fait, je pense que a a toujours fonctionn. a m'apprendra plusieurs choses: - Supputer que le rename sait dplacer un fichier d'une FS un autre (ce qui n'est pas le cas d'ailleurs, c'est dpendant de la

Upload cforms wigdet and mime-types.

2005-03-30 Thread Aurélien DEHAY
Dear List. I have a simple form with an upload widget: fd:upload id=upload mime-types=image/png, image/jpeg required=true fd:labelDposer ce fichier:/fd:label fd:hintVous devez choisir un fichier/fd:hint /fd:upload When I try on upload an file without extension, even if the file is an

getCookie in flowscript Cocoon 2.1.7

2005-03-29 Thread Aurélien DEHAY
Hi. It seems the cocoon.request.getCookie (cookie_name) suddently disapears from flowscript in Cocoon 2.1.7. Why? It was a useful function. Do I have to use getCookies and look at all the cookies to found the good one? Rgds. -- Aurlien DEHAY

Re: Using database pool from java object for flow

2005-03-29 Thread Aurélien DEHAY
Hello. Le mardi 29 mars 2005 10:00 -0500, Andr Thnot a crit : Hi, I'm using flow to talk to my java model classes. So far so good. But I'd like my model classes to talk to the database and use cocoon's connection pool. Do I have to write an Avalon component for this? If so, how does

Re: Session attributes problem

2005-03-28 Thread Aurélien DEHAY
Hello. Le lundi 28 mars 2005 23:12 +0200, Yves Vindevogel a crit : Hi, snip/ You can test the difference in behaviour on: http://212.221.24.70/ecseed/ (login: deme pass: demetest) http://212.221.24.70:8080/cocoon/www.ecseed.com/ Both is the same files When you get into the

Re: [ANNONCE] Myotis 0.80

2005-03-24 Thread Aurélien DEHAY
Le samedi 19 mars 2005 00:36 +0100, Sylvain Wallez a crit : snip/ Voil voil... mais avec mon grand couvre-chef plumes de sachem Apache et tant employ-fondateur d'une entreprise profiteuse et contributrice, je suis forcment partial dans mon opinion ! a ne s'tait pas vu ;) On va pour

Re: Rapide question sur le file upload.

2005-03-24 Thread Aurélien DEHAY
Le jeudi 24 mars 2005 16:56 +0100, Jean-Baptiste Quenot a crit : * Aurlien DEHAY: Juste une petite question rapide: quelqu'un aurait-il un bout de code en flowscript qui fait de l'upload de fichier? J'ai vu quelque chose dans les exemples, mais a ne fait pas l'criture sur disque.

Re: Rapide question sur le file upload.

2005-03-24 Thread Aurélien DEHAY
Bon, on va dire que je n'ai pas post ce mail... a marche pas encore tout fait, a ne cr pas le fichier, mais au moins, je n'ai plus d'erreur l'utilisation. -- Aurlien. - Liste francophone Apache Cocoon --

Re: Rapide question sur le file upload.

2005-03-24 Thread Aurélien DEHAY
Le jeudi 24 mars 2005 18:02 +0100, Raphal Franchet a crit : Le problme vient du type de l'argument 'string' alors que la mthode attends un 'java.lang.String' 'string' est le type javascript Il faut donc que tu le convertisses en faisant par exemple: file.renameTo(new

Re: Rapide question sur le file upload.

2005-03-24 Thread Aurélien DEHAY
Le jeudi 24 mars 2005 18:17 +0100, Jean-Christophe Kermagoret a crit : Il me semble que c'est un part (upload.getValue()) qu'il faut fournir java.io.File pour crer le fichier et non le upload.getFileName() Effectivement, a serait plus logique. J'ai a: var uploadWidget =

  1   2   >