Different treatment

2003-11-11 Thread Josep Riudavets Aguilo
Hi all ... I have next pipeline into sitemap: But what I need is to make an special treatment to "upload.html" request... that is: if the request is "upload.html", I want to execute an action, but if the request is another, "x.html", the

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!

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 Steven ... I have tried next pipeline: 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 other for "*.xsp" requests. Both work perfectly. But when I try to add another pipeli

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:

Files uploading with Cocoon 2.1

2003-10-21 Thread Josep Riudavets Aguilo
Hi all... I'm trying to implement a webpage with an upload file option. I have visited http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow, and I have found some info about "FileUploadsWithFlow". First step is related to add the uploado option: The second s

RT: RE: Conditional processing in XSLT

2003-10-14 Thread Josep Riudavets Aguilo
... You want something like to compare the text content of the mail element to 'somevalue', or to test whether the mail element exists. (This assumes that the context node is .) Lars > -Original Message----- > From: Josep Riudavets Aguilo [mailto:[EMAIL PROTECTED] > S

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: Next, I have added this code into the sitemap.xmap: Now ... I have to write next function: var role = Packages.org.mystuff.UploadManager.

Conditional processing in XSLT

2003-10-13 Thread Josep Riudavets Aguilo
Hi all... I'm trying to use tag into a XSL page. The condition wiil be set depending onthe content of a string named "mail". This string has to be captured from the XSP related to this XSL. XSP produces these results: ... ... ... So, into the XSL I have written next lines: ---some code

IF - ELSE expression into an XSP with ESQL

2003-10-13 Thread Josep Riudavets Aguilo
Hi all ... I need some help about IF-ELSE expression into an XSP page, with some ESQL taglibs. I have implemented a conection pool to a postresql database. First of all, I make a query to the database: SELECT solicitat FROM expedients WHERE nom='nom' AND cognoms='cognoms' AND dni='dni'; The ob