Use PJA: How to run cocoon2 without X11

2001-07-06 Thread Steven Punte
Another possiblity, especially if a graphics card is not available, is to use the PJA toolkit. Either PJA classes can be directly invoked, or with enought finess of awt.properties, all graphics activity will be routed to this pure java implementation. Result is very platform independent operati

RE: FOP border question

2001-07-06 Thread Drasko Kokic
Thanks Darrel ... it works :-)) --- Darrel Riekhof <[EMAIL PROTECTED]> wrote: > I got it working with this line for the 3rd col in > my table: > > border-left-color="black" > border-left-style="solid" border-left-width=".3mm"/> > > > Darrel > > -Original Message- > From

RE: FOP border question

2001-07-06 Thread Darrel Riekhof
I got it working with this line for the 3rd col in my table: Darrel -Original Message- From: Drasko Kokic [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 3:11 PM To: [EMAIL PROTECTED] Subject: Re: FOP border question I have tried it right now and even thought it

Re: FOP border question

2001-07-06 Thread Drasko Kokic
I have tried it right now and even thought it does not generate any warnings/errors in the log file ... it still leave the PDF without any table borders :-( Thanks for your help Drasko --- Lajos Moczar <[EMAIL PROTECTED]> wrote: > Just add "border-width" and "border-color" > attributes to your

[C2.0b1] question about XSP generated Java files

2001-07-06 Thread Drasko Kokic
I think I have found something very strange in the way Java files are being generated from the XSP files. I have situation like described in the attached email. There is a main sitemap and a sub-sitemap for the sub-URI LOOP. In the LOOP sub-sitemap I have the following code:

RE: [C2.0b1] Resource Not Found

2001-07-06 Thread Drasko Kokic
You are probably right about problems with JS and browsers, but here is something else wrong. Why am I having empty Java file in the work directory? It looks like a fault in the XSP generator. And, also, why is the file in question (Checkin_xsp.java) not under LOOP/SingleLogin subdirectory? Just

org.w3c.dom.Document as param, html as output

2001-07-06 Thread JOEL BENVENISTE
I'm trying to find a class/method (possibly xalan) that will take an org.w3c.dom.Document as an arg which will include an processing instruction and have an ouput of html. I need to have this done on the fly without the xml doc saved in a directoryany suggestions??

RE: [C2.0b1] Resource Not Found

2001-07-06 Thread HALLOWELL,KARL (HP-Cupertino,ex1)
IMHO, it looks like a javascript problem here. Both Netscape and IE have their problems with javascript. The "Resource Not Found" error is something I've seen in Netscape browsers before when they open javascript that-Netscape-wasn't-meant-to-view. I'm not familiar with how Cocoon 2 does browser v

Re: FOP border question

2001-07-06 Thread Lajos Moczar
Just add "border-width" and "border-color" attributes to your fo:table-cell, fo:table or fo:table-row elements. That should do it. Regards, Lajos Moczar galatea.com Darrel Riekhof wrote: > Is there a FOP mailing list? > > I have a table with 3 cols and several rows. I want a border around

[C2.0b1] java.lang.ClassNotFoundException

2001-07-06 Thread Drasko Kokic
Hello everybody, this is already the second time I am getting stucked with this problem. Unfortunately the first time I have "solved" the problem in untraceble way :-( I am using submaps like following context = KontoCheck submap = LOOP this creates properly the sitemap_xmap.java in the bla

Re: How to run cocoon2 without X11

2001-07-06 Thread C. Gaffga
Now it works, clever and simple idea. Thank you very much Christoph Gaffga - Original Message - From: "Marcus Crafter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 7:13 PM Subject: Re: How to run cocoon2 without X11 > On Fri, 6 Jul 2001, C. Gaffga wrote: >

FOP border question

2001-07-06 Thread Darrel Riekhof
Is there a FOP mailing list? I have a table with 3 cols and several rows. I want a border around the outside of the table, and a border between col 2 and 3. Can't figure it out from the examples... Want it to look something like this: |---|| | c

Re: How to run cocoon2 without X11

2001-07-06 Thread Sergio Carvalho
You can, alternatively, disable batik alltogether, if you don't use it. Search sitemap.xmap for components using fop - I think its just the FOPSerializer, and associated pipelines. On Fri, 6 Jul 2001 19:13:00 +0200 (CEST), Marcus Crafter <[EMAIL PROTECTED]> wrote: -- > On Fri, 6 Jul 2001, C.

RE: Cocoon2 web-app query

2001-07-06 Thread John Waugh
Title: RE: Cocoon2 web-app query ok, I think I have the answer. There is only one C2 servlet in existance that takes the calls using Cocoon (.java), sitemap and the remainder of the url path to determine the processing. Presumably therefore there are several places where the threads will enco

Re: How to run cocoon2 without X11

2001-07-06 Thread Marcus Crafter
On Fri, 6 Jul 2001, C. Gaffga wrote: > How can I run cocoon 2 without X11. Why is a Display needed??? An Xserver is needed due to the batik library fop uses. batik uses java's graphics code, which in turn requires the Xserver. If you don't have an xserver on your system,

Calling Cocoon form the command line.

2001-07-06 Thread Paul Sprague
Hi,   I've been trying to call cocoon from the command line like so, I know it's ugly. Basically the classpath contains all the jars need to run cocoon plus some weblogic stuff.   java -classpath g:\javalibs\cocoon-1.8.2\lib\fop_0_15_0.jar;g:\javalibscocoon-1.8.2\lib\sax-bugfix.jar;g:\javali

Re: Cocoon 2 errors

2001-07-06 Thread Andre Juffer
Hi Dinkar, I have had exactly the same problem, several times in fact. I have been running tomcat with apache and cocoon2. I have restarted everything manually and the problem disappeared. The reason was not clear to me. Andre. Dinkar Ganti wrote: > I am getting the following internal server

How to run cocoon2 without X11

2001-07-06 Thread C. Gaffga
Hi! How can I run cocoon 2 without X11. Why is a Display needed??? Christoph Gaffga > Hi ! > > for me, this is a strange error. Why does C2 need the X server. > And how can I fix it. > > thanks in advance. > > Christoph Gaffga > > > > ERROR 41966 [cocoon ] (Thread-5): Error compiling sit

Cocoon2 web-app query

2001-07-06 Thread John Waugh
Title: Cocoon2 web-app query I know this might sound like a bit of a dense question but: how many servlets are running in the cocoon2 example after installation?  am i right in thinking there is only 1 servlet CocoonServlet.java that runs, and the content differences are handled by the Cocoon.

Cocoon 2 errors

2001-07-06 Thread Dinkar Ganti
I am getting the following internal server error while running Cocoon2 with stand-alone version of Tomcat. org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179) at org.apache.co

C1->C2 migration

2001-07-06 Thread Andre Juffer
Hi, I have recently tried Cocoon2 (with Tomcat 3.2.1, Slackware Linux, Apache 1.3.*) and got everything to work. That is, it was no problem to read http://localhost/cocoon. I did not modify any of the existing configuration files of Apache or Tomcat, when installing cocoon2. I have used in th

Re: ESQL Cocoon problem (string length)

2001-07-06 Thread Gustavo Mejia
I am so sorry for this !! I know that all of you are working and that all the issues are very important, I don't want to make my question more that the other! Really, I don't want to bother you . Again, please excuse me !! Gustavo Mark McGettrick wrote: > > HI ! > > > > Any news about thi

xml2xml encoding xalan/cocon

2001-07-06 Thread Andres Voldman
People: I have been having this problem for a while and I can't figure what is wrong. I will really appreciate any tips. I have a UTF-8 encoded xml file and I'm converting it to another xml using XSL. The problem is that in the transformed xml the spanish characters instead of preserving the UF

Re: ESQL Cocoon problem (string length)

2001-07-06 Thread Mark McGettrick
> HI ! > > Any news about this issue ?? > > > Thanks!! > > Gustavo Mejia wrote: > > > Hello !! > > > > I have the same problem that Matthew had, did someone get the solution > > ?? how can I fix it ?? > > > > Thanks for your help !! ok, it's annoying enough that you keep posting expecting instan

ESQL Cocoon problem (string length)

2001-07-06 Thread Gustavo Mejia
HI ! Any news about this issue ?? Thanks!! Gustavo Mejia wrote: > Hello !! > > I have the same problem that Matthew had, did someone get the solution > ?? how can I fix it ?? > > Thanks for your help !! > > >***

On the fly XSLT generation

2001-07-06 Thread Markus Strickler
Hi- I'd like to generate the stylesheet my XML files are transformed with on the fly by transforming another XML file with a corrosponding stylesheet. So for example I have an XML File main.xml, that contains something like this: page1 head1.xsl page2 head2.xsl and an XML file page1.x

RE: esql problem

2001-07-06 Thread JEULIN Olivier
It seems you should put it inside xsp:logic like this rowNum = ; (if C2 is a bit like C1 ;) ) > -Message d'origine- > De : Marco Spinetti [mailto:[EMAIL PROTECTED]] > Envoyé : vendredi 6 juillet 2001 15:08 > À : [EMAIL PROTECTED] > Objet : R: esql problem > > > I saw prova_xsp.java an

Re: R: esql problem

2001-07-06 Thread Christian Haul
On 06.Jul.2001 -- 03:07 PM, Marco Spinetti wrote: > I saw prova_xsp.java and I found this code: > > while (_esql_query.resultset.next()) { > this.characters("\n\t\t\t\t\trowNum = "); > (_esql_query.resultset.getInt("result")) The above is not terminated. A

R: esql problem

2001-07-06 Thread Marco Spinetti
I saw prova_xsp.java and I found this code: while (_esql_query.resultset.next()) { this.characters("\n\t\t\t\t\trowNum = "); (_esql_query.resultset.getInt("result")) this.characters(";\n\t\t\t\t\t"); if (_esql_connection.use_

RE: redirect to port 80

2001-07-06 Thread tom . klaasen
Goedendag Pierre, It's not Cocoon that decides which port to use, but tomcat. You might want to check out $TOMCAT/conf/server.xml, under the heading "Connectors". hth, tomK -Original Message- From: Pierre-Henry Perret [mailto:[EMAIL PROTECTED]] Sent: maandag 2 juli 2001 11:13 To: [EMAI

RE: esql problem

2001-07-06 Thread JEULIN Olivier
I'm using C1, it was a guess for C2... Let's try again :) : as Chris tolds you, take a look at the generated java file, I bet the ';' is causing this error (taglibs' elements generate java code and are often nested in functions call) Olivier > -Message d'origine- > De : Christian Haul [m

Re: esql problem

2001-07-06 Thread Christian Haul
On 06.Jul.2001 -- 02:30 PM, JEULIN Olivier wrote: > Well, esql:get-int needs a column name, > so try: "select count(*) as thecount from..." > and use: That's not true. It takes either a label or a number. So should work (and it's translated correctly to _esql_query_resultset.getInt(1). Proble

R: esql problem

2001-07-06 Thread Marco Spinetti
Hi Oliver, I tried what you suggest but the error is the same: org.apache.cocoon.ProcessingException: Failed to execute pipeline.:org.apache.cocoon.ResourceNotFoundException: Language Exception:org.apache.cocoon.ProcessingException: Language Exception:org.apache.cocoon.components.language.Languag

[C20] FP taglib

2001-07-06 Thread Viktors Rotanovs
Hi, does FP taglib exist in Cocoon 2.0, or should I use something else to write to XML files? Best Wishes, Viktors Rotanovs Phone +371 7377-472, fax +1 760-418-8128 viktors@IRCNET, ICQ# 113090923, AOL: ViktorsRotanovs - Please

RE: esql problem

2001-07-06 Thread JEULIN Olivier
Well, esql:get-int needs a column name, so try: "select count(*) as thecount from..." and use: Olivier -Message d'origine- Hi all, I have a question about esql. In my application I do a query "select count(*) from." and I try to get the number result in this way: elenco1

Re: outputting XML tags

2001-07-06 Thread Vartika Bhandari
Thanksbut I am using C1 and I am unable to change mime-type whatever I do. Anyway I have managed to get the display I wanted by using disable-output-escaping and specifically outputting tag markup in the stylesheet.but there is another problem.in certain circumstances, I want to force

esql problem

2001-07-06 Thread Marco Spinetti
Hi all, I have a question about esql. In my application I do a query "select count(*) from." and I try to get the number result in this way:   elenco1 query   rowNum = ;    but cocoon2 gives me a error:   Invalid expression statement. (_esql_q

Re: python

2001-07-06 Thread Chris Joelly
Hello! does anybody know about a jperl.jar? ;-) Chris On Fri, Jul 06, 2001 at 11:58:12AM +0200, Carsten Ziegeler wrote: > Cocoon 2 has a ScriptGenerator which can theoretically generate > xml using any script languange. > > The cocoon 2 distribution contains an example for python, > all you ne

AW: python

2001-07-06 Thread Carsten Ziegeler
Cocoon 2 has a ScriptGenerator which can theoretically generate xml using any script languange. The cocoon 2 distribution contains an example for python, all you need to get it work is the jython.jar from www.jython.org and put it into your WEB-INF/lib directory. Carsten > -Ursprüngliche

python

2001-07-06 Thread franck delarue
hi dear users, I'd like to use python programs instead of xsp pages (Python page -> xml -> xsl -> html) on cocoon2, linux. Does anyone have informations or links about it ? = _____ \ \ |\ /|

xmlns:util

2001-07-06 Thread franck delarue
hi everyone, i'm using cocoon2 on linux and i'm trying to use the tag, but when I just declare the namespace : xmlns:util="http://www.apache.org/1999/XSP/Util"; in my xsp page, which is very simple (the most). Cocoon2 throws me an error : org.apache.cocoon.ProcessingException: Language

FP taglib and concurency access

2001-07-06 Thread LEBRETON Philippe
i try the samples FP taglib, and my question is for the conurency access of the index.xml and the item node. what's append when two user edit the same item and save different infomation? does FP manage the concurrency access of the same node? Thanks Philippe LEBRETON --

RE: [C2] and posgresql

2001-07-06 Thread Beauprez Sven
If you use postgresql only because you need an open source DB, I suggest you switch to MySQL. It is a very good DB and the JDBC drivers implement everything you need. The SQLTransformer worked fine on it. http://www.mysql.com http://mmmysql.sourceforge.net/ Sven > -Original Message-

RE: [C2] Possible Solution for PDF Bug with IE 5.x !??

2001-07-06 Thread Torsten Curdt
> On Thu, 5 Jul 2001, Torsten Curdt wrote: > > > I don't think it has anything to do with content-length, it has to do > > > with the filename extension. > > > > Sorry, but this cannot be true since in C2 the filename extension is > > .pdf as declared in the sitemap. > > I am not talking about C

Re: PlainText Output

2001-07-06 Thread Adrian Geissel
- Original Message - From: Daniel Pfuhl <[EMAIL PROTECTED]> To: User CocoonList <[EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 9:05 PM Subject: PlainText Output > Hello > > can someone tell me where to find some examples to > learn how I can transform my xml and output this as > plain

Re: outputting XML tags

2001-07-06 Thread Christian Haul
On 05.Jul.2001 -- 03:13 PM, Vartika Bhandari wrote: > Hi! > I am using cocoon for an application wherein in certain > circumstances I need to display a dynamically generated XML document as > plain text i.e with all markup as is. However cocoon strips off tags and > never displays them