C2: esql:if-null

2001-10-24 Thread Mark S. Kent
Has anyone used this yet? What is the exact syntax for the esql statement? The ESQL Taglib page is rather sparse explaining it and the only message in the archives was suggestions on how to implement it. I have a Location name/nbr string that I want to create like this: "{LocationName}

RE: Outputting raw XML from a Transformer

2001-10-24 Thread Luca Morandini
Sylvain, yes, it worked :) With a little derived from EmbeddedXMLPipe I was able to get rid of PIs and start/end of document. Thanks, - Luca Morandini GIS Consultant [EMAIL PROTECTED

Re: Help! How can I call my xsp page from HTML document?

2001-10-24 Thread Jeremy Aston
Hi Victor, Do you mean something like the following anchor tag in your html page? call xsp Or is it something else? Regards Jeremy   "Skladov, Victor" <[EMAIL PROTECTED]> wrote: Hi, people!My Apache Server runs on port 8080, Cocoon2 on port 8091. How can Icall my xsp page from a HTML document?Mus

RE: Help! How can I call my xsp page from HTML document?

2001-10-24 Thread Madel,Kurt
We are using IIS on one port and Cocoon/Tomcat on 8080. The page found at this address lists links of pdf reports generated by Cocoon http://localhost/funding/completed.asp This link is answered by Cocoon, and the sitemap directs it to data_sheet.xsp, then data_sheet.xsl, and finally the

C2: Choosing XSL dynamically

2001-10-24 Thread Mark S. Kent
I noticed a message previously about choosing an XSL file using actions depending on some "external input" (in this case a value in the database -- ref: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=99806349922890&w=2 ). I have reports that I am using Cocoon2 to render with two (maybe more l

Cocoon2 Release Candidate?

2001-10-24 Thread Brent L Johnson
I've been using Cocoon 1.8.2 in a production/live environment - and had some problems with some strange exceptions being thrown when using a FreeBSD virtual machine with JDK1.2.2. Is Cocoon2 RC1a ready for production use? I realize RC is a "Release Candidate" - but would it be beneficial (and wo

[C2] SocketException with Tomcat 4.0.1

2001-10-24 Thread Jörn Heid
When calling some pages in my project I get 2001-10-24 16:32:45 [org.apache.catalina.connector.warp.WarpConnector] Error accepting requests java.net.SocketException: socket closed at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(Unknown So

[C2.0rc1]: Question relating to request object lifetime during aggregation

2001-10-24 Thread Adrian Geissel
Hi,   I have a scenario where I am aggregating content from three sources, one of which is an XSP retrieved using internal cocoon protocol. This XSP calls request.setParameter() to indicate a status.   The aggregation event is followed by an action that tests this status, but it always is se

Re: date-format in cocoon 1.8.2

2001-10-24 Thread Schroeter Christian
Now if the value in the db is null then i get an error-message. Without the format - attribute i wouldnt get it. What must i change, and how? cu, Christian Am Dienstag, 23. Oktober 2001 19:01 schrieben Sie: > Specify the format attribute using a Java SimpleDateFormat string. For > instance, >

RE: How to deploy my cocoon project ?

2001-10-24 Thread Eduardo Godoy Vega
OK, but I don't want to put my project inside %TOMCAT_HOME% tree ... 'cause I delete it from time to time ... (re-build the lastest version of cocoon2) ... to me, the best solution is to put my project in D:\Myproj I was searching the FAQ and the archives ... but I didn't find a solution... Ed

Re: Outputting raw XML from a Transformer

2001-10-24 Thread Sylvain Wallez
Luca Morandini a écrit : > > Sylvain, > > ok, I parsed it, and it shows gracefully... bar for an " encoding="UTF-8"?>" on top of every XML string which I receive from the > external application. > > I think this PI causes an "AbstractXMLPipe: Exception in endDocument" when > I t

RE: Building probs.

2001-10-24 Thread Lawrence D. DeVooght
After you upgrade to Ant 1.4 you will need to change the reference to Ant in the build file so it points to ant.jar.   :- LDD   -Original Message- From: Bardet Emmanuel-ebardet1 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 8:28 AM To: '[EMAIL PROTECTED]' Subject:

AW: where to put class for action?

2001-10-24 Thread Jörn Heid
try WEB-INF/classes (and of course the directories for your package). -Ursprüngliche Nachricht- Von: sergi [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. Oktober 2001 08:32 An: [EMAIL PROTECTED] Betreff: where to put class for action? hi, i would like to know, where to put java clas

Help! How can I call my xsp page from HTML document?

2001-10-24 Thread Skladov, Victor
Hi, people! My Apache Server runs on port 8080, Cocoon2 on port 8091. How can I call my xsp page from a HTML document? Must Apache and Cocoon have one root? Regards, Viktor - Please check that your question has not already bee

xml-schema / validate forms

2001-10-24 Thread Kenneth Petersen
Hi all! I was wondering why efforts have been made to generate and maintain the FormValidatorAction. Why not just use xml-schemas and xml-validation to validate input from froms? The only problem I can see in using xml-schemas is that it does not support I18N. On the other hand neither does F

XML Validation

2001-10-24 Thread Max Larsson
Hi, does someone know how to turn xml validation on/off within Cocoon2 ?? Max - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe,

Re: [C2] Howto ... IF in sitemap ...

2001-10-24 Thread Sylvain Wallez
Eduardo Godoy Vega a écrit : > > I fixed ... but ... everywhere I found > this line (including ParameterSelectorFactory.java file) > factory="org.apache.cocoon.selection.ParameterSelectorFactory"/> > > but ... If I use "src" insted of "factory" ... It works! >

Re: cocoon + tomcat in window2000 services

2001-10-24 Thread Ling Kok Choon
Hi Lajos Moczar, Currently, i use Cocoon2 version beta 2, now i manage to upgrade to version rc1 Thank you. regards, Kok Choon Name: Ling Kok Choon E-mail: Ling Kok Choon <[EMAIL PROTECTED]> Date: 10/24/01 Time: 14:59:34 This mes

Re: HELP for Cocoon2 and Unix

2001-10-24 Thread MJ Ray
In lists.cocoon-users, you wrote: >when I start cocoon2 (with Tomcat 3.3 Beta 2) under Linux or Solaris it >always tries to establish a connection to a running XServer. >How can I avoid this ? Alternatively, for Linux, try running Xvfb if you need the svg serialisers. -- MJR Do you need advi

(Tomcat+Cocoon+JBoss) org.apache.tomcat.facade.ServletWriterFacade.write() fails

2001-10-24 Thread Miika Tuisku
Jboss 2.4.3 + Tomcat 3.2.3 bundle Cocoon 1.8.2 This is an .EAR application that uses mySQL and CMP EJBs as datasource. This data is constructed in XML and presented via Cocoon to Web browser client. Cocoon is packaged inside a .WAR as such its easier to just drop in for deployment. I have a logi

Cache problem when including several XML files in one JSP

2001-10-24 Thread Christophe de Kerviler
Hi, I am using Cocoon 1.8/Tomcat3.2 on Sun Solaris 7 and I have a cache problem when I try to include more than one XML file in a JSP. Here is an example : ... <% String myFirstFile= "file1.xml"; %> ... <% String mySecondFile= "file2.xml"; %> ... I get the first file included two times if C

where to put class for action?

2001-10-24 Thread sergi
hi, i would like to know, where to put java class for MYaction. i'm trying to put my action in sitemap, but i don't know in which folder or file to put that class so i could use it in my sitemap. - Please check that your questio

NullPointerException in Cocoon 2 / WAS 3.5.4

2001-10-24 Thread Jack Hirasawa
Hi cocoon-users! After installing Cocoon 2 in WebSphere 3.5.4 and firing up the browser to point to http://localhost/cocoon/ I get the following exception: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:383) at org.apache.avalon.framework.context.Defau

Re: JSP Example With Cocoon2

2001-10-24 Thread Earl Bingham
I am using tomcat4.0+cocoon2.2b on Windows 2000 I receive the following error when trying to run the JSP example that comes with cocoon: java.lang.NoClassDefFoundError: org/apache/jasper/JasperException at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:2