cocoon with mysql

2002-03-20 Thread Olivier GUCKERT
Hello I have cocoon installed on my machine and an acces to a mysql database. Can somebody tell me how to make work together ? Thanks Olivier - Please check that your question has not already been answered in the FAQ

problem vith sub_sitemap

2002-04-03 Thread Olivier GUCKERT
Hello I have a problem with sub-sitemap. I want to have a directory for my apps. This directory is : G:\site. So, i add a pipeline in sitemap.xmap, look like this : map:pipeline map:match pattern=transfo/** map:mount uri-prefix=transfo src=///./site/sitemap.xmap

Re: problem vith sub_sitemap

2002-04-03 Thread Olivier GUCKERT
Hahn Kurt (CHA) a écrit : Hmmm. I'm a newbie, but I managed to mount a subsystem, though I put in the Cocoon-directory, but that shouldn't change much. In my configuration, I didn't point the src= to the sitemap, but only to the directory which contains the sitemap, like:

Re: problem vith sub_sitemap

2002-04-03 Thread Olivier GUCKERT
Luca Morandini wrote : Oliver, what Kurt said is correct, in addition, I'd change the src=///./site/ to src=file:///g:/site/ Best regards, Thanks, but i've done so to, and it doesn't work... - Please check that your

Re: problem vith sub_sitemap

2002-04-03 Thread Olivier GUCKERT
Rodrigues Luc a écrit : Hi, Sorry for my poor english langage. ?xml version=1.0? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; /map:pipelines ---^-Your error is here. type: map:pipelines at place. I hope that help you. I thing my english langage is

cann't run sql examples

2002-05-02 Thread Olivier GUCKERT
Hello all, I have a problem to run example cocoon with SQL database. In the : http://localhost:8080/cocoon/welcome page, if i try the simple SQL example, i become a white page. If i uncomment the execute-query in the sql-page-xml, i botain a html page (without the data). When i click on the

New tutorial : Cocoon 2: Build database-driven sites

2002-05-31 Thread Olivier GUCKERT
Hello all There's a new tutorial about Cocoon 2: Build database-driven sites by Leigh Dodds at IBM DevelopperWorks : http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/AC994D2B8F0B85D086256BC1006B53AC?OpenDocument Olivier Guckert

problem with database connection

2002-09-25 Thread Olivier GUCKERT
hi all I have a problem with my connection to my sql. when i try cto connect i get the folowing message : Could not get the datasource java.sql.SQLException: The url cannot be null I work on linux with cocoon 2.0.3 I have the same parameters than with cocoon 2.0.2 on windows and this one

Re: problem with database connection

2002-09-27 Thread Olivier GUCKERT
[EMAIL PROTECTED] a écrit : What component are you using? SQLTransformer? Database Action? Can you post the relevant portions of cocoon.xconf/sitemap.xmap? here is my configuration : In web.xml : init-param param-nameload-class/param-name param-value !-- pour

Re: problem with database connection

2002-09-27 Thread Olivier GUCKERT
[EMAIL PROTECTED] a écrit : Did you cut and paste the cocoon.xconf? It can't find the url, and the url tag is durl instead of dburl. I think you said this worked in a previous version of cocoon, and I don't know if the cocoon.roles has changed since then. Let me know if it's just a simple

Ldap authentication

2002-11-04 Thread Olivier GUCKERT
Hello all Do someone know how to make an authentication with LdapTransformer. The client enter DN and passwd : how can i do the LDAP authentication with these informations ? Thanks - Please check that your question has not

LDAP Transformer

2002-11-25 Thread Olivier GUCKERT
Hello here I want to use the LDAP Transformer to make an authentification by sending ID an passwd to an LDAP. Which tags should i use and how ? Thanks - Please check that your question has not already been answered in the

Re: Problems using the esql:error-results tag

2002-12-03 Thread Olivier GUCKERT
how that could be done. If it doesn't match, you just have to telle me more ... Olivier GUCKERT - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq

Environment variable

2002-12-04 Thread Olivier GUCKERT
Hello all ! The home of my webapp will soon move, and i want to declare it with an environment variable. So i define an environment variable and replace the path to the directory of my website sitemap.xmap with this variable : so : before : map:match pattern=referentiels/** map:mount

Re: Réf:RE: Problem SQLTransformer

2002-12-05 Thread Olivier GUCKERT
Rano Serv'N Data Spo what's a strange problem ! Cann you tell us more about it (what is your XML File ...) Did you try your SQL syntax without Cocoon ?, and what are the results ... Olivier GUCKERT - Please check that your

upload-dir

2002-12-13 Thread Olivier GUCKERT
any-one know how to do it ? Thanks Olivier GUCKERT - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL

Re: How can i define my pipeline to open .doc , .pdf

2002-12-18 Thread Olivier GUCKERT
/{1}.xls/ /map:match Regards Olivier Guckert - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL

auth problem

2003-01-28 Thread Olivier GUCKERT
Hello I'd like to use the authentication actions, but have some trouble with the redirect-to : In my sitemap, i wrote : map:match pattern=login map:act type=auth-login map:parameter name=handler value=MaProtection/ map:parameter name=parameter_nom

Re: auth problem

2003-01-28 Thread Olivier GUCKERT
Martin Dulisch a écrit : Hi Olivier, protection works over the 'auth-protect' action. You can use it in any pipeline. So you dont need a redirect to protect other pages. Martin Ok Martin and thanks But, if i write : map:match pattern=login map:act type=auth-login

Re: auth problem

2003-01-29 Thread Olivier GUCKERT
) to your login pipeline. Then you can do a redirect to {request-param:resource}. Carsten Ok Thanks Carsten, i try to do this Olivier Guckert - Please check that your question has not already been answered in the FAQ before

XSPAction

2003-02-07 Thread Olivier GUCKERT
Hello I read the Wiki how-to about XSPAction, and think it's a good idea. But i stil have a question : where should i put the my-xsp-action.xsp file Do i have to write a map:match for it and if yes, how (serialize xml ?) Thanks Olivier Guckert

serve files stored in a webdav repository

2003-03-31 Thread Olivier GUCKERT
Hello I need to serve with Cocoon some files stored in a Webdav repository. The access to the WEB-DAV directory is protected via login-password and i want this directory to be reserved to cocoon (not to each visitor). How schould i configure my sitemap.xmap to make it possible for Cocoon to send

upload - webdav

2003-03-31 Thread Olivier GUCKERT
Now, i can use protected webdav directory to serve files with Cocoon : thanks Guido. What i want to do yet et upload files with Cocoon to this protected webdav directory. Is it a simple way to do this ? Thanks Olivier - To

allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Hello, I want my users to be able to upload pdf files in a WebDav directory, protected by login password (just cocoon 'know' this password. I try to use upload.xsp but dont know how to configure web.xml to provide this access. Does somebody know or show me a way ? Thanks Olivier

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Geoff Howard a écrit : It's not clear below: do you want to use cocoon's upload facility, or webdav? Geoff yes y do. I want to upload a file (IE with upload.xsp) but not on my HD, on a webdav directory. Do you know how to do this ?

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
The end user produce a pdf file and use cocoon (via upload.xsp) to publish it : upload.xsp provides the end user to select a pdf file and upload it to the server. I just want the server to store this file not on the server HD, but in a webdav directory on an other server. I don't know how to

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Ok, thanks a lot, i will have a look at cocoon wiki ! Geoff Howard a écrit : I see. The server itself has access to a webdav folder on a third machine. As far as I know, there will not be a way to automatically handle this because cocoon's uploads are using java.io.File to automatically

use an http attribute in an action

2003-06-12 Thread Olivier GUCKERT
Hello all, Y have a HTTP request like : chargement-decision.html?numero=3805protection=inter and y want to use the numero and protection attributes in an action. Do some one know how to do that ? Thanks - To unsubscribe,

Re: use an http attribute in an action

2003-06-16 Thread Olivier GUCKERT
Lionel Crine a écrit : you can try : public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws Exception { Request request = ObjectModelHelper.getRequest(objectModel); String num = request.getParameter(numero); String

Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier GUCKERT
Olivier Billard a écrit : Hi all ! I'm trying to use a generated stylesheet for an xsl transformer and I get this error : org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon:/picto-filter.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: