Re: send parameter to generator type serverpages

2002-04-26 Thread Bert Van Kets
At 12:06 26/04/2002 +0200, you wrote: i want send parameter to the generator type serverpages. My site map is : map:pipeline map:match pattern=etatdb-* map:generate type=serverpages src=etatdb.xsp

Re: two xml source files

2002-04-23 Thread Bert Van Kets
At 14:15 23/04/2002 +0300, you wrote: I have two xml files. One is for the menu content, the other is for the body content. I want to read from these two different files with one xsl file, and serialize html. The menu file is to be used with each page. I couldn t solve the problem. Do I

Re: How to use a WebApp named something other than cocoon in Weblog ic?

2002-04-17 Thread Bert Van Kets
Give more info please! How did you configure your webapp? Did you copy the cocoon.war file to MyWebApp.war or did you configure a webapp in Weblogic? Bert At 12:38 17/04/2002 -0400, you wrote: I was able to successfully (more or less) install Cocoon 2.0.2 on Weblogic 6.0sp2, using the webapp

getting sunShine context data in xsp generator

2002-04-14 Thread Bert Van Kets
I have some data in a sunShine context I'd like to use to build an update query in an xsp generator. I can't seem to use the sunShine namespace in an XSP page. Tomcat is throwing an Internal Server Error. Is it at all possible to use sunShine in an XSP generator? Is the only alternative a

Re: cocoon web application

2002-04-12 Thread Bert Van Kets
The easiest way is to copy the cocoon.war file to yourapp.war, start tomcat and test it by going to localhost:8080/yourapp Then you can delete every directory in the yourapp directory, except for the WEB-INF directory. Edit the sitemap and delete every action, resource, view and pipeline you

Re: Getting stylesheet directive through to SVG rasterizer

2002-04-11 Thread Bert Van Kets
Did you declare a css pipeline? If Cooon gets request for a css file, but can't map it to a specific file, it can't process it. Add this to your sitemap: map:match pattern=*.css map:read src=css/{1}.css mime-type=text/css/ /map:match make sure you place the css file in

RE: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)

2002-04-10 Thread Bert Van Kets
At 15:52 10/04/2002 +0200, you wrote: I don't think all members of the group were able to read your signed message. AFAIK br/ is valid HTML unless you have a very old browser. Maybe serializing as text may help but if that changes the mime/type you are back to square one. br / is accepted by

RE: Load test with ab

2002-04-05 Thread Bert Van Kets
Carsten, does this mean that the latest CVS build can be trusted under heavy loads, say 50 to 100 concurrent users? Bert At 14:12 5/04/2002 +0200, you wrote: We had the same problem, and it had to do with the MRUStore which is not thread safe in 2.0.1 and 2.0.2. I suggest you try the latest

xsp and esql

2002-04-04 Thread Bert Van Kets
I've got the name of a column in a String variable and would like to use the value contained in that column in my output. How can I request that value? I need to nest an xsp:expr tag inside an esql:get-string tag. Is this possible? The code snip I include obviously does not work! What is

Re: xsp and esql

2002-04-04 Thread Bert Van Kets
Works perfectly, Thanks Chris, Bert At 11:59 4/04/2002 +0200, you wrote: On 04.Apr.2002 -- 11:33 AM, Bert Van Kets wrote: I've got the name of a column in a String variable and would like to use the value contained in that column in my output. How can I request that value? I need to nest

Re: Charting

2002-04-04 Thread Bert Van Kets
Hi Nicola, I'm game. Send me what you've got and I'll check it out. Bert At 15:55 4/04/2002 +0200, you wrote: From: Sozonnik Andrew [EMAIL PROTECTED] Hello all ! Can anybody tell me, is it available some tools for C2 to generate complete charts (with axis, labels etc.) for example in

xsp and esql

2002-04-04 Thread Bert Van Kets
I've got the name of a column in a String variable and would like to use the value contained in that column in my output. How can I request that value? I need to nest an xsp:expr tag inside an esql:get-string tag. Is this possible? The code snip I include obviously does not work! What is

Re: S: XSP and map:parameter

2002-04-03 Thread Bert Van Kets
Here's a snip from a page that does exactly what you want ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; data xsp:logic String myParam = ; !-- get the parameter from sitemap --

Re: Why isn't Cocoon making into the commercial world?

2002-03-29 Thread Bert Van Kets
In my opinion Cocoon will hit the main stream when the Cocoon building blocks are ready. At the moment people who are new to XSLT need to digest a LOT of info just to make out the fundamentals of Cocoon. Giving people the ability to start out with a minimal application with just a Hello World

[C 2.0.3] adding and removing namespaces

2002-03-29 Thread Bert Van Kets
I tried to use exclude-result-prefix in Cocoon to remove a namespace. It doesn't work. Is there a way to add and remove namespaces in an xsl file? I'm using Cocoon the latest CVS HEAD. Bert - Please check that your question

Re: Database connection problem

2002-03-27 Thread Bert Van Kets
You can find more on mySQL authorisartion in the documents on the mySQL site. One of them is http://www.mysql.com/articles/mysql_intro.html All it comes down to is setting the correct entries in the user and db tables in the mysql database. Bert At 11:43 27/03/2002 +0200, you wrote: Peter

Re: Cocoon-2.0.2 - Status of the Demo Samples

2002-03-27 Thread Bert Van Kets
The employee database which is a part of the samples has NEVER worked correctly and as you probably know many many postings have been sent to the cocoon-users mailing list about this. I greatly appreciate the work and complexity of the product and the time and effort that has been put in by so

sunShine context loading

2002-03-27 Thread Bert Van Kets
I'm trying to load context data from a pipeline using the load command in the sunshine:createcontext tag. I created a pipeline called getusers. Its output is ?xml version=1.0 encoding=UTF-8 ? - data xmlns:xsp=http://apache.org/xsp; xmlns:xspdoc=http://apache.org/cocoon/XSPDoc/v1;

Re: HTML Output Issues

2002-03-26 Thread Bert Van Kets
I had the same problem. Adding xsl:output indent=no / xsl:strip-space elements=* / right under the root node solved the problem. Every image sticks correctly to the previous one in the browser. All the tags follow one another. It's also a very good way to compress the HTML output. There's

Re: Problem with sub-sitemap

2002-03-25 Thread Bert Van Kets
Delete the work directory, the page is probably still in there. Bert At 14:23 25/03/2002 +0100, you wrote: Dear All, I've set up a sub-sitemap under webapps/cocoon/traffic. I modified this sitemap to generate a page from files called tic1.xml/tic1.xsl on access to

newbie: sunShine use in version 2.0.2-dev

2002-03-18 Thread Bert Van Kets
I got sunRise running using a mySQL database for user authentication. Now I'd like to use the data in the sunShine session variables to modify the page content (show the logout button only when people are logged in) but the docs are very silent about *where* to implement the namespace and how

RE: AW: Compression in HTML Serializer ?

2002-03-11 Thread Bert Van Kets
The best solution would be to add JTidy in the HTML serializer. This way the HTML is optimized in a decent fashion, according to the W3C rules. Since JTidy is already included in Cocoon for the HTML file generator, can someone, with a little more programming experience than m,e set me in the

Re: Help connect Cocoon2 to Oracle8

2002-02-28 Thread Bert Van Kets
I had similar problems when trying to connect to a mySQL database. I solved it this way: - Downloaded a CVS HEAD. - removed the hsqldbjar from the xml-cocoon2\lib\optional directory - added my JDBC jar file in the xml-cocoon2\lib\optional directory - removed the

Re: sunRise tutorial here

2002-02-28 Thread Bert Van Kets
Perfect! Exactly what I needed. With a bit of luck I will get my authentication running tonight. That's a lot quicker than in the asp days (yes, I do admit I was a MS guy once). Now all the rest of the sunRuse doc makes sense to me. Thanks a lot, Bert At 17:33 28/02/2002 +0100, you wrote:

Re: Old Content to XHTML

2002-02-28 Thread Bert Van Kets
I'd suggest Tidy (http://sourceforge.net/projects/tidy) or JTidy (http://sourceforge.net/projects/jtidy) from Sourceforge. You can configure them to adjust errors found in the source HTML. Come to think of it. Has anyone thought of implementing JTidy in the standard html serialiser to

RE: Cocoon and Jetty??

2002-02-28 Thread Bert Van Kets
Thanks. But re: Do not forget to remove Cocoon's working directory!!! Where is cocoon's working directory? tomcat/work/localhost/cocoon is the default work directory - Please check that your question has not already been

running 2 cocoon webapps

2002-02-27 Thread Bert Van Kets
I use the latest CVS build (2.0.2-dev) on Win2K server with Tomcat 4.0.1. I use the full build to have the docs handy, but I'm also developing a web application. I copied the war file to another name and then got rid of all the samples in the sitemap and cleaned up all the sample documents.

Re: input type=image src=images/submit.gif name=cocoon-action value=Submit

2002-02-25 Thread Bert Van Kets
Did you download the latest CVS build? That version is 2.0.2-dev!! Classes are updated nearly every day. The easiest way to get a pretty recent CVS version is through http://cvs.apache.org/snapshots/xml-cocoon2/ Bert At 17:03 25/02/2002 +0530, you wrote: Hi Torsten, It is not working even

Re: No X or AWT blues

2002-02-22 Thread Bert Van Kets
Here's how I installed PJA: I copied the PJA jar files to the jre/lib/ext directory and added the following line to the catalina.sh file CATALINA_OPTS='-Xbootclasspath/p:/usr/local/pja/lib/pja.jar -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava2d.font.usePlatformFont=false

Re: CSS with COCOON

2002-02-21 Thread Bert Van Kets
Consider the css request as just another request to cocoon. In other words you must make an entry in your sitemap for css files. Something like this: map:match pattern=*.css map:read src=css/{1}.css mime-type=text/css/ /map:match In you XSL file you have to make sure you get the

Re: OT: Poll - Cocoon usage

2002-02-20 Thread Bert Van Kets
I'm doing two projects now. Both are web sites, but with some extra kick butt features. 1) A site for a society where different people need to manage different parts of the site. One is responsible for the member administration, another for the financial part, another for the organization of

Re: FileWritingTransformer

2002-02-19 Thread Bert Van Kets
At 17:21 18/02/2002 +, you wrote: At 5:05 pm +0100 18/2/02, Bert Van Kets wrote: SUCCESS!! What was it that solved the problem? Apparently the different file system. I can't think of anything else since I try to keep the Linux and Win2K setups as similar as possible. I did the test on SuSE

RE: Cocoon Portal: Great!

2002-02-19 Thread Bert Van Kets
At 13:05 19/02/2002 +0100, you wrote: Hi, I just checked in a fix for this. Could you please try it again? Thanks Carsten PS: This bug existed in Cocoon for ages... What bug is this? I'm struggling with file access errors in Win2K too at the moment. Bert

Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-02-18 Thread Bert Van Kets
There's an error opening the file. As far as I can tell you've got an on line 1 thant's not part of a tag. Bert At 17:38 18/02/2002 +0100, you wrote: Richard Korthuis wrote: Hello, I have already seen several posts about getting Cocoon 2.0 to work with Tomcat 4.0 and JDK 1.4, but I

writing xml to file

2002-02-14 Thread Bert Van Kets
I have built a system where I can edit the content of an xml file in a browser by using html forms. Comparing the request object with the original XML (by use of ID's and aggregation) lets me contruct the updated xml file with the original structure. I would like to write this file to disk,

writing xml to file

2002-02-14 Thread Bert Van Kets
I have built a system where I can edit the content of an xml file in a browser by using html forms. Comparing the request object with the original XML (by use of ID's and aggregation) lets me contruct the updated xml file with the original structure. I would like to write this file to disk,

mod_webapp info needed

2002-02-13 Thread Bert Van Kets
Can anybody tell me where I can ask questions regarding mod_webapp? I installed Tomcat 4.0.1 and Apache 1.3.20 on SuSE 7.3. I'd like to direct the root of my Apache site to a Cocoon webapp. It runs fine in Win2K, but Apache can't seem to talk to Tomcat in SuSE Linux. I'm getting file not

Re: cocoon2 + headless solaris + tomcatv4 not starting

2002-02-12 Thread Bert Van Kets
I copied the PJA jar files to the jre/lib/ext directory and added the following line to the catalina.sh file CATALINA_OPTS='-Xbootclasspath/p:/usr/local/pja/lib/pja.jar -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava2d.font.usePlatformFont=false

Re: Coccon2- Internal Server Error

2002-02-06 Thread Bert Van Kets
Don't forget that Cocoon is compiled with JDK 1.3 If you are using a headless Linux system (no X installed) check out the past threads about Xvfb and PJA. Bert At 22:07 5/02/2002 -0500, you wrote: Hi, I installed cocoon on tomcat 3.2.1. When i go to http://localhost:8080/cocoon i get an error

webDAV

2002-02-06 Thread Bert Van Kets
I'd like to use Tomcat's webDAV with Cocoon. I've been trying all kinds of configurations, but can't get it running. How do I configure the webdav servlet in Tomcat, together with the cocoon servlet ? I know it's more a Tomcat question, but I can't seem to find a Tomcat list. I've copied the

Running Cocoon 2.0.1

2002-02-05 Thread Bert Van Kets
I'm using the following configuration: SuSE 7.3 (headless) JDK 1.3.1_02 Tomcat 4.0.1 PJA 2.3.1 Cocoon 2.0.0 runs perfectly. All the samples and docs are created without any problem. I now would like to install Cocoon 2.0.1 and did the following: 1) Stopped Tomcat 2) Deleted the cocoon.war

Re: File mode cause of sitemap not available problems?

2002-02-04 Thread Bert Van Kets
Hi, I'm using - SuSE 7.3 - Apache 1.3.20 - JDK 1.3.1_02 - Tomcat 4.0.1 - Cocoon 2.0.0 - PJA classes to replace the X-environment This runs fine without any problem. All SVG samples work without any problem. Log files are clean! SuSE is installed as a headless system, so no X is available.

Re: PJA or Xvfb

2002-02-01 Thread Bert Van Kets
(OPTS var or whatever), I may be able to help with your config problems. Regards, Anthony Aldridge AD Support CSC Managed Intranet Hosting Personal GDP: 8-325-4634 MIH Hotline: 8-876-1300 http://mihweb.uk.jpmorgan.com Bert Van Kets [EMAIL PROTECTED] on 31/01/2002 10:58:57 Please respond

Re: PJA or Xvfb

2002-02-01 Thread Bert Van Kets
. Regards, Anthony Aldridge AD Support CSC Managed Intranet Hosting Personal GDP: 8-325-4634 MIH Hotline: 8-876-1300 http://mihweb.uk.jpmorgan.com Bert Van Kets [EMAIL PROTECTED] on 31/01/2002 10:58:57 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: PJA or Xvfb

PJA or Xvfb

2002-01-31 Thread Bert Van Kets
I need to install Cocoon 2 on a Linux headless system (SuSE 7.3 and Tomcat 4.0.1). I have the choice of using PJA (http://www.eteks.com/pja/en/) or Xvfb. Although I can't get PJA to run, even after trying every suggestion on this list and the net, I doubt it's the best solution for a web

Re: Cocoon URL

2002-01-14 Thread Bert Van Kets
This is actually a webapp question. If you copy the cocoon.war file to another name, say test.war, you can access it from that name, /test here. I just copy the original Cocoon.war file to another name, let tomcat unpack it to the new directory and then erase everything I don't need. The

RE: Cocoon URL

2002-01-14 Thread Bert Van Kets
nope, worked for me as described At 22:53 14/01/2002 +, you wrote: Don't you have to change the web.xml file as well ? -Original Message- From: Bert Van Kets [mailto:[EMAIL PROTECTED]] Sent: lundi 14 janvier 2002 22:45 To: [EMAIL PROTECTED] Subject: Re: Cocoon URL This is actually

RE: What are content management and middleware?

2002-01-12 Thread Bert Van Kets
I have started a discussion on on-line content editing for Cocoon a while ago. The goup then also came to the conclusion that a web-based solution would be best, although some people suggested using some local application. My project needs browser based editing since the content will be

Re: What are content management and middleware?

2002-01-12 Thread Bert Van Kets
DBPrism does not allow the user to edit the content of the XML file. I don't see the relevance of your mail in this thread. I was talking about a way to allow a user to edit the content of an XML file in a browser, so he can update the content and the navigation system of his website. Bert

Re: What are content management and middleware?

2002-01-12 Thread Bert Van Kets
with tech pubs but not web-sites. Then when you need to provide the XML to various apps, transform it into the XML you need. best, -Rob - Original Message - From: Marcelo F. Ochoa [EMAIL PROTECTED] Bert Van Kets wrote: I have started a discussion on on-line content editing

Re: With Cocoon 2, in my xsl file SCRIPT LANGUAGE='JavaScript1.2' SRC=hierMenus.txt does'nt work

2002-01-04 Thread Bert Van Kets
Are you sure there's a mapping for your txt extention. Just like you need a mapping for JPG and GIF file extention, you will need a mapping to the TXT file. Cocoon captures the request to the txt file, but since he doesn't know what to do with it can't give a response, hence the 404. Check

Re: Dummy proof XML on-line editing

2001-12-21 Thread Bert Van Kets
How to create a textarea that has bold, italic and all the formating stuff? That's not possible of course. HTML textareas don't support formatting. The formatting will have to be addressed by HTML tags, unless the textarea is replaced with an Applet or a Java Web Start Application, like

Getting an image out of a BLOB field

2001-12-21 Thread Bert Van Kets
Hi Guys, if I have images stored in BLOB fields in a database, how do I get them out of there and to the browser? If I use the SQL generator/transformer in the sitemap I would get XML containing the binary data. Can this data be sent to the browser as a image/jpg mime type? Is this the way to

Dummy proof XML on-line editing

2001-12-20 Thread Bert Van Kets
To complement the Cocoon framework and to give the customer access to the site navigation and the content of his pages, I would like to add an on-line XML editor to a Cocoon project. I want to present the content of the XML file in a HTML form, so that the owner of the site can modify, add or

Re: Dummy proof XML on-line editing

2001-12-20 Thread Bert Van Kets
That's an option I considered too. But as Mauricio already knows it's not usable on my project since the editing will be done by a lot of people on very different places. that's why I'm going the browser way. Bert At 08:37 20/12/2001 -0200, you wrote: A different approach i'm working with, is

Re: Dummy proof XML on-line editing

2001-12-20 Thread Bert Van Kets
At 12:46 20/12/2001 +0100, you wrote: Hi, It would be very very nice also to have this (web)application to give you suggestions (as a simple list) about elements or attributes that may or must be added into the xml document (in a specific edit point) based on an xsd definition file (instead of

Translating XML from memory instead of disk

2001-12-20 Thread Bert Van Kets
Hi Cocooners, I'd like to create an HTML report from data stored in a database. If I create an XML document in memory, how do I go about having it translated with Cocoon2 to my HTML report? Do I need to create a generator, or can I just add something to the sitemap so that the source for the

Re: How to offer cocoon virtual hosting?

2001-12-19 Thread Bert Van Kets
This is a simple one. if you copy the cocoon.war file to a new name, ex. host1.war, you actually create a new webapp called host1. You can access this Cocoon installation through http//yourdomain/host1 If you configure Apache so that is redirects a certain subdirectory (or the root for that

Cocoon and .NET

2001-12-18 Thread Bert Van Kets
Does anybody know where I can find more info on integrating .NET with Cocoon? For example writing serializers or generators in .NET. Our company would like to use Cocoon as a framework, but most of our programmers are into Microsoft programming. I know that some people will think I'm heavily

Cocoon and Slide

2001-12-17 Thread Bert Van Kets
I would like to use Slide with Cocoon, but can't seem to find any documentation on the subject. Does anybody have experience with this? How can I edit the Cocoon XML files on-line? When will indexing and searching be implemented? Thanks, Bert

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: Installing Coccon 2

2001-12-06 Thread Bert Van Kets
Sounds like you have the classical Build problem from version rc2. This was solved by release rc2a. I installed the rc2a version 3 different computers without any configuration or modiification to Cocoon. Every time I used Win2k and Tomcat 4. Bert At 13:55 6/12/2001 +, you wrote: Hello

<    1   2