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. > > > > > > > Achtung Abweichungen: > > > > >select="."/> > > > > > > The .. should be in a element: http://z

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: Rgds. -- Aurélien - To unsubscribe, e-mail: [EMAIL PRO

Re: calling an applet

2004-10-11 Thread Aurélien DEHAY
Craig Christophersen wrote: I am having trouble calling an applet from an xsl. In my sitemap map:read what should be the mime-type? http://wiki.apache.org/cocoon/ServingStaticFiles Rgds. -- Aurélien DEHAY http://logicielslibres.info Passer pour un idiot aux yeux d'un imbécile es

xsp-session logicsheet

2004-10-15 Thread Aurélien DEHAY
ng a session if there is no one. I'm open to use actions, whatever. Regards. -- Aurélien DEHAY - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

redirect problem

2004-10-01 Thread Aurélien DEHAY
#x27;d do a redirect after the XSP execution. I'd like to make my post.xsp an serverpages action to check the success or the failure of the insertion into the database. I've tried several solutions, but none works. What is the good way to do this? Regards. -- Aurélien DEHAY

Re: ProxyPass

2004-11-05 Thread Aurélien DEHAY
Hello. Norman Barker a dit:: Hi, I am trying to use Apache to be front end to Cocoon as in http://wiki.apache.org/cocoon/ApacheModProxy so I have written in httpd.conf ProxyPass /cocoon http://localhost:8080/cocoon ProxyPassReverse /cocoon http://localhost:8080/cocoon however when I access the welc

Re: Cocoon scalability

2004-11-06 Thread Aurélien DEHAY
Hello. Le samedi 06 novembre 2004 Ã 10:09 -0500, Shilpa Kelkar a Ãcrit : > Hello > > We have a website developed in cocoon 2.0 running on tomcat 5.0.27 on linux > server. > We are using jvm 1.4.2. Sun? Weblogic (Jrockit)? Intel architecture? > The website is few xml and xsls with 15 java code

Bug? Strange behaviour in handling sitemap components.

2004-11-26 Thread Aurélien DEHAY
Hello. I've got the following sitemap: <== http://apache.org/cocoon/sitemap/1.0";> src="org.apache.cocoon.transformation.PatternTransformer" logger="sitemap.transformer.pattern"> src="org.apache.cocoon.transformation.LexicalTrans

Re: Bug? Strange behaviour in handling sitemap components.

2004-11-26 Thread Aurélien DEHAY
Aurélien DEHAY wrote: Ok, forget this post, xslt*c* doesn't transform the xdoc with the xsl file correctly. Rgds. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

jxpath and forms v2

2004-11-28 Thread Aurélien DEHAY
xsp. When I use in my xsp, It returns an object (org.apache.someting.v2.ScriptableWidget). I'm then trying to put as in the flowscript: content_type.value, but it returns null for all my widgets. I'm seeking in the docs, but I can't find anything. Is someone knows how to get th

Re: jxpath and forms v2

2004-11-28 Thread Aurélien DEHAY
Andrew M wrote: Hi, try this: var model = form.getModel(); var bizData = {"next" : model.content_type} Andrew Hi. I've got the following error: getModel is not a function. I'm trying to use the v2 forms version, but I'm think I will stay with the v1. Rgds.

Re: jxpath and forms v2

2004-11-28 Thread Aurélien DEHAY
Andrew M wrote: Hi, make sure that you have the following at the top of your page: 1. cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js"); I'm trying to use cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/v2/Form.js"); Rgds. -

Re: jxpath and forms v2

2004-11-28 Thread Aurélien DEHAY
Andrew M wrote: The getModel function is _not_ defined in v2/Forms. It can't work. I've switched back to v1. Rgds. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: examples xmldb and expression xpath

2004-12-06 Thread Aurélien DEHAY
Hello. Le dimanche 05 décembre 2004 à 21:38 -0600, Andres Taborda a écrit : > hello list > > some user have examples of XML:DB XUpdate with > xindice using expressions xpath (//, /*, parent,..etc) > for update document xml. > > I have an material of Kimbro Staken but not are > examples advanced.

Persist user «sessions» with cookie

2004-12-06 Thread Aurélien DEHAY
Hello. I'm wondering how to persist users informations. Not really the session (in the httpSession meaning, but only the authentication of the user). My main question is how to make that in the sitemap? The user will have a cookie, and the value of this cookie will be stored in the database. Wh

Re: datasource components in cocoon

2004-12-06 Thread Aurélien DEHAY
Anna Bikkina wrote: I am using datasources in cocoon. I define them in cocoon.xconf. Is there any API in cocoon from which I can get all the datasources defined in cocoon.xconf.I have to create a adminsitrative page where I have to display all datasources cocoon is configured to connect. Any help

Re: what does xsp page returns when inserting into database using esql

2004-12-10 Thread Aurélien DEHAY
Reuben Christie wrote: Hi i am learning xsp to do databse transactions. right now i m testing with insert into database.I am using esql logic sheet.now the question is How do i return an xml tag with just value 'true' when the insertion is succesful..currently the xsp doent return anything.the only

Re: Database in flow/problem with jxpath

2004-12-12 Thread Aurélien DEHAY
Laurent Perez wrote: -= #{login} =- -= #{id} =- try #{./login} and #{./id}, unless I misunderstand you :). Hi. I've tried this already, without success. Tryied with varStatus attribute to forEach, without any success. Keep trying and searching the net without any success yet. Rgds.

Problem with flows and integers

2004-12-16 Thread Aurélien DEHAY
Hello. Strange behaviour with flows, and VERY frustrating. I have a number (say, 1). In a flow function, I simply do var n = 1; I'd like to use the n value in a jxpath file. But in my jxpath file, The value is becomed 1.0. Not 1. It's not a problem with jx:number. But in my XSP file with jpath

Re: Problem with flows and integers

2004-12-16 Thread Aurélien DEHAY
Upayavira wrote: You could try var foo = new java.lang.Integer(xxx). Actually use a Java integer rather than a javascript object. Works fine, many thanks... Rgds. Regards, Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Database in flow/problem with jxpath

2004-12-12 Thread Aurélien DEHAY
Hello. I've got the following flow code: function modifierContenu() { var conn = Database.getConnection("llinfo"); var result = conn.query("SELECT * FROM people"); var record = result.rows; conn.close(); cocoon.sendPage("protected-test-2", {"record": record}); } I've got the fol

Re: Cocoon 2.1.6

2005-01-02 Thread Aurélien DEHAY
News Hunter wrote: Can i use cocoon 2.1.6 with jre1.5 and fresh install of tomcat 5.5.4? I do it every day, except I have the 1.5 jdk. Don't know about jre. Rgds. signature.asc Description: OpenPGP digital signature

Re: Cocoon 2.1.6

2005-01-02 Thread Aurélien DEHAY
Aurélien DEHAY wrote: News Hunter wrote: Can i use cocoon 2.1.6 with jre1.5 and fresh install of tomcat 5.5.4? I do it every day, except I have the 1.5 jdk. Don't know about jre. Rgds. Apologies, forgot to say I've built cocoon with a 1.4.2 JDK. signature.asc Description: OpenP

Re: Cocoon 2.1.6

2005-01-02 Thread Aurélien DEHAY
News Hunter wrote: my problem is to use cocoon 2.1.6 with tomcat. i can not use cocoon 2.1.6 with tomcat 5.5.4. http://ondolinde.dyndns.org:8080/cocoon http://ondolinde.dyndns.org:8080/ Cocoon 2.1.6 with Tomcat 5.5.4. I used a 1.4.2 JDK to compile cocoon, and a 1.5 to run tomcat. Rgds. signat

Re: Browser selection

2005-01-05 Thread Aurélien DEHAY
Le mercredi 05 janvier 2005 à 15:28 +0600, Adriano Smith a écrit : > Using browser selection , what types of browsers which can be detected Hello. Look at the sitemap.xmap root file, the list should be in. > ? > > Is it possible to detect XHTML and WML browsers? Rgds. ---

Re: Building a cocoon-based Wiki ?

2005-01-07 Thread Aurélien DEHAY
Hello. Le vendredi 07 janvier 2005 à 13:47 +, Upayavira a écrit : > http://cocoondev.org/daisy/ Seems to be rather complicated, with a separate Daisy server, for a simple wiki, isn't it? We're currently working on a little cocoon-based CMS, with a database backend, we're storing content in a

Weblog with Cocoon.

2005-01-17 Thread Aurélien DEHAY
Hello. I'm looking for a weblog tool running on Cocoon. I've found Cocoblog, but it seem rather dead. If someone knows/has such a tool, please let it know. Regards. -- Aurélien DEHAY - To unsubscribe, e-mail: [EMAIL

Re: Creative Ideas on How to Cache Pipelines Containing Non-Cacheable Generator?

2005-01-19 Thread Aurélien DEHAY
Hello. If you don't want to have a synchronous directory listing, you can use the cached:// protocol. Look at the cocoon.xconf about this cocoon pseudo protocol. I'm using this to handle caching on an heavy non-cachable page, it works fine. Regards. -

Session serialization

2005-01-20 Thread Aurélien DEHAY
Hello. I'm trying to serialize my sessions with the persistance manager of tomcat to not loose them between during a restart. I use session-context to store XML in my session and use a flowscript to handle my login logic (maybe it's not the sexyier way, but that's the way I do it). When I shut

Re: cocoon copy error

2005-01-22 Thread Aurélien DEHAY
Hello. Mygrp wrote: I have cocoon installed and running in one server. I recently copied all the files ie the cocoon directory to a new system. [snip] [0]=java.net.BindException: Permission denied [snip] why does this error occur ?? Aren't you trying to start your webapp server with a non-priviligi

Re: cocoon copy error

2005-01-22 Thread Aurélien DEHAY
Mygrp wrote: i was not root when i started it. But cocoon runs on port which is >1024, do i need to be rrot to start ?? No, but it seems there is a misconfiguration somewhere because something want to bind a privileged port. Check your configuration. Rgds. signature.asc Description: OpenPG

Re: form encoding and utf-8 problems

2005-01-23 Thread Aurélien DEHAY
Hello. Saulius Grigaliunas wrote: Hello there cocoon community, I've got some strange problems with form submiting and utf-8 encoding, so i'm trying to write something in utf-8 in my form ( try it yourself - http://dev.vzg.lt/Add/ ) and see what has been submited. After submit I get some strange an

Re: form encoding and utf-8 problems

2005-01-23 Thread Aurélien DEHAY
Saulius Grigaliunas wrote: Hello Aurélien, Look at the cocoon's web.xml in WEB-INF and uncomment the following part: form-encoding utf-8 and It should work. Rgds. Already done that, as I wrote in my first letter. Any other ideas? Maybe you can look at the encoding of xs

Re: form encoding and utf-8 problems

2005-01-23 Thread Aurélien DEHAY
Saulius Grigaliunas wrote: Hello Aurélien, Maybe you can look at the encoding of xsl file, or try with xalan. It was the only thing I change to make my forms utf-8 aware. Well thanks for your help, that didn't work, but I accidently found solution myself, in web.xml I've changed the configuration

Re: Unable to build the war file

2005-01-25 Thread Aurélien DEHAY
Hello. Sanket wrote: Hi, I am trying to build the cocoon.war file using the following command build -Dinclude.webapp.libs=yes -Dinstall.war="C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps" webapp I have JDK 1.4.2.04, cocoon 2.1.6 and tomcat 5.5 installed However after

Simple question about auth-fw

2005-02-09 Thread Aurélien DEHAY
Hello. Is is possible to auth-protect a pipeline with a specified role like this: So the pipeline would be accessible only for users with the specified role. Is it possible? Rgds. -- Aurélien DEHAY signature.asc Description: OpenPGP digital signature

Re: Simple question about auth-fw

2005-02-09 Thread Aurélien DEHAY
Antonio Gallardo wrote: On Mie, 9 de Febrero de 2005, 14:17, Aurélien DEHAY dijo: Hello. Is is possible to auth-protect a pipeline with a specified role like this: So the pipeline would be accessible only for users with the specified role. Is it possible? No. Too bad Rgds. -- Aurélien DEHAY

Re: Simple question about auth-fw

2005-02-09 Thread Aurélien DEHAY
Ralph Goers wrote: Aurélien DEHAY wrote: Antonio Gallardo wrote: [snip] Is it possible? No. Too bad Feel free to submit a patch I wish I could -- Aurélien DEHAY signature.asc Description: OpenPGP digital signature

Re: Simple question about auth-fw

2005-02-09 Thread Aurélien DEHAY
Antonio Gallardo wrote: On Mie, 9 de Febrero de 2005, 14:17, Aurélien DEHAY dijo: Hello. Is is possible to auth-protect a pipeline with a specified role like this: So the pipeline would be accessible only for users with the specified role. Is it possible? Two years ago I did some works

Cookie in flowscript: changing cookie attributes.

2005-02-11 Thread Aurélien DEHAY
Hello. I'm creating a cookie in flowscript like this: var machin = cocoon.response.createCookie("myotis",generateCookie()); How do I change the max age of this cookie? I've tried machin.setMaxAge() with no success. Rgds. -- Aurélien signature.asc Description: OpenPGP digital signature

Multivaluefield

2005-02-12 Thread Aurélien DEHAY
Hello. I'm using a multivaluefield with a fd:selection coming from a cocoon pipeline (making a database request). How can I make some of the options to be preselected when Cocoon display the form to the user? Rgds. -- Aurélien signature.asc Description: OpenPGP digital signature

Re: session context

2005-02-14 Thread Aurélien DEHAY
Hello. Ilja Smoli wrote: Thx for reply But as I understood authentication fw stores session object as xml and i can not get attributes using {session:} :( To retrieve these informations, you can: 1) use the session transformer before calling your xslt 2) or use map:parameter with the session-contex

Autologin & auth-fw

2005-02-17 Thread Aurélien DEHAY
Hello. I'm using auth-fw for user authentication. I'd like to autologin user who comming with a specific cookie. I supposed it is possible, but I don't how to do it, as I can't create authentication context from, for example, the session context transformer. I can store user/cookie pair in my S

Re: Autologin & auth-fw

2005-02-17 Thread Aurélien DEHAY
Christoph Hermann wrote: Aurélien DEHAY schrieb: Hello, I'm using auth-fw for user authentication. I'd like to autologin user who comming with a specific cookie. I supposed it is possible, but I don't how to do it, as I can't create authentication context from, for example,

Re: Autologin & auth-fw

2005-02-17 Thread Aurélien DEHAY
Christoph Hermann wrote: Aurélien DEHAY schrieb: [snip] Your authentication ressource checks the login. If cookie is set log the user in. Then you can easily access protected documents. In your case use your redirect-to to redirect him to a auth-by-cookie pipeline, authenticate the user there

Bug in SourceWritingTransformer.java ??

2005-02-20 Thread Aurélien DEHAY
someone knows about it? Should I create an account and fill a bug in nagoya? Rgds. I'm using cocoon2.1.6 with a genuine xalan 2.6 (not the cocoon.war one) -- Aurélien DEHAY signature.asc Description: OpenPGP digital signature

Re: XInclude and CInclude

2005-02-22 Thread Aurélien DEHAY
Hello. Schultz, Gary - COMM wrote: In Cocoon, can XInclude be used to reference an outside resource, that is a web address outside of the context of Cocoon? I've tried without success and don't see any Cocoon examples pertaining to this. The wiki hasn't been much help. I've looked at the CInclude e

Simple question about Quartz Scheduler.

2005-02-22 Thread Aurélien DEHAY
Hello. I'm using the embedded quart scheduler in my application. I wonder if it's possible to launch a task only once, at startup? Rgds. -- Aurélien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: Simple question about Quartz Scheduler.

2005-02-22 Thread Aurélien DEHAY
Leszek Gawron wrote: Aurélien DEHAY wrote: Hello. I'm using the embedded quart scheduler in my application. I wonder if it's possible to launch a task only once, at startup? I think not. Also you are not able to run the job in specified intervals - only cron syntax is supported. D

Re: XInclude and CInclude

2005-02-22 Thread Aurélien DEHAY
Schultz, Gary - COMM wrote: I have cinclude working to bring in external source. I now need to solve two more problems. Problem 1: I can bring in entire documents, but I cannot get specific element(s). I was getting empty element, but used the following found on the Cocoon wiki select="//*[local-

Re: XInclude and CInclude

2005-02-22 Thread Aurélien DEHAY
Hello http://apache.org/cocoon/include/1.0";> http://commerce.wi.gov/SB/SB-CodeCouncils02.xml"; select="(*//body/p[2])"/> I can't see any select attribute in the doc neither in the samples. Are you sure there is an select attribute to cinclude:include element? Problem 2 still not resolved. I tr

Re: Simple question about Quartz Scheduler.

2005-02-23 Thread Aurélien DEHAY
Hello Adam Walsh wrote: If you're wanting to do something at startup, one option would be to write an Avalon component that implements Configurable, although if you're not a Java developer that could be difficult... I've found a ugly solution for the moment: Lanching a task every minut, task cal

Re: Session variables and Wildcards

2005-02-23 Thread Aurélien DEHAY
Claus Straube wrote: Hello, Hello. I can’t reach the wildcard with {1}. I tried that with a hard coded role map:act add a level: try using {../1} like ‘xml/content/admin/{1}.xml’, but it didn’t work either. What have I to do, to reach the value of the wildcard matcher? Thanks and best rega

Re: writing PDF file to filesystem

2005-02-24 Thread Aurélien DEHAY
Hello Markus Vaterlaus wrote: Hello Alex, hi list, I had a similar problem. I had an application which contains a lot of xml files which are published in different channels like xml, html and pdf. I solved the problem by using a bit of UNIX scripting and wget. In cocoon I defined a couple of pages

Re: Jetty/Tomcat - NullPointerException in AbstractEnvironment.release

2005-03-23 Thread Aurélien DEHAY
Le mercredi 23 mars 2005 Ã 11:40 +0100, Geert Josten a Ãcrit : > Sounds like the cocoon:// path you provide is 'malfunctioning'. Could be that > it returns an empty > document or even fails? HTH > > Reading the comments on the bug, it doesn't actually seem solved, but merely > closed... Ok, ju

Re: Jetty/Tomcat - NullPointerException in AbstractEnvironment.release

2005-03-23 Thread Aurélien DEHAY
Well... Please just forget this mail. The build.sh doesn't clear the build/webapp/ directory, there was weird thing from my following tests. Will start from the beginning. -- AurÃlien. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Jetty/Tomcat - NullPointerException in AbstractEnvironment.release

2005-03-23 Thread Aurélien DEHAY
Le mercredi 23 mars 2005 Ã 12:07 +0100, AurÃlien DEHAY a Ãcrit : > Well... Please just forget this mail. The build.sh doesn't clear the > build/webapp/ directory, there was weird thing from my following tests. > Will start from the beginning. > Well, the sample build is working fine, but not my a

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

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. -- AurÃlien 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à ThÃnot 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,

Upload cforms wigdet and mime-types.

2005-03-30 Thread Aurélien DEHAY
Dear List. I have a simple form with an upload widget: DÃposer ce fichier: Vous devez choisir un fichier When I try on upload an file without extension, even if the file is an image/jpeg image, the validation failed with Âupload.invalid-type message. I didn't found anything in bug list

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

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. -- AurÃlien 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 : > AurÃlien 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

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 : > AurÃlien DEHAY wrote: > > Le mercredi 06 avril 2005 Ã 16:50 -0400, Gregor J. Rothfuss a Ãcrit : > > > >>AurÃlien DEHAY wrote: > >> > >>>Hello. > >>> > >>>I'd like to know if someone ever tried to compile cocoon with a > >>>non

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 ) I've wrote a f

Re:[SOLVED] Auth-fw and utf-8 logins

2005-04-09 Thread Aurélien DEHAY
Solved. Had to replace: String user=; by String user=new String(.getBytes("iso-8859-1"),"utf-8"); in my login.xsp. It seems like somewhere in the auth-fw the characters are being reencoded or something like that. -- AurÃlien DEHAY http://zorel.org http://logicielslibres.info signat

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

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 star

[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 (http://www.johncompagnies

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, AurÃlien 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

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 wa

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. -- AurÃlien DEHAY http://zore

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: 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 want i

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 = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(

Multiple Cocoon instances in tomcat.

2005-07-27 Thread Aurélien DEHAY
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. Is anyone else has ever experienced the same p

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

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: in the handler conf. The login-authenticate is: How can I retrieve the param

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: Mail and continuations

2005-08-05 Thread Aurélien DEHAY
Hello. Marc Salvetti wrote: I don't the answer to your question, but: isn't it dangerous, as the mail is asynchronous, to send a continuation in a mail? Are you sure the user will click on the link in a decent delay? Each continuation has a lifetime, and the user could click the link even if

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

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 somewha

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 PR

NPE with xmldb, resource & i18n

2005-08-28 Thread Aurélien DEHAY
Hello. Here is my pipeline: The xhtml-output resource:

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 prac

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 ne

i18n, date & binding framework.

2005-09-15 Thread Aurélien DEHAY
MM/dd/ in my form_binding.xml file, but the behaviour is really strange. I think I've missed something. Can someome give me the trick? Regards. -- Aurélien DEHAY - To unsubscribe, e-mail: [EMAIL PROTE

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

Re: i18n, date & binding framework.

2005-09-15 Thread Aurélien DEHAY
Thomas Lutz a écrit : > Aurélien DEHAY wrote: > >> Hi. >> >> Thomas Lutz a écrit : >> >> >>> What exactly does not work ? >>> >> >> >> The displayed date & the date in the input field are not consistant. >> &

Caching, auth-fw and invalidating a single entry

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

Re: Caching, auth-fw and invalidating a single entry

2005-09-29 Thread Aurélien DEHAY
Jason Johnston a écrit : > Aurélien DEHAY wrote: > >> Hello. >> >> I've got 2 simples questions about the caching in Cocoon: >> - Is the caching process aware of session > > > AFAIK none of the default sitemap components use the session when > com

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 o

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

Custom generator problem

2005-10-12 Thread Aurélien DEHAY
.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. Best Regards. -- Aurélien DEHAY - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 mecha

Writing my own generator.

2005-10-17 Thread Aurélien DEHAY
;, but the Composable 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

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 lifecycle

  1   2   >