Re: About Java and XML

2003-12-06 Thread Josep Riudavets
Hi Tony But I need some Java code for insterting it into a xsp. Thanks ... - Original Message - From: Tony Collen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 05, 2003 8:03 PM Subject: Re: About Java and XML Josep Riudavets wrote: Hi all

About Java and XML

2003-12-05 Thread Josep Riudavets
Hi all ... it is not a really cocoon question ... but I think you will know how to solve it It's very very simple ... but I have been trying to solve it all day... I have and XML document, called "cad.xml" cad ... nserie34242342/nserie ... /cad I want to develop some java code, for

Re: Insert an image

2003-12-02 Thread Josep Riudavets
/xsl:stylesheet David -Mensaje original- De: Josep Riudavets [mailto:[EMAIL PROTECTED] Enviado el: lunes, 01 de diciembre de 2003 17:37 Para: [EMAIL PROTECTED] Asunto: Re: Insert an image And ... what about the source? Could you post it? David ... I need the code in order

Insert an image

2003-12-01 Thread Josep Riudavets
Hi all ... How can I do for inserting an image into an XSL stylesheet??? Thanks all

Re: Insert an image

2003-12-01 Thread Josep Riudavets
through SVG? David -Mensaje original-De: Josep Riudavets [mailto:[EMAIL PROTECTED]Enviado el: lunes, 01 de diciembre de 2003 16:25Para: [EMAIL PROTECTED]Asunto: Insert an image Hi all ... How can I do for inserting an image into an XSL stylesheet

Re: Insert an image

2003-12-01 Thread Josep Riudavets
an image for example ... td class= vAlign=top align=left IMG xsl:attribute name=srcxsl:value-of select=@img//xsl:attribute /IMG /td ... -- stavros On Mon, 1 Dec 2003, Josep Riudavets wrote: Hi all ... How can I do for inserting an image into an XSL stylesheet??? Thanks all

Fw: Uploading files with Cocoon 2.1 (one more)

2003-11-27 Thread Josep Riudavets
Hi all ... Geoff... thanks for your help all these days, and for your interest about my problems for uploading files in Cocoon 2.1. Steven ... thanks for posting your upload action. It's very important to colaborate in this way, sharing the knowledges we have. About your upload action, I think

Re: Uploading files with Cocoon 2.1 (one more)

2003-11-25 Thread Josep Riudavets
PROTECTED] Sent: Tuesday, November 25, 2003 5:57 PM Subject: Re: Uploading files with Cocoon 2.1 (one more) Josep Riudavets wrote: If you still have a problem please post the logfile output for the success case and the error case with logging set to DEBUG. mmm ... where is the debug file? I

Re: Uploading files with Cocoon 2.1 (one more)

2003-11-19 Thread Josep Riudavets
Hi Steve I have achieved to upload a file with your action Today is a happy day !!! The problem was in the pipeline declaration But I have some questions to you: 1. In the pipeline, you specifies the upload-dir as incoming. It's ok ... my files are saved into /cocoon/incoming/

Re: File upload

2003-11-13 Thread Josep Riudavets
Hi Marco Jan ... I'm trying to implement an upload files action under Cocoon 2.1. In Cocoon 2.1., you should use Part instead of FilePart FilePart filePart = (FilePart) request.get(paramName); But ... what about FilePartFile ??? Which is the equivalent for Cocoon 2.1??? File file = (

RE: Re: Is it possible to upload files with Cocoon 2.1???

2003-11-11 Thread Josep Riudavets Aguilo
Hi Steven ... I have tried next pipeline: map:match pattern=upload map:generate src=upload.html/ map:serialize type=html/ /map:match But it doesn't work !!! I have a problem, and I don't know where it is... My sitemap contains two pipelines I have developed: one for *.html requests, and

RE: Re: Is it possible to upload files with Cocoon 2.1???

2003-11-11 Thread Josep Riudavets Aguilo
Hi Bruno ... be sure to check the error logs, it could also be that upload.html cannot be found, resulting in this error. Error log tells me that upload resource cannot be found ... the same as the error window. Why Cocoon doesn't recognize my third pipeline ???

RE: Re: Is it possible to upload files with Cocoon 2.1???

2003-11-11 Thread Josep Riudavets Aguilo
Hi again Bruno ... first of all, thanks for spending time with my troubles !!! but is that the only error? Check also the handled-errors.log file. If Cocoon wouldn't find a pipeline for the upload URL it would say something like no pipeline matched request instead. Error.log is empty!!! There

Different treatment

2003-11-11 Thread Josep Riudavets Aguilo
Hi all ... I have next pipeline into sitemap: map:match pattern=*.html map:generate type=file src=XML/{1}.xml/ map:transform src=XSL/{1}.xsl/ map:serialize type=html/ /map:match But what I need is to make an special treatment to upload.html

Is it possible to upload files with Cocoon 2.1???

2003-11-10 Thread Josep Riudavets
Hi all... I have posted some messages in order to learn about uploading files with Cocoon 2.1. via an action, but there's no clear solution to this problem. What do you think about this mistery??? Anybody has achieved it? Thanks a lot Josep.

Re: Is it possible to upload files with Cocoon 2.1???

2003-11-10 Thread Josep Riudavets
] To: [EMAIL PROTECTED] Sent: Monday, November 10, 2003 5:03 PM Subject: Re: Is it possible to upload files with Cocoon 2.1??? Josep Riudavets wrote: Hi all... I have posted some messages in order to learn about uploading files with Cocoon 2.1. via an action, but there's no clear solution

Re: Is it possible to upload files with Cocoon 2.1???

2003-11-10 Thread Josep Riudavets
!!! :-( - Original Message - From: Sylvain Wallez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 10, 2003 5:34 PM Subject: Re: Is it possible to upload files with Cocoon 2.1??? Josep Riudavets wrote: Thanks for your soon answer ... I have tried all wiki examples, my web.xml

Re: Is it possible to upload files with Cocoon 2.1???

2003-11-10 Thread Josep Riudavets
Hi Steve first of all, thanks for your help. I tried to upload a file using your action, but it didn't work. I think my problem is not the action, but the pipeline. I get next error: Page not found ... It seems that Cocoon does not recognize the pattern map:match pattern=upload There is

RT: Re: Uploading fiiles: flow function

2003-10-29 Thread Josep Riudavets Aguilo
Hi Steve ... thanks for your help ... I have some doubts. When I compile the action, I put it into a package, named edu.uoc.riudavets, under /WEB-INF/classes directory... I have applied next code into sitemap.xmap: map:action logger=sitemap.action.fileupload name=fileupload

Re: Uploading fiiles: flow function

2003-10-27 Thread Josep Riudavets
for the action with cocoon 2.1 ??? Thanks a lot, Geoff ... and everybody who can help me !!! ;-) - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 24, 2003 5:04 PM Subject: Re: Uploading fiiles: flow function Josep Riudavets wrote: Hi Geoff

Re: Uploading fiiles: flow function

2003-10-24 Thread Josep Riudavets
somebody explain me more about uploading files in Cocoon 2.1 Thanks a lot ... - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 1:52 AM Subject: Re: Uploading fiiles: flow function Josep Riudavets Aguilo wrote: Hi all

Uploading fiiles: flow function

2003-10-14 Thread Josep Riudavets Aguilo
Hi all ... I'm delevoping some code in Cocoon 2.1 in order to upload files. I have added these lines into my XSL page: form action=/upload method=POST enctype=multipart/form-data input type=file name=blah/ input type=submit name=action value=Upload/ /form Next, I have added

RT: RE: Conditional processing in XSLT

2003-10-14 Thread Josep Riudavets Aguilo
something like xsl:when test=mail = 'somevalue' to compare the text content of the mail element to 'somevalue', or xsl:when test=mail to test whether the mail element exists. (This assumes that the context node is data.) Lars -Original Message- From: Josep Riudavets Aguilo [mailto

Re: Sendmail attachment

2003-10-09 Thread Josep Riudavets
... Josep - Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:18 AM Subject: Re: Sendmail attachment On 08.Oct.2003 -- 06:09 PM, Josep Riudavets wrote: Thanks a lot ... now, it works perfectly ... I did not undersand

Re: Sendmail attachment

2003-10-08 Thread Josep Riudavets
include this tag after reading about the JavaMail API. It is fairly easy to do and I can send this if you want. Jim -Original Message-From: Josep Riudavets [mailto:[EMAIL PROTECTED]Sent: Tuesday, 7 October 2003 11:20 PMTo: [EMAIL PROTECTED]Subject: Sendma

Re: Sendmail attachment

2003-10-08 Thread Josep Riudavets
: Re: Sendmail attachment Josep Riudavets wrote: I'm using Cocoon 2.1. In Cocoon documentatio, there is an example of sending mail with attachment: sendmail:send-mail sendmail:fromfrom address/sendmail:from sendmail:tosome maillinglist address/sendmail:to

Sendmail attachment

2003-10-07 Thread Josep Riudavets
Hi... I'm using sendmail taglibs ... and I want to attach a file placed into "/usr/local/tomcat/webapps/cocoon/fitxers/CADi.pfd" What the correct syntax for the sendmail:attachment taglib? Thanks

Re: Accessing to environment variables from Cocoon

2003-10-06 Thread Josep Riudavets
Please Some help for my question !!! ;) Thanks - Original Message - From: Josep Riudavets To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 5:23 PM Subject: Accessing to environment variables from Cocoon Hi ... I'm trying to capture

Accessing to environment variables from Cocoon

2003-10-03 Thread Josep Riudavets
Hi ... I'm trying to capture SSL_CLIENT_CERTIFICATE variable from Cocoon. I'm working with Apache 1.3, Tomcat 4.1.24 and Cocoon 2.1. I have developed a system where all queries from clients to Apache are passed to Tomcat applying the APJ13 protocol. Now, I need to know some environment

Re: Tomcat 4.1.24 and Cocoon 1.8.2

2003-10-03 Thread Josep Riudavets
Yes, they can. But you have to be careful with xerces version. J2SDK xerce version is older than the one that comes with cocoon. Try to put it into JDSDK/jre/lib/endorsed directory, replacing the older. I'm not an expert, and possible my tip is wrong (and I know my english is not much better...

Re: Cocoon + IXSIL

2003-09-29 Thread Josep Riudavets
!! - Original Message - From: "Ugo Cei" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 7:04 PM Subject: Re: Cocoon + IXSIL Josep Riudavets wrote: Hi ... My name is Josep, from Barcelona (Spain).I'm trying to develop a XSP page, including an ins

Re: Cocoon + IXSIL

2003-09-29 Thread Josep Riudavets
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 29, 2003 1:39 PM Subject: Re: Cocoon + IXSIL Josep Riudavets dijo: Ok, new versions of xalan, xerces and xml-apis ara now at /tomcat/common/endorsed. And I have also placed them into /j2sdk/jre/lib/ext/endorsed Try to put

Re: Cocoon + IXSIL

2003-09-29 Thread Josep Riudavets
] Sent: Monday, September 29, 2003 1:59 PM Subject: Re: Cocoon + IXSIL Josep Riudavets dijo: Try to put the IXSIL libraries into WEB-INF/lib? It's the first thing I tried !!! Do you know if Cocoon recognizes jars placed under /j2sdk/jre/lib/ext ? I have placed IAIK jars there, and OK

Are IXSIL and Cocoon compatibles?

2003-09-29 Thread Josep Riudavets
I have placed some posts about Cocoon and the usage of IXSIL libraries. After many weeks of work, I'm thinking that Cocoon and IXSIL are not compatibles ... Anybody can corroborate this affirmation?

Cocoon + IXSIL

2003-09-23 Thread Josep Riudavets
Hi ... My name is Josep, from Barcelona (Spain).I'm trying to develop a XSP page, including an instance of my own class:?xml version="1.0" encoding="UTF-8"??cocoon-process type="xsp"??cocoon-process type="xslt"?xsp:page language="java" xmlns:xsp="http://apache.org/xsp"