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
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:
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
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
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;
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
/
/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
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
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
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
,
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
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
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
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
,
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
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
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
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
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
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
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
=.//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
: 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
, 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
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
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
-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
/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
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"
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
- 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
!
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
,
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
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
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
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
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
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"
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,
)
-
- 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
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
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.
, 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
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
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:
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:
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 (
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
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
. 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
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
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
[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
: 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
54 matches
Mail list logo