Re: Serving PDF's

2002-03-20 Thread Olivier Rossel
Phil Blake wrote: Hi all, I want to serve PDF's - nothing special, no generation or transformation - simply returning an existing pdf from a request. So... I added the following to my sitemap: map:match pattern=**pdf/**.pdf map:read src=resources/pdf/{2}.pdf

Re: Problem in map:handle-errors

2002-03-20 Thread Bartomeu Adrover
I stop the tomcat and delete the work directory (somtimes don't delete the cache only stoping the server) and I start the tomcat. If I remove the line map:part src="cocoon:/noticies.xsrc"/> the page don't give me an error, only don't display the information. The error message reported is: can't

BUILD FAILED

2002-03-20 Thread Stefano Bonnin
Hi, I have just downloaded the lastest cocoon release and I have tried to build the cocoon.war, but after a few seconds I receive the following error: BUILD FAILED /store2/cocoon/xml-cocoon2/build.xml:1086: /store2/cocoon/xml-cocoon2/build/cocoon/webapp/documentation/svg not found. What

Re: RE: [XSP] Sitemap parameter passed to XSP page

2002-03-20 Thread Christian SCHRÖTER
Am Dienstag, 19. März 2002 17:56 schrieben Sie: From: Baer Peter [mailto:[EMAIL PROTECTED]] We need a way to push parameters from the sitemap to XSP via a generator (of type serverpages). We can catch session and request parameters using session.getParameter() or

Question about Static Variables

2002-03-20 Thread Stefano Bonnin
Hi, I'd like to know the answer at the following question: how can I define (with Cocoon) a Static variable? I have a series of xsp documents and I'd like to define a Static variable (?application variable?) common to these documents. Thanks --- Outgoing mail is certified Virus Free.

RE: Question about Static Variables

2002-03-20 Thread Piroumian, Konstantin
-Original Message- From: Stefano Bonnin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 1:21 PM To: [EMAIL PROTECTED] Subject: Question about Static Variables Hi, I'd like to know the answer at the following question: how can I define (with Cocoon) a Static

Re: Serving PDF's: set the content-length in the HTTP-Response-Header

2002-03-20 Thread Christoph Meier
I think Phil is right about the bug in IE+Acrobat plug-in. IE+Acrobat plug-in stop dowloading the stream after a certain amount of bytes is down. The problem should be fixed if you can set the content-length in the HTTP-Response-Header, to tell IE+Acrobat plug-in about the size of the

Re: BUILD FAILED

2002-03-20 Thread Torsten Bsdurek
Hi Stefano, i got the same error with another snapshot. Try xml-cocoon2-200203170519 You can find this snapshot on the Apache Server no more, so i put it on my own Server. Look at www.it-bbr.de/cocoon/ Regards, Torsten Ursprüngliche Nachricht Am 20.03.02, 10:31:52,

Re: BUILD FAILED

2002-03-20 Thread Nicola Ken Barozzi
From: Stefano Bonnin [EMAIL PROTECTED] Hi, I have just downloaded the lastest cocoon release and I have tried to build the cocoon.war, but after a few seconds I receive the following error: BUILD FAILED /store2/cocoon/xml-cocoon2/build.xml:1086:

generator inside session-validator action

2002-03-20 Thread Fiedler, Raul
Hi I want to protect the whole site with a session validator action. It works fine for all pipeline objects except ones with generators inside. Example: map:pipeline map:match pattern=* map:act type=session-validator map:parameter name=use-request-parameters value=true/

[Request] Upgrade instructions for new releases

2002-03-20 Thread Peter Robins
If a new release is imminent, can we please have instructions for those who are upgrading rather than installing from scratch. Upgrading is not simply a matter of copying over a war: the workfiles need to be cleared, there may be changes needed to sitemaps or configuration files. After the

Re: newbie: how to get a clean application

2002-03-20 Thread Nicola Ken Barozzi
From: Peter Robins [EMAIL PROTECTED] a bit of an old thread, but I would second this. I would suggest something like Perl with its modules: a basic core system to download/install, plus a list of modules/extensions to provide additional functionality as needed. Ideally, adding a module would

Re: [Request] Upgrade instructions for new releases

2002-03-20 Thread Nicola Ken Barozzi
From: Peter Robins [EMAIL PROTECTED] If a new release is imminent, can we please have instructions for those who are upgrading rather than installing from scratch. Upgrading is not simply a matter of copying over a war: the workfiles need to be cleared, there may be changes needed to

RE: Running Cocoon on non-compliant servlet engines

2002-03-20 Thread Piroumian, Konstantin
-Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 4:22 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Running Cocoon on non-compliant servlet engines Hi folks, The project I'm currently working on requires Cocoon to run

Re: Serving PDF's: set the content-length in the HTTP-Response-Header

2002-03-20 Thread Sylvain Wallez
Christoph Meier wrote: I think Phil is right about the bug in IE+Acrobat plug-in. IE+Acrobat plug-in stop dowloading the stream after a certain amount of bytes is down. The problem should be fixed if you can set the content-length in the HTTP-Response-Header, to tell IE+Acrobat plug-in

Re: Running Cocoon on non-compliant servlet engines

2002-03-20 Thread Olivier Rossel
shameless-plug For the same project, I also wrote the BlobSource (see http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg12945 .html) for which I had no feedback up to now. Nobody interested in this ? /shameless-plug How can it be used? Are there any use-cases or samples? I wonder if

RE: Running Cocoon on non-compliant servlet engines

2002-03-20 Thread Carsten Ziegeler
Sylvain Wallez wrote: Hi folks, The project I'm currently working on requires Cocoon to run on a 2-years old Netscape Enterprise server 4.1, which has the servlet 2.2 classes but doesn't implement them correctly : no context directory, no classloader for WEB-INF, funky resolution of

RE: Running Cocoon on non-compliant servlet engines

2002-03-20 Thread Vadim Gritsenko
From: Sylvain Wallez [mailto:[EMAIL PROTECTED]] Hi folks, The project I'm currently working on requires Cocoon to run on a 2-years old Netscape Enterprise server 4.1, which has the servlet 2.2 classes but doesn't implement them correctly : no context directory, no classloader for

Re: Running Cocoon on non-compliant servlet engines

2002-03-20 Thread Sylvain Wallez
Carsten Ziegeler wrote: Sylvain Wallez wrote: Hi folks, The project I'm currently working on requires Cocoon to run on a 2-years old Netscape Enterprise server 4.1, which has the servlet 2.2 classes but doesn't implement them correctly : no context directory, no classloader for WEB-INF,

RE: Problem in map:handle-errors

2002-03-20 Thread Vadim Gritsenko
From: Bartomeu Adrover [mailto:[EMAIL PROTECTED]] Hello, I use cocoon 2.01 with apache tomcat 4.01 in windows nt. I construct an page with varius xml source with ma:part tag: map:match pattern=index.xml map:aggregate element=root map:part src=cocoon:/noticies.xsrc/ map:part

RE: Pipeline Matching Problems

2002-03-20 Thread Vadim Gritsenko
From: Derek Hohls [mailto:[EMAIL PROTECTED]] Vadim The pipeline is invoked via a 'normal' type of call, e.g. docs/samples/forms/form_chemicals?id=123 Here the problem is. Where is the cocoon-action request parameter, which should have name of the action to be executed? Try:

logicsheets driving me insane

2002-03-20 Thread Peter Wieland
Hi, I'm trying for one day to get a logicsheet to do some work for me. I want to print out a drop down menu with values from a database and the format speciefied in my xsp source. here is the relevant part of the xsp-page (test.xsp) - list

Including a page with custom tags

2002-03-20 Thread Sreedhar Chintalapaty
Title: Glacier Another newbie question that I could not find an answer for in the archives. Part of my web site needs to generate dynamic content based on database queries. I intend towrite my ownlogicsheets to get that functionality (I am not using ESQL because I need to talk to my java

RE: generator inside session-validator action

2002-03-20 Thread Vadim Gritsenko
From: Fiedler, Raul [mailto:[EMAIL PROTECTED]] Hi I want to protect the whole site with a session validator action. It works fine for all pipeline objects except ones with generators inside. Example: This snippet below - is it copy/paste? Then you have errors: map:pipeline

Re: generator inside session-validator action

2002-03-20 Thread Cédric Damioli
Fiedler, Raul wrote: Hi I want to protect the whole site with a session validator action. It works fine for all pipeline objects except ones with generators inside. try with two stars (**) inside your first map:match tag Else, area/view-xml won't match against a single * and the sitemap

RE: logicsheets driving me insane

2002-03-20 Thread Piroumian, Konstantin
From: Peter Wieland [mailto:[EMAIL PROTECTED]] Hi, I'm trying for one day to get a logicsheet to do some work for me. I want to print out a drop down menu with values from a database and the format speciefied in my xsp source. here is the relevant part of the xsp-page (test.xsp)

RE: Including a page with custom tags

2002-03-20 Thread Sreedhar Chintalapaty
Title: Glacier Small correction: the logic sheet is as follows: Tag in the Logicsheet: xsl:template match="singertags:get-name" Elvis Presley /xsl:template Also, I have verified that, by accessing featuredArticle.xml directly with the following match, that the logic sheet works

RE: generator inside session-validator action

2002-03-20 Thread Fiedler, Raul
Thanks very much matching on ** was the trick Raul -Original Message- From: Cédric Damioli [mailto:[EMAIL PROTECTED]] Sent: 20 March 2002 16:52 To: [EMAIL PROTECTED] Subject: Re: generator inside session-validator action Fiedler, Raul wrote: Hi I want to protect the whole

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

RE: Transformation AFTER serialization.

2002-03-20 Thread Vadim Gritsenko
From: TREGAN Fabien [mailto:[EMAIL PROTECTED]] Have someone allready coded a serializer that : 1. use another serializer for, hem, serialization You want to delegate? That's non issue. Just implement Composable. 2. call a 'ByteStreamTransformer' that works on the produced stream

RE: [Request] Upgrade instructions for new releases

2002-03-20 Thread Vadim Gritsenko
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] From: Peter Robins [EMAIL PROTECTED] If a new release is imminent, can we please have instructions for those who are upgrading rather than installing from scratch. Upgrading is not simply a matter of copying over a war: the

jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: jdbc or xsp or esql problem Hey folks, Setup: cocoon-2.0.2dev (can give snapshot date if needed, it's from about a week ago) tomcat 4.0.3-LE jdk1.4 linux java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath (downloaded bianry from jdbc.postgresql.org which specified that it would

Re: jdbc or xsp or esql problem

2002-03-20 Thread Ivan Rubin
von Schwerdtner, Thomas (GXS, FPI) wrote: Hey folks, Setup: cocoon-2.0.2dev (can give snapshot date if needed, it's from about a week ago) tomcat 4.0.3-LE jdk1.4 linux java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath (downloaded bianry from jdbc.postgresql.org which

RE: jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: jdbc or xsp or esql problem Oh my. That got rid of the errors. Thanks, -Tom Under the work directory you'll find the generated .java for your xsp page. I think you should enclose your content in between xsp:content tags.

[HELP]Could not read resource file:/E:/jakarta-tomcat-3.3a/webapps/cocoon/ash/select_view.xml

2002-03-20 Thread Lenny Ng
Description:org.apache.cocoon.ProcessingException: Could not read resource file:/E:/jakarta-tomcat-3.3a/webapps/cocoon/ash/select_view.xml: org.xml.sax.SAXParseException: The namespace prefix "xsp_sql" was not declared. I havewrote a custom logicsheet and I need to define the namespace

Re: jdbc or xsp or esql problem

2002-03-20 Thread leo leonid
do the e?sql-samples work that come with the distribution using the hsqldb-server? I bet they don't. On Wednesday, March 20, 2002, at 07:21 Uhr, von Schwerdtner, Thomas (GXS, FPI) wrote: Hey folks, Setup:  cocoon-2.0.2dev (can give snapshot date if needed, it's from about a week ago)  

RE: logicsheets driving me insane

2002-03-20 Thread Vadim Gritsenko
Start with checking how your logicsheet works standalone, i.e. transform xsp page with you logicsheet by Xalan from the command line. Check result. Give resulting xsp page to the Cocoon. See it compiles. Vadim From: Peter Wieland [mailto:[EMAIL PROTECTED]] Hi, I'm trying for one day to

RE: jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: jdbc or xsp or esql problem I don't remember if I tried it with jdk1.4. I'll re-build it in a few minutes if I dont find a quicker solution. Despite the errors going away (now the xsp page spits no errors, but the resulting page is totally blank, not even a html tag (more of a

Re: jdbc or xsp or esql problem

2002-03-20 Thread leo leonid
with jdk1.4, my experience was, that none of the jdbc-drivers (hsqldb or mysql) worked anymore (NoValidConnectionException). I temporarily downgraded to jdk 1.3 :-( /Leo On Wednesday, March 20, 2002, at 08:04 Uhr, von Schwerdtner, Thomas (GXS, FPI) wrote: I don't remember if I tried it

Extension functions

2002-03-20 Thread Malay Das
Hi, I am trying out the extension function to print out the current date - with these. xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns=http://www.brandsoft.com;

AW: Extension functions

2002-03-20 Thread Stefan Seifert
What you are trying is XSLT 1.1 syntax, that is not supported by this xalan version as fare as i know. See http://xml.apache.org/xalan-j/extensions.html for the propietary xalan extension syntax. Stefan -Ursprüngliche Nachricht- Von: Malay Das [mailto:[EMAIL PROTECTED]] Gesendet:

RE: Including a page with custom tags

2002-03-20 Thread Sreedhar Chintalapaty
Title: Glacier For some strange reason, I changed nothing, but the stuff started working! -Original Message-From: Sreedhar Chintalapaty [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 20, 2002 11:04 AMTo: [EMAIL PROTECTED]Subject: RE: Including a page with custom tags

Re: jdbc or xsp or esql problem

2002-03-20 Thread tvon
On Wed, Mar 20, 2002, leo leonid wrote: do the e?sql-samples work that come with the distribution using the hsqldb-server? I bet they don't. You are correct. I just built a recent (past few days) CVS snapshot and the ESQL samples spit that same NoValidConnectionException. This is

Re: jdbc or xsp or esql problem

2002-03-20 Thread tvon
Keeping in mind I do not know a hell of a lot about java or jdbc, does it make any sense that I can write a little test program in java, and have it connect to the database just fine with the jdbc driver, but when used in cocoon, I get a slew of errors? The java program only goes up to

I want to know how to make cocoon save the generated html file?

2002-03-20 Thread
Dear All: I want to know how to make cocoon save the generated html file? Anyone knows? Thank you! Bob Wang - Please check that your question has not already been answered in the FAQ

[HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1

2002-03-20 Thread Chitharanjan Das
Hello all, I just synchronized the latest source from archive and deployed the cocoon and upon invocation of the JSP files, I am getting a SAX error. Has anybody faced this and if yes, is there any remedy for this.. Thanks in advance. Chiths

[HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1

2002-03-20 Thread Peter Schwenke
Check your cocoon log. They'll be an exception thrown when when your JSP was running. ...Peter Chitharanjan Das writes: Hello all, I just synchronized the latest source from archive and deployed the cocoon and upon

i18 support for dynamic pages.

2002-03-20 Thread Årun.N
Hi All, I have doubt before i start something with i18 support provided by cocoon. We have a site up and running in Japanese language, for that i have set encoding to SJIS in the serializers. Now there is a need for support Korean language and English. My problem is most of the stuff in

Re: I want to know how to make cocoon save the generated html file?

2002-03-20 Thread yuryx
Íõºì±¦ wrote: Dear All: I want to know how to make cocoon save the generated html file? Anyone knows? Thank you! Bob Wang - Please check that your question has not already been

RE: logicsheets driving me insane

2002-03-20 Thread Peter Wieland
Hi, about xsp:logic tags: it is quite strange. I agree that ist should not work when I use xsp:logic tags to do some output. But in fact it worked (and it did not work with xsp:expr. Could this be because it is called between some esql tags that use logic themselves. Something like that my tags

Cocoon GetTogether at CeBIT

2002-03-20 Thread Matthew Langham
Yesterday SN hosted a Cocoon GetTogether at the CeBIT. I would like to thank everyone for coming and hope you all found it worth your time! Although I have not yet got round to writing down what we talked about I thought I would post a quick summary on the get-together. In all 12 people attended

Running Cocoon on non-compliant servlet engines

2002-03-20 Thread Sylvain Wallez
Hi folks, The project I'm currently working on requires Cocoon to run on a 2-years old Netscape Enterprise server 4.1, which has the servlet 2.2 classes but doesn't implement them correctly : no context directory, no classloader for WEB-INF, funky resolution of context resources, etc. So I