Upload troubles....

2002-10-08 Thread Ganael LAPLANCHE
Hi all ! I've got a little problem with cocoon upload... My project has to unzip a file once it's been uploaded, this is done with an xsp page. My problem is the file doesn't exist (nearly each time I upload a file) when the code is executed ! (the file.exists() java method returns false) I

Re: Upload troubles....

2002-10-08 Thread Ganael LAPLANCHE
Nobody can help me ? - Original Message - From: Ganael LAPLANCHE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 9:58 AM Subject: Upload troubles Hi all ! I've got a little problem with cocoon upload... My project has to unzip a file once it's been

Can't display images

2002-10-07 Thread Ganael LAPLANCHE
Hi ! I've got a very stupid problem... If I insert an image link in an XML page, it isn't displayed at all... Here is my sitemap code... map:pipeline map:match pattern=test.html map:generate src=docs/test.xml type=serverpages/ map:transform

Re: Can't display images

2002-10-07 Thread Ganael LAPLANCHE
-Original Message- From: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: Can't display images Hi ! I've got a very stupid problem... If I insert an image link in an XML page, it isn't displayed at all

Upload bug ?

2002-10-07 Thread Ganael LAPLANCHE
Hi all ! I've got a little problem with cocoon upload... My project has to unzip a file once it's been uploaded, this is done with an xsp page. My problem is the file doesn't exist (nearly each time I upload a file) when the code is executed ! The file.exists() java method returns false... I

How to test a parameter in the sitemap ?

2002-10-01 Thread Ganael LAPLANCHE
Hi all, How would you test an URL parameter (e.g. http://foo.com:8080/myfile.xml?bar=hello) in the sitemap ? How can I retreive 'hello' from the URL ? Sorry for this stupid question, this must be very simple... Gan. - Please

Generating pdf

2002-10-01 Thread Ganael LAPLANCHE
Hi :) I saw Fop was able to generate Pdf from xml/xsl inputs in command line. How can I use fop in the sitemap to do this ? I've got a stylesheet that produces html. Do I have to start from the xml file, or from the html one using another xsl ? I would like not to use an xml-fo or html-fo

Re: Using frames ?

2002-09-26 Thread Ganael LAPLANCHE
://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 12:14 PM To: [EMAIL PROTECTED] Subject: Using frames ? Hello folks :) How could I recompose

Transforming question

2002-09-25 Thread Ganael LAPLANCHE
Hi all, I am modifying a web site that used php/saxon calls to generate html, to be presented via cocoon instead. The web site was using an xsl page that produced 5html documents from a single xml one (the htmlgenerated is the TOC, the frames, etc...). The user could view the page by

Transforming question

2002-09-25 Thread Ganael LAPLANCHE
Hi all, I am modifying a web site that used php/saxon calls to generate html, to be presented via cocoon instead. The web site was using an xsl page that produced 5html documents from a single xml one (the htmlgenerated is the TOC, the frames, etc...). The user could view the page by

XSL troubles

2002-09-18 Thread Ganael LAPLANCHE
Hi ! I'm new to cocoon. I'm trying to use an xsl page to allow users to view the xml one... I modified the sitemap to use the dynamic-page2html.xsl. It works. But when I try to use another xsl page, I get this error : *** type fatal

Re: XSL troubles

2002-09-18 Thread Ganael LAPLANCHE
wrote: Please provide your xsl code... Hm. Why do you think the problem is in XSL and not in UMLV-2002-01-XML.xml? Seems like he has invalid processing instruction name in there. Vadim - Original Message - From: Ganael LAPLANCHE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: XSL troubles

2002-09-18 Thread Ganael LAPLANCHE
Thank you very much :) But I don't understand why it doesn't work... - Original Message - From: Ilya A. Kriveshko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 3:01 PM Subject: Re: XSL troubles Ganael LAPLANCHE wrote: Hi Vadim, I've got a very

Re: XSL troubles

2002-09-18 Thread Ganael LAPLANCHE
Many thanks Vadim :) - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 3:38 PM Subject: Re: XSL troubles Vadim Gritsenko wrote: Ganael LAPLANCHE wrote: Hi Vadim, I've got a very stupid question : what

Need help with LuceneXMLIndexer

2002-09-09 Thread Ganael LAPLANCHE
Hi !I'd like to use this cocoon class to index XML pages...Where could I find examples of codes using this class ?Has anyone ever tried it ?Thank you,Gan.

Re: Link creation problem

2002-09-06 Thread Ganael LAPLANCHE
This worked fine... Thank you :) - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 06, 2002 12:04 PM Subject: Re: Link creation problem try using xsp:attributexsp:logicString my_link=//do your logic to generate the

if not working

2002-09-05 Thread Ganael LAPLANCHE
Hi all, I'm trying to test the value of a hidden parameter sent via an htmlform... Here is the test : xsp:logic if(xsp-request:get-parameter name="todo"/=="search") { xsp:contentThat's ok !/xsp:content } xsp:logic The test never returns true... What's wrong ??? Thank you, Gan.

Re: if not working

2002-09-05 Thread Ganael LAPLANCHE
-Original Message-From: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]]Sent: Thursday, 5 September 2002 11:49 PMTo: [EMAIL PROTECTED]Subject: "if" not working Hi all, I'm trying to test the value of a hidden parameter sent via an ht

Re: if not working

2002-09-05 Thread Ganael LAPLANCHE
comparison -Original Message- From: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 September 2002 11:49 PM To: [EMAIL PROTECTED] Subject: if not working Hi all, I'm trying to test the value of a hidden parameter sent via an html

Re: REPOST: Uploaded file name problem

2002-09-05 Thread Ganael LAPLANCHE
does it work perfectly :-( in the Cocoon default webapp? May anyone please help us? L. -Messaggio originale- Da: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]] Inviato: venerdì 30 agosto 2002 9.58 A: [EMAIL PROTECTED] Oggetto: Re: REPOST: Uploaded file name problem Hi ! I had exactly

Re: Upload problem :( Windows related (again...)

2002-09-05 Thread Ganael LAPLANCHE
resolved the existing FileUpload Action. I will post it in a new Mail, so anybody can test it. -Original Message-From: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 5:48 PMTo: [EMAIL PROTECTED]Subject: Upload problem :( Windows

Can't run commands from exec()

2002-09-03 Thread Ganael LAPLANCHE
Hi ! I would like to execute some commands with exec(). But some work,some won't. Commands like mv, touch,unzip, zip, rm are OK and work perfectly well. But I'd like to call a java application (Saxon),and it doesn't work (java -jar /usr/local/saxon/saxon.jar ...). I've tried exactly the

Re: REPOST: Uploaded file name problem

2002-08-30 Thread Ganael LAPLANCHE
Hi ! I had exactly the same problem... But It happens only when you upload files from a Windows environment... I posted a message and someone told me It was a bug in cocoon... Sorry... Gan. - Original Message - From: Lorenzo De Sio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday,

Upload problem :( Windows related (again...)

2002-08-27 Thread Ganael LAPLANCHE
Hi ! I'm trying to upload files tothe cocoonupload directory (on a LINUX machine)... It works... BUT, It works correctly if I upload a file from a UNIX machine... The file is stored with its "small" file name (not with the whole path, which is OK). If I upload a file from a zindoz machine,

Re: Followup to Mysterious IllegalStateException thrown when I try to index files

2002-08-27 Thread Ganael LAPLANCHE
Hi ! Maybe try to configure your OS ;-) See : http://www.patoche.org/LTT/kernel/0128.html Greetings, Gan. - Original Message - From: icewind [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 5:51 PM Subject: Followup to Mysterious IllegalStateException thrown

Try-catch error

2002-08-26 Thread Ganael LAPLANCHE
Hi ! I'm trying to include a very basic XSP part to my pages, but if I insert a try-catch, I get this error message : type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException:

How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Ganael LAPLANCHE
Hi ! I'd like to acces an URL variable in an xsp:logic area ??? I call my page with : http:///foo.xml?bar=hello and would like to get the value of bar into a string element to re-use it. How would you do that ? Must be simple... but I'm a newbie... :) Thank you, Ganael.

Re: How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Ganael LAPLANCHE
Message - From: Ganael LAPLANCHE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 26, 2002 4:03 PM Subject: How to get URL parameters in an xsp:logic area ? Hi ! I'd like to acces an URL variable in an xsp:logic area ??? I call my page with : http:///foo.xml?bar=hello

Re: How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Ganael LAPLANCHE
do this... Try submitting the GET parameter as a hidden param in the form.. input type=hidden name=bar value=foo/ (or did i misunderstand you?) greetings mike - Original Message - From: Ganael LAPLANCHE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 26, 2002 5:05

How to execute a command line ?

2002-08-22 Thread Ganael LAPLANCHE
Hi everybody ! I'm new to cocoon, so I'm a bit lost :) I'd like to add logic code to unzip a filethat hasjust been uploaded through a form. How would you do that ? Should I use actions ? Should I use Java orXSP to execute an unzip command... ? This must be a very stupid question... I know,