Re: starting Xvfb for Cocoon

2001-12-12 Thread Aurelien
The cocoon2install docs explain how to get rid of Xvfb when installing with tomcat 4 (it's outa beta, so there's no reason not to us it anymore): in this configuration, you'd use a java implementation of the awt, and what's more, one that's really cross-platform. Guess it works with tomcat

AW: FAQ - How do I hide cocoon in the URL

2001-12-12 Thread Reinhard Potz
-Ursprungliche Nachricht- Von: Phil Blake [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 12. Dezember 2001 07:34 An: [EMAIL PROTECTED] Betreff: Re: FAQ - How do I hide cocoon in the URL What they're referring to in the FAQ is that, by default, all URL's contain cocoon

Re: OT: Transforming EJB data to XML for Cocoon

2001-12-12 Thread Aurelien
I know you've asked this for some time, but I found your post just recently. Well, I am using JBoss/tomcat (catalina)/cocoon2 also, and I've used a very simple scheme so far, but it works great, and could be generalized very easily. Regarding J2EE, I'm akin to using the façade pattern when

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-12 Thread Nick Entin
David, I think what Mitch meant and I'm not sure you mean the same - you may trace down from which point of sitemap_xmap.java your pipelines are invoked. And as soon you found _two_ places of invocation in java code, you may match them back to your sitemap.xmap (you should see what exactly made

RE: IBM-jdk-1.3 and cocoon2

2001-12-12 Thread Karl Oie
You might try adding tools.jar to your classpath. I have had to do that on some platforms with IBM JDKs. i have done that too -version on java gives: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010626 (JIT enabled:

Re: starting Xvfb for Cocoon

2001-12-12 Thread Arnaud Vandyck
Cindy Ballreich [EMAIL PROTECTED] wrote: I have a very basic RedHat 7.0 web server (Apache 1.3.20) and I want to run Cocoon 2.0 with Tomcat 3.3. Apparently, I also need to run Xvfb in order for Cocoon to work properly. I would very much like to start Xvfb at boot time along with

[Serializer] Get request and parameters?

2001-12-12 Thread Stephan Michels
Hi, exists a way to get the request and the request parameters in a serialzier? AbstractGenerator and AbstractTransformer implements the interface SitemapModelComponent. If I implement SitemapModelComponent in my serializer it will ignored. And SitemapOutputComponent doesn't implement a method

[C2rc2] handle-errors not working

2001-12-12 Thread Hope Sean
Hi, I am running C2rc2 on Tomcat 3.2.3. When I request a non-existent page such as http://localhost:8080/cocoon/doesnotexists I get an HTTP/1.0 404 Not Found response but no page is rendered and the browser (IE5.5) renders a blank page. I thought that my handle-errors section (below) would

Method Post with ISO 8859-1

2001-12-12 Thread Sebastian Mäder
Hey Cocooner's ,-) We want to use an input field for international character and post the value of this field in the next page with method post. We get the value as parameter with xsp:logic get.Parameter etc. But it works only with UTF-8. Hm. 1.) the problem is, that

RE: [Serializer] Get request and parameters?

2001-12-12 Thread Stephan Michels
On Wed, 12 Dec 2001, Max Larsson wrote: hi, i think it works, wour class has to implement the avalon interface, which contains the setup method (see below). if you implement it, the method will be called each time your Serialzer is used. In the setup method you can retrieve the request

Re: [C2rc2] handle-errors not working

2001-12-12 Thread Nicola Ken Barozzi
- Original Message - From: Hope Sean [EMAIL PROTECTED] To: Cocoon-Users (E-mail) [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 11:41 AM Subject: [C2rc2] handle-errors not working Hi, I am running C2rc2 on Tomcat 3.2.3. When I request a non-existent page such as

Re: Method Post with ISO 8859-1

2001-12-12 Thread Nicola Ken Barozzi
- Original Message - From: Sebastian Mäder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 12:03 PM Subject: Method Post with ISO 8859-1 Hey Cocooner's ,-) We want to use an input field for international character and post the value of this field in the

RE: [Serializer] Get request and parameters?

2001-12-12 Thread Max Larsson
Hi, actually i don't know. I never coded a serialzer, but when i did a Transformer i had a similiar problem and solved it with that method. And there should be a mezthod in a Serialzer so that you can get access to the request object. Maybe its named different. I have no time now to take a

Re: urgent encoding problem...

2001-12-12 Thread Arun.N
 Hi all, First of all i thank everybody for not bothering to reply. I corrected the second and the third problem. If the list is still alive and anyone cares to give me solution for thefirst problemplease do reply. thankx, Arun.N - Original Message - From: Arun.N

RE: urgent encoding problem...

2001-12-12 Thread Karl ie
it's not that people don't bother to answer you but a lot of people here don't have any experience with shift-jis encoding. as a Norwegian I have the same problem, non Scandinavians can hardly reproduce problems revolving Scandinavian-characters. when it comes to your string problem there

Re: urgent encoding problem...

2001-12-12 Thread Arun.N
 Thank you karl. I have fixed that problem and i have followed the method which you have said. every thing is being displayed properly but there is still a problem in the source code. if the string contains ‚±‚¿‚ç‚É–|–óŒã‚Ì•¶Í‚ª•\Ž¦‚³‚ê‚Ü‚·B it is priniting こちらに翻訳後の文章が表示されます。 but

Re: FAQ - How do I hide cocoon in the URL

2001-12-12 Thread Bert Van Kets
Now I want to be able to enter the URL http://www.place.com/index.html and get back the same result as http://www.place.com:8080/cocoon/mount/MyWebSite/index.html. I used mod_webapp with great result. It does exactly what you need makes cocoon active on the root of the site. Just know that

RE: urgent encoding problem...

2001-12-12 Thread Karl ie
erm... that code snipple was from the XMLSerializer, not the HTMLSerializer as i wrote, but the approach should be the same.. sorry! mvh karl øie -Original Message-From: Karl Øie [mailto:[EMAIL PROTECTED]]Sent: 12. desember 2001 13:51To: [EMAIL PROTECTED]; Arun.NSubject:

[C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Joelly
Hello! i want to run C2 on Debian unstable w/ tomcat 3.3-2 and j2sdk1.3 but run into troubles w/ the sitemap. i have carefully read all related threads on the mailarchive, installed the Xvfb in the cocoonhost because many ppl have reported that this should be a solution to this problem.

simple href link

2001-12-12 Thread rgi
Hello cocoon-users, I have a easy problem...! I want to make a link with parameter in the url. I read some data from a database (user with diffrent usernames). Now I want to make links to a other xsp page and the username should be in the query. e.g.

RE: simple href link

2001-12-12 Thread Karl Oie
xsl:element name=A xsl:attribute name=hreftest.html/xsl:attribute xsl:attribute name=targetsometarget/xsl:attribute xsl:value-of select=result-id/ /xsl:element mvh karl oie -Original Message- From: rgi [mailto:[EMAIL PROTECTED]] Sent: 12. desember 2001 14:49 To:

Re: C2 file upload problem

2001-12-12 Thread tek
Seems I have to describe the problem once again: Uploading a file with the cocoon2 upload-example seems to work ok. The uploaded file appears in the file-list. But when you look closer, you notice, that uploaded file is empty (only containing some information about the original file type,

Velocity

2001-12-12 Thread Andy Eltis
Hi all I'm trying to use Velocity in Cocoon 2. I would like to add objects to the VelocityContext without having to change the VelocityGenerator class (where I can add them explicitly, I know). From what I understand reading the doc I should be able to declare the object (Menu) in the

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Schmitt
On Wed, Dec 12, 2001 at 02:40:56PM +0100, Christian Joelly wrote: snip/ Chris -- KNAPP Logistics Automation http://www.knapp.com Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394 Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz DEBUG 73680 [cocoon ]

RE: simple href link

2001-12-12 Thread Henrik Hofmann
http://localhost:8080/cocoon/showuser?username=testuser Hi, To get the Link you need to use xsl:attribute/ It should look like this a xsl:attribute name=hrefhttp://localhost:8080/cocoon/showuser?username=xsl:value-of select=result-id/ /xsl:attribute /a Hope this helps.

Re: simple href link

2001-12-12 Thread Joerg Heinicke
a href=http://localhost:8080/cocoon/showuser?username={result-id};test/a Henrik Hofmann wrote: http://localhost:8080/cocoon/showuser?username=testuser Hi, To get the Link you need to use xsl:attribute/ It should look like this a xsl:attribute

NoSuchMethodError at...components.browser.BrowserImpl.createDocument...

2001-12-12 Thread Arnaud Vandyck
Hi all, Don't know why my cocoon won't run anymore?! ERROR (2001-12-12) 14:38.34:821 [cocoon ] (/cocoon/) Thread-20/Handler: Error compiling sitemap java.lang.NoSuchMethodError at org.apache.cocoon.components.browser.BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java:379)

Recursive sub sitemaps

2001-12-12 Thread Arnaud Vandyck
Is it possible to mount sub sitemaps recursively? I mean: /cocoon/sitemap.xmap (mount sub) /cocoon/sub/sitemap.xmap (mount undersub) /cocoon/sub/undersub/sitemap.xmap and so on... -- Arnaud, STE-Formations Informatiques, fapse, ULg, .BE

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Joelly
On Wed, Dec 12, 2001 at 03:48:43PM +0100, Christian Schmitt wrote: On Wed, Dec 12, 2001 at 02:40:56PM +0100, Christian Joelly wrote: DEBUG 73680 [cocoon ] (Thread-4): Beginning sitemap regeneration DEBUG 73680 [cocoon ] (Thread-4): Making URL from

Re: Recursive sub sitemaps

2001-12-12 Thread Hubert NEOtyk Iwaniuk
On Wed, Dec 12, 2001 at 04:15:41PM +0100, Arnaud Vandyck wrote: Is it possible to mount sub sitemaps recursively? I mean: /cocoon/sitemap.xmap (mount sub) /cocoon/sub/sitemap.xmap (mount undersub) subsitemap is sitemap as well so it can have subsitemaps.

Re: [C2rc2] handle-errors not working

2001-12-12 Thread Carlos Araya
Sean: Cocoon 2 went final. Have you tried the final release version? Carlos On 12/12/01 2:41 AM, Hope Sean [EMAIL PROTECTED] wrote: Hi, I am running C2rc2 on Tomcat 3.2.3. When I request a non-existent page such as http://localhost:8080/cocoon/doesnotexists I get an HTTP/1.0 404 Not

[Best Practices] Initial request

2001-12-12 Thread Carlos Araya
Good morning: I am working on putting together a document about Cocoon's best practices and am soliciting your help. I'd like to know: * What has worked for you when using Cocoon? * Do you have any tip or trick to make Cocoon work better/faster * What has your experience been with Cocoon and

Re: [Best Practices] Initial request

2001-12-12 Thread DOD
Sounds like a fantastic idea (and a massive undertaking). Hopefully you'll keep us abreast of your progress. Regards, DOD - Please check that your question has not already been answered in the FAQ before posting.

RE: [C2rc2] handle-errors not working

2001-12-12 Thread Hope Sean
Thanks to both of you! Upgrading to 2.0 release solved the blank page problem. -Original Message- From: Carlos Araya [mailto:[EMAIL PROTECTED]] Sent: 12 December 2001 15:59 To: [EMAIL PROTECTED] Subject: Re: [C2rc2] handle-errors not working Sean: Cocoon 2 went final. Have you tried

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Joelly
Hello! On Wed, Dec 12, 2001 at 03:48:43PM +0100, Christian Schmitt wrote: If so, are all necessary *.jar file in $TOMCAT_HOME/webapps/cocoon/WEB-INF/lib ? Because form the error message it looks like you're missing xml-apis.jar. i have downloaded the cocoon-2.0-bin.tgz from the website now

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Carlos Araya
Chris: Try deleting the cocoon directory (Not the .war file!) restart tomcat and wait about 15 to 20 seconds before accessing the directory. That has worked for me Carlos On 12/12/01 8:43 AM, Christian Joelly [EMAIL PROTECTED] wrote: Hello! On Wed, Dec 12, 2001 at 03:48:43PM +0100,

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-12 Thread David Rosenstrauch
Ah, but that's the rub. It's only invoked in one place in the Java code, and yet it gets called twice. Cocoon itself is calling this pipeline twice, for some reason, and I have no idea why. Thanks for the msg, though. DR At 10:04 AM 12/12/01 +0100, you wrote: David, I think what Mitch

Re: [Serializer] Get request and parameters?

2001-12-12 Thread David Rosenstrauch
It doesn't look like it to me. FYI - one workaround that I've used for this is to stick an Action right before the serializer. The action gets passed the objectModel (which contains the request object) and can therefore do the work you want. e.g.: map:act type=set_download/ map:serialize

passing sitemap parameters inside of a pipeline

2001-12-12 Thread Marie Brandt
Date: Tue, 11 Dec 2001 17:07:54 -0800 To: [EMAIL PROTECTED] From: Marie Brandt [EMAIL PROTECTED] Subject: passing sitemap parameters inside of a pipeline I am attempting to use an XSP page generator to setup a sitemap parameter which will then be used in the xslt tranformer statement to

Re: [Best Practices] Initial request

2001-12-12 Thread David Rosenstrauch
Great idea Carlos! I've definitely got some input for you. Will email you as soon as I get a spare minute. DR At 08:05 AM 12/12/01 -0800, you wrote: Good morning: I am working on putting together a document about Cocoon's best practices and am soliciting your help. I'd like to know: *

Re: NoSuchMethodError at...components.browser.BrowserImpl.createDocument...

2001-12-12 Thread Arnaud Vandyck
arnaud wrote: Hi all, Don't know why my cocoon won't run anymore?! ERROR (2001-12-12) 14:38.34:821 [cocoon ] (/cocoon/) Thread-20/Handler: Error compiling sitemap java.lang.NoSuchMethodError at

No such

2001-12-12 Thread Aguirre, Carlos (C.)
Hi all, im new in this, when i try to run Tomcat i get this error. Exception in thread main java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder .init(DefaultConfigurationBuilder.java:38) at

[C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Joelly
Hello! i want to run C2 on Debian unstable w/ tomcat 3.3-2 and j2sdk1.3 but run into troubles w/ the sitemap. i have carefully read all related threads on the mailarchive, installed the Xvfb in the cocoonhost because many ppl have reported that this should be a solution to this problem.

No such Method

2001-12-12 Thread Aguirre, Carlos (C.)
hi, i get this error when i try to start Tomcat 3.2.4 2001-12-12 14:46:47 - ContextManager: Adding context Ctx( /myapp ) 2001-12-12 14:46:47 - ContextManager: Adding context Ctx( /examples ) 2001-12-12 14:46:47 - ContextManager: Adding context Ctx( /cocoon ) Exception in thread main

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Carlos Araya
First thing to check is whether Batik is running. If it is and you get that error, then it might be Batik. Look at the solution proposed on http://xml.apache.org/cocoon/installing/index.html and scroll down until you find headles/linux/batik It's been known to work with Tomcat 4 but it may very