Hi,
I have a question about using highlighting with Lucene.
What I only want to do:
start from an xml document, by example:
This is a beautiful yellow flower
that I have first indexed in Lucene's index.
And when making a query such : flower:yellow
get an XML document from the following form:
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 attribut
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:
code
>
> try {
>// Cart items are maintained in the session object.
> Vector items = (Vector)session.getAttribute("cart.items");
> if (items == null) { items = new Vector(10,5);}
>
>String item = req.getParameter("item");
>
ards,
Cyril
- Original Message -
From: "Christian Haul" <[EMAIL 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,
> >
&g
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:
http://apache.org/xsp";
xmlns:xsp-session="http://apache.org/xsp/session/2.0";
xmlns:xsp-request="http://apache.
enerated code.
> Basically you should see a java variable (object) named "session", with it
> you can do what you want. No need to declare it, cocoon does it for you.
> Roman
>
> -Original Message-
> From: Cyril Vidal [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday
Thanks for you response.
hum, I guess actions are still a little bit too complex for me, regarding my
knowledge of Cocoon...
Isn't it really possible to add merely values to the same session's
attribute with the ESQL logicsheet? It sounds odd...
Cyril.
> Hi Cyril
> Why don't use an action, I
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
"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 wrote:
> > Hello,
>
peline be a parameter for a
transformation 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
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 followi
ust 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 Coco
resting for DOM 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.
>
age 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 questions, I would be
very
> > grateful:
>
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
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
t;
>
>
>
>
>
>
> Replacing YOURDEFAULTLANGUAGE with EN or FR you can choose the default
> language of the application. And the above stylesheet is really not
> difficult to maintain.
>
> But maybe there is such a fallback operation in the input modules too?
>
&g
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 stylesh
Dear all,
I would like to process an URI of the following type:
http://localhost:8080/cocoon/hellococoon?langue=anglais&critere=organisme
The first parameter's role is to select a specified stylesheet:
langue=anglais -> select participantsEN.xslt
langue=francais -> select participantsFR.xslt
whi
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:
But I would like also to pass another parameter 'tri ' to the selectionned
> On 23.Jan.2003 -- 07:08 PM, 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
MAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 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 de
/images/.gifEmail : mailto:
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 wr
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 sitemap.xma
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: [
Hi,
Thanks for your response. When I do the following:
>
> Try something like:
>
> result: fac( name="number" default="0"/>)
>
I obtain such an error message:
description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error c
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 parame
e form as at
> http://www.w3.org/TR/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
&
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.
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:http="http://xml.apache.org/cocoon/requestgene
n front
> > of the XML declaration and it has to be in the form as at
> > http://www.w3.org/TR/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,
> >
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:
http://ap
urce manager to create a data source, 'logs'
that
> > refers to your access database 'C:\JAVA\JDBC\logs.mdb'.
> >
> > When you execute, check the cocoon logs,
> > TOMCAT\webapps\cocoon\web-inf\logs to see what problems are occuring,
> > if any! Also
;
>
>
>
>
>
>
>
>
>
>
>
>
>
> BUT I agree with others, you're probably safer using MySQL. It's free too!
> There's even an ODBC driver for it, so you could set an ODNC datasource
and
> look at it t
- 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
Also
turn on ODBC tracing and see if any other information is logged, to help you
resolve the problem.
Perry
-Original Message-From: cyril vidal
[mailto:[EMAIL PROTECTED]]Sent: Thursday, 16 May 2002
8:18To: [EMAIL PROTECTED]Subject: Cocoon 2 +
Access
Hy!
I would like to
know if 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
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'
ompteur. Do you only find
compteur_xsp.java? Or also compteur_xsp.class?
Regards
Edgar
-Oorspronkelijk bericht-
Van: cyril vidal [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 23 april 2002 21:55
Aan: [EMAIL PROTECTED]
Onderwerp: Problems with XSP
HY!
I would like to exe
our
XSP was not compiled because it contains some error. Then you don't have a
class and get a ClassNotFoundException.
Search in the Tomcat work directory for compteur. Do
you only find compteur_xsp.java? Or also
compteur_xsp.class?
Regards
Edgar
-
HY!
I would like to execute a
very simple XSP sample. Here is my sitemap:
http://apache.org/cocoon/sitemap/1.0">
Unfortunately
gt; Within cocoon it gave some errors and produced no output.
>
> I changed the fop jar from cocoon (version 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,
> >
> >
ripta manent -
>(discussions get forgotten, just code remains)
> -----
>
> - Original Message -
> From: cyril vidal
> To: [EMAIL PROTECTED]
> Sent: Tuesday, April 02, 2002 8:16 PM
> Subject: fo2
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
: <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 4:40 PM
Subject: Re: XML Declaration
> On Tuesday 19 March 2002 16:25, cyril vidal wrote:
> > Exception in creating Transform Handler
>
> Usually means an error in your XSLT transform.
>
> Locating such problems
I hope one day I
will succeed 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: org.xml.sa
missed "s" in "transform" word. You have to write:
>
> instead of
>
>
> Roman
>
> cyril vidal wrote:
>
> > Roman,
> >
> > Sorry for still disturbing you.
> > But I don't understand what I have to write instead of:
&g
9, 2002 1:42 PM
Subject: Re: sitemap_xmap.java cut!
> Cyril,
>
> I've found the reason - error in your sitemap:
>
> - tranform instead of transform.
>
> Best regards
> Roman
>
>
> cyril vidal wrote:
>
> > Hi, Some of you would know why my fil
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.
Cyri
or something like
cocoon/cocoon-files/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,
Hello,
When I want to transform some
documents (it doesn't happen with serving static documents), I obtain a
strange error message
type
fatal
message
Language Exception
description org.apache.cocoon.ProcessingException:
Language Exception: org.apache.cocoon.components.language.Language
Will it run after this?
Thanks 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 X
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 t
Vadim,
All it's OK with Tomcat 4.0.1.
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
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: Ins
8:57 PM
Subject: RE: Installation Cocoon 2.0.1
> > From: cyril vidal [mailto:[EMAIL PROTECTED]]
> >
> > Vadim,
> >
> > Actually, i've downloaded the Cocoon 2.0.1 binary version.
> > Can't it really don't work by this way?
>
> Steps were written
ubject: RE: Installation Cocoon 2.0.1
> > From: 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
--
From: "Vadim Gritsenko" <[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=10150987843&r=1&w=2
Vadim
-Original Message-
From: cyril vidal [mailto:[EMA
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 To
59 matches
Mail list logo