Re: html to pdf problem

2002-11-14 Thread Joerg Heinicke
Isn't the error message straightforward? You are using a master-name twice. I.e. search for the attributes master-name in your FO and rename, when there is one duplicate. Regards, Joerg saikat wrote: Hi, I'm facing problems with converting a html file to pdf format.I'm using cocoon2.0

RE: XMLForm and dates

2002-11-14 Thread Sylvain.Thevoz
Hello Jan, Thank you for your reply. Yes, your understanding is right. The problem appears because I want to display the date in the form. But the date in the form isn't really useful and I could cancel the idea to display it. I'm trying to insert/update database with an DatabaseAccess layer

Authenication FW: Single sign-on to multiple handlers

2002-11-14 Thread Alex Romayev
Hello, I'm figuring out my way through the authentication and portal frameworks and ran into a problem of logging into multiple handlers. It seems that there is no single sign-on to all handlers facility provided by the framework. Here is a scenario. I have three roles of users in the

Update Orion Web Server - Cocoon Integration Instructions

2002-11-14 Thread Steven Punte
Updated instructions for integration of Orion Web Server(http://orionserver.com) version 1.5.4 with ApacheCocoon version 2.0.3 can be found at: http://www.candlelightsoftware.com/orion-cocoon.html Also this combination is tested against JDK 1.4.1! Steven P. PunteCandlelight SoftwareBy Candlelight

Re: link rel=

2002-11-14 Thread Jeremy Quinn
On Tuesday, Nov 12, 2002, at 13:55 Europe/London, Alessio Sangalli wrote: Jeremy Quinn wrote: what I do to deal with this kind of thing is to have a menu.xml structure, that is imported into all my pages via CInclude, then xslt mh, I've never understood the difference between Xinclude and

Re: link rel=

2002-11-14 Thread Diana Shannon
On Tuesday, November 12, 2002, at 08:55 AM, Alessio Sangalli wrote: mh, I've never understood the difference between Xinclude and Cinclude... Have you checked: http://xml.apache.org/cocoon/faq/faq-transformers.html#faq-2 Diana

Build lastest CVS broken: cannot resolve symbol class TestShower

2002-11-14 Thread Antonio Gallardo Rivera
I am using Java 1.4.1_01. The command line was: ./build.sh -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp cocoon-2.1/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/helpers/MirrorRecorder.java:72: cannot resolve symbol symbol : class TestShower location:

Caching results of SQL Queries?

2002-11-14 Thread Jeremy Quinn
Dear All, I have a set of related Tables in MySQL, which are used to build part of a site I am working on. We use SQL because of the related nature of the data, rather than any great need for dynamics. My SQL queries are broken down into 'components' which are CIncluded into my documents

cocoon to oracle ?

2002-11-14 Thread Dhiman Paul
Dear All, Is it possible to communicate with oracle via cocoon ? Please say me the way to do that ? Thanks.

R: cocoon to oracle ?

2002-11-14 Thread Luca Morandini
Paul, yes indeed. You can use the ESQL tag library or the SQLTransformer to do so, both methods support plain-vaniall SQL and stored procedures. Read the respective doc in the Cocoon site, and ask here only for specific problems, please. Best regards, P.S. Please, use plain text messages next

Difference between cocoon: and file:// in map:part

2002-11-14 Thread Piotr Legiecki
Hi I'm new to cocoon and don't get the difference between map:part src arguments: map:part src=cocoon:/somefile.xml map:part src=cocoon:/anotherfile.xml means that cocoon should join two xml files (taken from some misterious place) But the same happens with this: map:part

R: Difference between cocoon: and file:// in map:part

2002-11-14 Thread Luca Morandini
Piotr, the cocoon: pseudo-protocol doesn't search for files, but for pipelines. With this pseudo-protocol you can build pipelines and call them (more or less as subroutines) from any aggregation. Best regards, Luca Morandini [EMAIL PROTECTED] -Messaggio originale- Da: Piotr Legiecki

RE: Difference between cocoon: and file:// in map:part

2002-11-14 Thread Reinhard Poetz
Piotr, At http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html you should find some answers to your questions. Regards, Reinhard -Original Message- From: Piotr Legiecki [mailto:piotrlg;sci.pam.szczecin.pl] Sent: Thursday, November 14, 2002 1:53 PM To: [EMAIL PROTECTED]

Re: R: Difference between cocoon: and file:// in map:part

2002-11-14 Thread Piotr Legiecki
Luca Morandini wrote: Piotr, the cocoon: pseudo-protocol doesn't search for files, but for pipelines. With this pseudo-protocol you can build pipelines and call them (more or less as subroutines) from any aggregation. I see. So when I want to separate navigation and content (having menu.xml

RE: R: Difference between cocoon: and file:// in map:part

2002-11-14 Thread Reinhard Poetz
Piotr, -Original Message- From: Piotr Legiecki [mailto:piotrlg;sci.pam.szczecin.pl] Sent: Thursday, November 14, 2002 2:36 PM To: [EMAIL PROTECTED] Subject: Re: R: Difference between cocoon: and file:// in map:part Luca Morandini wrote: Piotr, the cocoon: pseudo-protocol

R: R: Difference between cocoon: and file:// in map:part

2002-11-14 Thread Luca Morandini
Piotr, Right? Yes :) But don't serialize those parts as HTML, use the XML serializer instead. Hm. I'm not sure about it. What happens when line map:part src=cocoon:/menu.xml/ is executed? Cocoon jumps directly to pipeline which matches the pattern, makes something there (ie *map:read* (or

Error with Portal and Jboss

2002-11-14 Thread Thorsten Mauch
Hi All I use teh lastest cocoon from CVS with Jboss 3.0.4 bundled with tomcat 4.1.12. When is log on in the portal sample i receive an error: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:252) at

svg

2002-11-14 Thread Boris Althaus
Hallo, does exists something like a svg2gif-Serializer. Boris

Re: R: Difference between cocoon: and file:// in map:part

2002-11-14 Thread Piotr Legiecki
Reinhard Poetz wrote: So the joined parts are not xml files anymore but html files? So I can't use map:transform src=styles/menuandbook2html.xsl/ on them anymore and I can't also use map:serialize/ You have to possiblities: 1. Each of the map:part-pipelines returns the xml in the form

FW: Coccoon 2.1 and XForms

2002-11-14 Thread Balint Halasz
-Original Message- From: Balint Halasz Sent: Thursday, November 14, 2002 3:55 PM To: '[EMAIL PROTECTED]' Subject: Coccoon 2.1 and XForms Hi, I am new in the list and cocoon as well. In my project XForms may be used. I have read that Cocoon 2.1 supports XForms, however

RE: R: Difference between cocoon: and file:// in map:part

2002-11-14 Thread Reinhard Poetz
Piotr, Here I don't need to transform one xml to another one. I need html as output. 2. map:aggregate element=site map:part src=content/menu.xml/ map:part src=content/books.xml/ /map:aggregate map:transform

AW: Coccoon 2.1 and XForms

2002-11-14 Thread Michael Bald
Hi Balint! Answer to Q2:   We are using XForms with Cocoon 2.1 for around two months and we don´t have any problems. Greetings Michael -Original Message- From: Balint Halasz Sent: Thursday, November 14, 2002 3:55 PM To: '[EMAIL PROTECTED]' Subject: Coccoon 2.1 and

RE: Coccoon 2.1 and XForms

2002-11-14 Thread Reinhard Poetz
-Original Message- From: Balint Halasz Sent: Thursday, November 14, 2002 3:55 PM To: '[EMAIL PROTECTED]' Subject: Coccoon 2.1 and XForms Hi, I am new in the list and cocoon as well. In my project XForms may be used. I have read that Cocoon 2.1 supports XForms, however this

RE: Coccoon 2.1 and XForms

2002-11-14 Thread Balint Halasz
Thanks! Thats great! Can you give me some hints from where I can download cocoon version which supports Xforms (ie the one your are using) also some guidelines for the first steps to get it work would be helpful. Balint+ -Original Message- From: Michael Bald [mailto:[EMAIL

element use in svg

2002-11-14 Thread Yury Mikhienko
Hi All! I have the cocoon2.0.2 on Tomcat4.0.4 and I tried to generate png from following svg: mean.svg ?xml version=1.0 standalone=no? svg width=600 height=480 xmlns:xlink=http://www.w3.org/1999/xlink; descProduced by GNUPLOT (svg.trm written by Amedeo Farello - [EMAIL PROTECTED])/desc defs

copy/paste

2002-11-14 Thread Eric BASLEY
Hi, let's take cocoon example cocoon/forms/employee from 2.0.3 release, NT, Explorer or Mozilla When I copy from Word the text cou'cou and paste to a texfield ( '/Employee Name'), /after update I will see cou#8217;cou !!! But, if instead you pasting, I'm typing cou'cou the result is correct.

developing/installing custom actions without restarting app server?

2002-11-14 Thread Josema Alonso
Hi, all. I'm writing some actions for XMLForms. Everytime I modify the file to make some tests, I have to stop Tomcat, copy the action to the correct subdirectory under WEB-INF/classes and start it again. If not, Tomcat uses the old action. I'm wondering, is being cached somewhere? Is there a

RE: copy/paste

2002-11-14 Thread TREGAN Fabien
When you press some keys (like ', , ?) in Word, the keypress is interpreted and translated. ie : if you press after a space, you get a «+NonBreakableSpace, if you type it after another char, you get »+NonBreakableSpace. If you copy/paste l'essai in Word, and then type the same thing, you will

command line usage - FINALLY SOLVED

2002-11-14 Thread Alessio Sangalli
But not as I expected at the beginning. Instead it's much simpler to write all the url inside a file: $ cat url-list http://localhost:8080/cocoon/lirc/index.html http://localhost:8080/cocoon/lirc/tools.html http://localhost:8080/cocoon/lirc/parts.html

RE: developing/installing custom actions without restarting app server?

2002-11-14 Thread Reinhard Poetz
I'm wondering, is being cached somewhere? Is there a way to install the action and make it work without restarting the server? No, as far as I know there is no way Regards, Reinhard - Please check that your question has

AW: Coccoon 2.1 and XForms

2002-11-14 Thread Michael Bald
Go to Installing on the Cocoon homepage à   http://xml.apache.org/cocoon/ There is described how you can install the 2.1 Version or better the latest Version via CVS. After installing cocoon you go to User Guide (navigation menu of the homepage) à press the link web application

inserting comment in html

2002-11-14 Thread Alessio Sangalli
Hi, I'm using cocoon to generate static html for a plain webserver. However this server has a 'counter' which needs the following code inside the html: !--#exec cgi=/cgi-bin/counter.pl-- How can I insert such a string from an xsl trasformation? bye thank you as

RE: developing/installing custom actions without restarting app server?

2002-11-14 Thread Cedric Picard
The only way I know to get round this problem is to actually use jboss rather than tomcat. When a jar/war is deployed in jboss, it automatically removes the previous jar/war. Regards, Cedric -Original Message- From: Reinhard Poetz [mailto:reinhard_poetz;gmx.net] Sent: 14 November 2002

Re: R: Strings to SAX events

2002-11-14 Thread Damian Chojna
Hi Reinhard, thanks for the last post. I also need to add a string as XML elements into an XSP generator and I used your suggestion (below). It seems to work well, but I have two questions: 1) I've noticed that the API states that the Parser is deprecated. I'm currently using 2.0.3, if I

element use in svg

2002-11-14 Thread Yury Mikhienko
Hi All! I have the cocoon2.0.2 on Tomcat4.0.4 and I tried to generate png from following svg (another sample :))): test.svg: ?xml version=1.0 standalone=no? svg width=10cm height=3cm viewBox=0 0 100 30 xmlns=http://www.w3.org/2000/svg; xmlns:xlink=http://www.w3.org/1999/xlink;

Re: R: Strings to SAX events

2002-11-14 Thread Ludovic de Beaurepaire
Hi Damian, Perhaps it helps : If you are in XSP, the following tags resolve it without java code : ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:util=http://apache.org/xsp/util/2.0; ... util:include-expr util:exprxsp:expr yourXMLString

RE: developing/installing custom actions without restarting app server?

2002-11-14 Thread Ricardo Trindade
I believe tomcat 4.1 also supports this. -Original Message- From: Cedric Picard [mailto:C.Picard;kainos.com] Sent: quinta-feira, 14 de Novembro de 2002 17:00 To: [EMAIL PROTECTED] Subject: RE: developing/installing custom actions without restarting app server? The only way I know to get

Cocoon 2.0.3 under JDK 1.4.1

2002-11-14 Thread Franz-Josef Herpers
Hi, since today I never had any problems installing Cocoon under Tomcat even with JDK 1.4. But now I have the following configuration: Windows 2000 SP 3 Cocoon 2.0.3 for JDK 1.4 JDK 1.4.1 Tomcat 4.1.12 in the endorsed directory of JDK reside xalan.jar (Xalan 2.4.1) and the Files xercesImpl.jar

Re: developing/installing custom actions without restarting app server?

2002-11-14 Thread Charles Brewster
Josema Alonso wrote: Hi, all. I'm writing some actions for XMLForms. Everytime I modify the file to make some tests, I have to stop Tomcat, copy the action to the correct subdirectory under WEB-INF/classes and start it again. If not, Tomcat uses the old action. I'm wondering, is being cached

Re: Cocoon 2.0.3 under JDK 1.4.1

2002-11-14 Thread Joerg Heinicke
Hi Franz, Franz-Josef Herpers wrote: Hi, since today I never had any problems installing Cocoon under Tomcat even with JDK 1.4. But now I have the following configuration: Windows 2000 SP 3 Cocoon 2.0.3 for JDK 1.4 JDK 1.4.1 Tomcat 4.1.12 in the endorsed directory of JDK reside xalan.jar

Re: developing/installing custom actions without restarting app server?

2002-11-14 Thread Josema Alonso
Ouch... Thanks, Reinhard. - Original Message - From: Reinhard Poetz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 5:47 PM Subject: RE: developing/installing custom actions without restarting app server? I'm wondering, is being cached somewhere? Is there a

dynamic select boxes in XMLForms?

2002-11-14 Thread Josema Alonso
Hi, all. I tried the XMLForm wizard demo where I see some select boxes created for processor, ram, servlet engine and java version elements in ths system information page. I see the values for those are hard coded in 'system.xml' and I want to create a select box from a DOM Node. I got the

Re: Cocoon 2.0.3 under JDK 1.4.1

2002-11-14 Thread Franz-Josef Herpers
Hi Joerg, thanks for the fast reply, but that's not the cause of the problem. I cleaned the work directory and tried to fill the endorsed directory of JDK and Tomcat with nearly every possible combination of files: the original jar files from the Cocoon 2.0.3 distribution the newest jar

Re: R: Strings to SAX events

2002-11-14 Thread Andy Lewis
This should really be a code snippet... Hi Damian, Perhaps it helps : If you are in XSP, the following tags resolve it without java code : ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:util=http://apache.org/xsp/util/2.0; ...

RE: R: Strings to SAX events

2002-11-14 Thread Reinhard Poetz
-Original Message- From: Damian Chojna [mailto:d.chojna;adv.pl] Sent: Thursday, November 14, 2002 6:02 PM To: [EMAIL PROTECTED] Subject: Re: R: Strings to SAX events Hi Reinhard, thanks for the last post. I also need to add a string as XML elements into an XSP generator and I

Re: inserting comment in html

2002-11-14 Thread Upayavira
!--#exec cgi=/cgi-bin/counter.pl-- How can I insert such a string from an xsl trasformation? xsl:comment#exec cgi=/cgi-bin/counter.pl/xsl:comment should do it. Regards, Upayavira bye thank you as - Please

AW: Error with Portal and Jboss

2002-11-14 Thread Thorsten Mauch
as a endorsement: my OS is win200, JDK 1.4_02 and i compiled cocoon with build -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp also i reviwd all logfiles, but i can't find any error -Ursprüngliche Nachricht- Von: Thorsten Mauch [mailto:mauch;imkenberg.de] Gesendet:

Re: inserting comment in html

2002-11-14 Thread Alessio Sangalli
Upayavira wrote: #exec cgi=/cgi-bin/counter.pl should do it. perfect, thank you and sorry for such a stupid question. bye as - Please check that your question has not already been answered in the FAQ before posting.

Re: link rel=

2002-11-14 Thread Alessio Sangalli
Jeremy Quinn wrote: yours code is quite different than mine because I use a different approach: this is the xml data I Xinclude in all files: structure chaptertitleIndex/titlehrefindex.html/href/chapter chaptertitleTools/titlehreftools.html/href/chapter

AW: Cocoon 2.0.3 under JDK 1.4.1

2002-11-14 Thread Franz-Josef Herpers
Hi again, I solved the problem. The xalan.jar in the endorsed directory of the JDK where too new. If I remove it everything works fine. Now there are no files in my endorsed directory and Cocoon works... Franz -Ursprüngliche Nachricht- Von: Franz-Josef Herpers

Cocoon 2.1 DEV with Jboss 3.0.4/Jboss WEB (jetty) Redirection Problem

2002-11-14 Thread Thorsten Mauch
Hi No i try to run cocoon with Jboss Web witch is jetty. When i type: http://127.0.0.1:8080/cocoon then I get HTTP ERROR: 404 /documents/index Not Found RequestURI=/documents/index becuase it redirects to http://127.0.0.1:8080/documents/index while:

RE: bad class file exception

2002-11-14 Thread McNeil, Shane
Title: RE: bad class file exception That's it. Boy is my face red! Thanks :) -Original Message- From: Bobby Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, 14 November 2002 2:53 PM To: [EMAIL PROTECTED] Subject: Re: bad class file exception McNeil, Shane wrote: Hi, I am

XSP:Expr Question.

2002-11-14 Thread Parmley, Scott C.
Hello everyone. I need some advice reguarding xsp:expr. First, let me give you the scenerio: I am writing a session bean that contains a method whose ouput is xml tags. The intention is to take this output and print it in my xsp document, similarly to JSP out.write(). The problem I am

Re: svg

2002-11-14 Thread Joerg Heinicke
Cocoon uses Batik and http://xml.apache.org/batik/svgrasterizer.html says: The provided formats are JPEG, PNG, and Tiff, however the design allows new formats to be added easily. Joerg Boris Althaus wrote: Hallo, does exists something like a svg2gif-Serializer. Boris

help with proposal: Cocoon docs via Forrest

2002-11-14 Thread David Crossley
Would anyone who is interested in Cocoon documentation please help to discuss the proposal to use Forrest to produce the Cocoon documentation. This is being done on the cocoon-docs mailing list. We need your help. Here is the current thread:

The Sitemap is null

2002-11-14 Thread Greg Weinger
I just found a solution to a nasty intermittent problem with cocoon 2.0.3, so for the sake of posterity (and potential Google searchers) I'm posting it. The exception was this: java.lang.RuntimeException: The Sitemap is null, this should never be!at