highlighting with Lucene

2003-02-10 Thread Cyril Vidal
Hi, I have a question about using highlighting with Lucene. What I only want to do: start from an xml document, by example: flower This is a beautiful yellow flower /flower that I have first indexed in Lucene's index. And when making a query such : flower:yellow get an XML document from the

variable i not found in XSP!

2003-02-06 Thread Cyril Vidal
Hi, Since yesterday, I'm still stuck on the following problem: I can't list the items contained in a session's attribute of type Vector: Always the same following error is thrown: Line 236, column 59: variable i not found in class org.apache.cocoon.www.mount.essai.session3_xsp Below is my code:

Re: variable i not found in XSP!

2003-02-06 Thread Cyril Vidal
Thanks for your help Chris! It's working fine now! Cyril. On 06.Feb.2003 -- 05:09 PM, Cyril Vidal wrote: Hi, Since yesterday, I'm still stuck on the following problem: I can't list the items contained in a session's attribute of type Vector: Always the same following error is thrown

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
does it for you. Roman -Original Message- From: Cyril Vidal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Re: xsp session logicsheet Thanks for you response. hum, I guess actions are still a little bit too complex for me

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
Hello Christian, Thanks again for your help and your availibility. Of course, I meant Session logicsheet and not ESQL one...Sorry... I've tried to launch the code you've suggested: ?xml version=1.0? xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:xsp-session=http://apache.org/xsp/session/2.0;

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 3:19 PM Subject: Re: xsp session logicsheet On 05.Feb.2003 -- 02:56 PM, Cyril Vidal wrote: Hello Christian, Thanks again for your help and your availibility. Of course, I meant Session logicsheet and not ESQL one...Sorry

Re: xsp session logicsheet

2003-02-05 Thread Cyril Vidal
/ /html /xsp:page Roman -Original Message- From: Cyril Vidal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 1:53 PM To: [EMAIL PROTECTED] Subject: Re: xsp session logicsheet Hi Roman, Indeed I've done this: ?xml version=1.0? xsp:page xmlns:xsp=http

xsp session

2003-02-04 Thread Cyril Vidal
Hi, I would like to deal with session through xsp, and serve as far as possible the same goal as with the following servlet: e.g put all the parameters named 'item' in the object of type Vector 'items' bound to the current session, so that it would be possible to list at any time all of the items

How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Cyril Vidal
Hello, I would like to retrieve the language of the user's browser, so that I could call the I18n Trasnformer in the right way (by passing the locales's value equal to the browser's language). To retrieve the language set up in the browser, I've used the Request Generator, and applied the

Re: How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Cyril Vidal
in another pipeline? From: Cyril Vidal [EMAIL PROTECTED] Hello, I would like to retrieve the language of the user's browser, so that I could call the I18n Trasnformer in the right way (by passing the locales's value equal to the browser's language). Simply use the LocaleAction

Re: How can the result of a pipeline be a parameter for a transformation in another pipeline?

2003-01-31 Thread Cyril Vidal
, Regards, Cyril. - Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 31, 2003 4:23 PM Subject: Re: How can the result of a pipeline be a parameter for a transformation in another pipeline? On 31.Jan.2003 -- 04:07 PM, Cyril Vidal

i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
Hi, If some of you would have some tips for these two questions, I would be very grateful: 1°) Under Cocoon 2.0.4 and Windows 2000: I use a i18n Transformer (with french and english dictionnaries), and all's working fine with elements' translation. But not for attributes. I have basicaly a HTML

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
But unfortunately (I've stopped and restarded Tomcat), I always have the same french message on the button, even when I ask for the english version! Did I still make something wrong? Regards, Cyril. Hello Cyril, Cyril Vidal wrote: Hi, If some of you would have some tips for these two

Re: i18n translation with attributes: 2 questions

2003-01-30 Thread Cyril Vidal
processings like document.form[0].elements[name of the form element]. Regards, Joerg Cyril Vidal wrote: Hello Joerg, Thank you very much for your response. I think I've done what you told me. in my stylesheet: input type=submit name=submit i18n:attr=name/ and in my dictionaries

Re: i18n + XSLT transformation

2003-01-30 Thread Cyril Vidal
, found this message just now (I still have nearly 500 unread Cocoon messages since the weekend). Did you solve the problem? The sitemap looks ok, maybe the namespace declaration in the XSLT is wrong? Joerg Cyril Vidal wrote: Hi, Just to go more deeply into Cocoon's comprehension, I've

i18n + XSLT transformation

2003-01-26 Thread Cyril Vidal
Hi, Just to go more deeply into Cocoon's comprehension, I've yesterday built a little example with the load of two differents stylesheets (participantsFR.xsl and participantsEN.xsl) depending of the value of a parameter passed in HTTP Request, and with the help of this mailing-list, I've achieved

simple question about RequestSelector

2003-01-25 Thread Cyril Vidal
Dear all, I would like to process an URI of the following type: http://localhost:8080/cocoon/hellococoon?langue=anglaiscritere=organisme The first parameter's role is to select a specified stylesheet: langue=anglais - select participantsEN.xslt langue=francais - select participantsFR.xslt while

Re: simple question about RequestSelector

2003-01-25 Thread Cyril Vidal
Hi Christian, Thanks again very much for your help. I've tested what you suggested me (a good idea...) and it works fine: But, as I read in Cocoon center's lesson about request parameter: Some advantages of RequestSelector over a RequestParamAction are that you can use a default

Re: simple question about RequestSelector

2003-01-25 Thread Cyril Vidal
there is such a fallback operation in the input modules too? Regards, Joerg Cyril Vidal wrote: Hi Christian, Thanks again very much for your help. I've tested what you suggested me (a good idea...) and it works fine: But, as I read in Cocoon center's lesson about request parameter: Some

using RequestSelector + stylesheet parameter

2003-01-24 Thread Cyril Vidal
Hi, I would like to use two different stylesheets depending of the value of the parameter 'langue' passed in HTTP Request. In this aim, I use a RequestSelector, and this works well: map:match pattern=* map:generate src=documents/participants.xml/ map:select type=request map:parameter

error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
Hi, I'm sorry if this question has already been asked before. I've checked out in the archives, but these seem to be available for the moment... I'm under Windows 2000, j2sdk1.4.1, and Cocoon 2.0.4 I just would like to perform an XSLT transformation. In this aim, I use the very simple

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
=.//a/xsl:template Cyril.- Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 6:17 PM Subject: Re: error:use Xalan in incremental processing mode On 23.Jan.2003 -- 06:02 PM, Cyril Vidal wrote: Hi, I'm sorry if this question has already

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
: Thursday, January 23, 2003 6:45 PM Subject: Re: error:use Xalan in incremental processing mode On 23.Jan.2003 -- 06:38 PM, Cyril Vidal wrote: Hi Chrisitian Thanks for your answer. My default generator was the 'file' one. that does not make sense (at least to me): map:generator

Re: error:use Xalan in incremental processing mode

2003-01-23 Thread Cyril Vidal
, Cyril Vidal wrote: In the console, I've got the following: Errors in XSLT Transformation: Warning: File jar:file:/C:/tomcat/webapps/cocoon/WEB-INF/lib/Cocoon-2.0.4.jar/org/apache/c ocoon/components/language/markup/sitemap/java/sitemap.xsl; Line1817; Column34; Sitemap pipeline must have

Re: xsp + parameters:it's OK

2002-12-31 Thread cyril vidal
Hi, Thanks for your response. It runs well now. I've just changed the type of the returned value in public static String get_fac(String number) to public static long get_fac(String number) because it returns a long value. Regards, Cyril. ___ Cyril Vidal Email: [EMAIL

xsp + parameters

2002-12-30 Thread cyril vidal
Hi, I would like to calculate the factorial of a number via XSP. The number should be transmitted as a parameter via HTTP. The code I've got for this purpose is the following: it retrieves the parameter 'number' and defines a fac method, that calculates the factorial of its formal

Re: pb with http request

2002-08-03 Thread Cyril Vidal
-prolog-dtd. Watch for case-sensitivity too. Have a look in all the related files to fix the bug. cyril vidal wrote: Hy, I just was trying to run the example wrotten by Steve Punk in Getting started with Cocoon 2 http://www.xml.com/lpt/a/2002/07/10/cocoon2.html More precisely, the last

Re: pb with http request

2002-07-31 Thread cyril vidal
/REC-xml#sec-prolog-dtd. Watch for case-sensitivity too. Have a look in all the related files to fix the bug. cyril vidal wrote: Hy, I just was trying to run the example wrotten by Steve Punk in Getting started with Cocoon 2 http://www.xml.com/lpt/a/2002/07/10/cocoon2.html More

xsp problem

2002-07-31 Thread cyril vidal
hy, In the last message, I've asked a question about a small factorial program, dynamically written with a recursive XSLT named-template call and getting a parameter via HTTP request. xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

pb with http request

2002-07-30 Thread cyril vidal
Hy, I just was trying to run the example wrotten by Steve Punk in "Getting started with Cocoon 2" http://www.xml.com/lpt/a/2002/07/10/cocoon2.html More precisely, the last example that calculates a factorial from a numeric value submitted via HTTP POST. Here's the sitemap: map:sitemap

Cocoon 2 + Access:it runs now well!!!

2002-05-16 Thread cyril vidal
- Original Message - From: cyril vidal [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, May 16, 2002 5:17 PM Subject: Re: Cocoon 2 + Access:it runs now well!!! Hy Christopher! Thanks for your help!!! The was indeed the origin of my problem... Without code

Re: Cocoon 2 + Access:it runs now well!!!

2002-05-16 Thread cyril vidal
! There's even an ODBC driver for it, so you could set an ODNC datasource and look at it through access. -Original Message- From: cyril vidal [mailto:[EMAIL PROTECTED]] Sent: 16 May 2002 00:20 To: [EMAIL PROTECTED] Subject: Re: Cocoon 2 + Access Hi Perry, I've tried with // instead

Re: Cocoon 2 + Access

2002-05-16 Thread cyril vidal
, TOMCAT\webapps\cocoon\web-inf\logs to see what problems are occuring, if any! Also enable tracing in the ODBC data source manager to see if your queries are being passed to ODBC. Perry -Original Message- *From:* cyril vidal [mailto:[EMAIL PROTECTED]] *Sent

Cocoon 2 + Access

2002-05-15 Thread cyril vidal
Hy! I would like to knowif it is an obligation to use ESQL and the connection pool provided by Cocoon2 to connect to a database. By example, isn't it possible just to write the following code, by which a simply connection should be executed with the 'logs' database? I've tried it and it

Re: Cocoon 2 + Access

2002-05-15 Thread cyril vidal
ike this occur, and ESQL would provide that. Anyway, the only obvious thing that I can see, is to put\\'s in your connection string, e.g: ("jdbc:odbc:localhost:8080/c:\\Mes_documents\\JAVA\\JDBC\\logs"); Also turn on ODBC tracing and see if any other information is lo

Re: Problems with XSP

2002-04-25 Thread cyril vidal
ind compteur_xsp.java? Or also compteur_xsp.class? Regards Edgar -Oorspronkelijk bericht-Van: cyril vidal [mailto:[EMAIL PROTECTED]]Verzonden: dinsdag 23 april 2002 21:55Aan: [EMAIL PROTECTED]Onderwerp: Problems with XSP HY! Iwould liketo execute

Re: Problems with XSP

2002-04-25 Thread cyril vidal
Thanks Vadim! It's now OK... - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 25, 2002 11:14 PM Subject: RE: Problems with XSP From: cyril vidal [mailto:[EMAIL PROTECTED]] I've put away the language attribute on the namespace

Problems with XSP

2002-04-23 Thread cyril vidal
HY! Iwould liketo execute a very simple XSP sample. Here is my sitemap: map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0" map:components map:generators default="file" map:generator name="file" src="org.apache.cocoon.generation.FileGenerator"/ map:generator name="serverpages"

fo2pdf serializer

2002-04-02 Thread cyril vidal
Good evening, I've got problems with transforming an xml document (CinemaFO.xml) into a pdf one (CinemaFO.pdf) via an xslt transformation (CinemaFO.xsl). I'm sure CinemaFO.xml and Cinema.xsl are valid because I've tested them by command line with fop 0.20.3 To test my samples with Cocoon2,

Re: fo2pdf serializer

2002-04-02 Thread cyril vidal
) - - Original Message - From: cyril vidal To: [EMAIL PROTECTED] Sent: Tuesday, April 02, 2002 8:16 PM Subject: fo2pdf serializer Good evening, I've got problems with transforming an xml document (CinemaFO.xml) into a pdf

Re: fo2pdf serializer

2002-04-02 Thread cyril vidal
0.20.3rc with the latest version 0.20.3 ) and everything was running again ! On Tue, 2 Apr 2002, cyril vidal wrote: Good evening, I've got problems with transforming an xml document (CinemaFO.xml) into a pdf one (CinemaFO.pdf) via an xslt transformation (CinemaFO.xsl). I'm sure

sitemap_xmap.java cut!

2002-03-19 Thread cyril vidal
Hi, Some of you would know why my file sitemap_xmap.java is cut up (after generator method instruction) and so why I can't absolutly not transform my xml document as I would like to? I've installed binary version of Cocoon2.0.1 with Tomcat 4.0.1 on Windows Me Thanks for your answers.

Re: sitemap_xmap.java cut!

2002-03-19 Thread cyril vidal
, 2002 1:42 PM Subject: Re: sitemap_xmap.java cut! Cyril, I've found the reason - error in your sitemap: map:tranform src=transforms/tri.xsl/ - tranform instead of transform. Best regards Roman cyril vidal wrote: Hi, Some of you would know why my file sitemap_xmap.java

Re: sitemap_xmap.java cut!

2002-03-19 Thread cyril vidal
to write: map:transform src=transforms/tri.xsl/ instead of map:tranform src=transforms/tri.xsl/ Roman cyril vidal wrote: Roman, Sorry for still disturbing you. But I don't understand what I have to write instead of: map:tranform src=transforms/tri.xsl/ Is this instruction

XML Declaration

2002-03-19 Thread cyril vidal
Ihope one day I willsucceed in transforming XML-PDF with Cocoon... After the "tranform" corrected, I now obtain the following message: message Exception in creating Transform Handler description org.apache.cocoon.ProcessingException: Exception in creating Transform Handler:

error-compling sitemap_xmap

2002-03-18 Thread cyril vidal
Hello, When I want to transform some documents (it doesn't happen with serving static documents), Iobtain a strange error message type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception:

Re: error-compling sitemap_xmap

2002-03-18 Thread cyril vidal
org/apache/cocoon/www/sitemap_xmap.java). John -Original Message-From: cyril vidal [mailto:[EMAIL PROTECTED]]Sent: Monday, March 18, 2002 11:05 AMTo: [EMAIL PROTECTED]Subject: error-compling sitemap_xmap Hello, When I want to transform some documents (

Re: Transformation XML-PDF

2002-03-17 Thread cyril vidal
for your answers, Cyril. - Original Message - From: cyril vidal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 16, 2002 7:12 PM Subject: Transformation XML-PDF Hello, I would like to transform an XML Document with Cocoon in a PDF one. I think my two files sonnet.xml

Transformation XML-PDF

2002-03-16 Thread cyril vidal
Hello, I would like to transform an XML Document with Cocoon in a PDF one. I think my two files sonnet.xml and sonnet.fo.xsl are correct (I've got them from a tutorial) I've created the directory PDFDemo in tomcat/webapps and put my two files in this directory (PDFDemo). But when I want to look

Re: Installation Cocoon 2.0.1

2002-03-15 Thread cyril vidal
. Build Cocoon: build -Dinclude.webapp.libs=yes webapp May you still once help me? Thanks a lot, Cyril - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 8:57 PM Subject: RE: Installation Cocoon 2.0.1 From: cyril vidal

No more problem with Cocoon

2002-03-15 Thread cyril vidal
Vadim, With Tomcat 4.0.1, all is OK!!! Thanks a lot for having helped me. Next time, I will use the right version... Cyril - Original Message - From: cyril vidal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 15, 2002 8:27 PM Subject: Re: Installation Cocoon 2.0.1

Installation Cocoon 2.0.1

2002-03-14 Thread cyril vidal
Hello! I'm trying to install Cocoon 2.0.1 with the servlet engine Tomcat 4.0.3 on Windows Millenium, but it doesn't work. This is what I've done: a) I've downloaded Cocoon on c:\cocoon (Tomcat is on c:/tomcat) b) I've copied the file c:\cocoon\cocoon.war on c:\tomcat\webapps c) I've run

Re: Installation Cocoon 2.0.1

2002-03-14 Thread cyril vidal
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 6:32 PM Subject: RE: Installation Cocoon 2.0.1 Read http://marc.theaimsgroup.com/?t=10150987843r=1w=2 Vadim -Original Message- From: cyril vidal [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 12:11 PM

Re: Installation Cocoon 2.0.1

2002-03-14 Thread cyril vidal
: cyril vidal [mailto:[EMAIL PROTECTED]] Vadim, thanks for the tip. I've read your tutorial. Bu I don't find the cocoon directory you're talking about in step 2 : xml-cocoon2\lib\core -:(. Could you please tell me how to see it? I apologize for these really basics questions