Passing parameters to action-set

2002-10-09 Thread Robin Wyles
Hi All, Apologies if this has been answered before, I can't find it in the archives... I am trying to pass a parameter to an action set, but I cannot seem to get this to work. Should this be possible at all? Here are some snippets from my sitemap: [...] map:action-set name=nodePage map:act

Sitemap wildcards

2002-10-09 Thread Robin Wyles
Hi All, I am familiar with the user of wildcards in matchers, and the use of the resulting sitemap variables {1}, {../1} etc. But my question is this: Is there a sitemap variable that corresponds to the matched pattern for the current matcher? For example in the following matcher: map:match

RE: Passing parameters to action-set

2002-10-09 Thread Ryan Agler
Try {../process} instead of {process} -Original Message- From: Robin Wyles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 3:04 AM To: [EMAIL PROTECTED] Subject: Passing parameters to action-set Hi All, Apologies if this has been answered before, I can't find it in the

Re: ESQL and JDBC on JDK1.4.1

2002-10-09 Thread Bert Van Kets
Is there a JDK1.4.1 compatible JDBC driver available for mySQL? I can't seem to find any me,ntion of the supported JDKs on the mysQL sites. :-( Bert At 01:11 9/10/2002 +0200, you wrote: On 08.Oct.2002 -- 10:06 PM, Bert Van Kets wrote: Does esql run on JDK1.4.1? If so, do I need a very

RE: ESQL and JDBC on JDK1.4.1

2002-10-09 Thread Ryan Agler
I am successfully using JDK1.4.0 with the recent mysql-connector-j-3.0.0-bin.jar. Visit http://www.mysql.com/downloads/api-jdbc-dev.html According to that page it works with JDK-1.2 or newer. -Original Message- From: Bert Van Kets [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October

Re: Passing parameters to action-set

2002-10-09 Thread Kim Jelmoni
Ryan Agler wrote: Try {../process} instead of {process} or better if you use 2.1 try with the input-modules (check in the cocoon.xconf which one is set): {request:process} {attribute:process} -Original Message- From: Robin Wyles [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

local site setup

2002-10-09 Thread Peter Koellner
hi! i'm sure this must be some dumb beginner's question, since nobody seems to have asked it until now. ok. now i have got this bright new xml-cocoon2 from cvs, built it, copied the war file to tomcat3.3's webapps directory, got the whole site running. so far, so good. what i don't quite

Re: local site setup

2002-10-09 Thread Kim Jelmoni
Hi, try the target clean-webapp on build, you will get a clean cocoon without samples. The other possibility is that you work in webapps/cocoon directory. You can try to work in a subdirectory that you mount in the main sitemap so that you don't lose all samples and docs (that are very

accessing Authentication Session Context with java

2002-10-09 Thread michael_hampel
Hello, I am trying to get the user data stored in the authentication session context in an action. I tried: SessionManager.getContext(authenticate); and: SessionContextProviderImpl.getSessionContext (authenticate, ...); Both methods return a context and if

RE: local site setup

2002-10-09 Thread Piroumian Konstantin
From: Kim Jelmoni [mailto:[EMAIL PROTECTED]] Hi, try the target clean-webapp on build, you will get a clean cocoon without samples. The other possibility is that you work in webapps/cocoon directory. You can try to work in a subdirectory that you mount in the main sitemap so

Re: local site setup

2002-10-09 Thread Lajos Moczar
Hi Peter - Not a dumb question at all. In fact, until recently, you had to add your own build targets to build a clean example-less distribution. But now you can do: build.bat clean-webapp or build.sh clean-webapp. This gives you a clean war file, without any samples, that you can copy to

initialize a java variable with an xml file tag's value

2002-10-09 Thread Gabor Bartha
Hi, I wanna use a (maybe little bit extreme) solution but I don't know how. I want to make a single config file for users then use that file in the application. The config.xml file e.g ?xml version=1.0 encoding=ISO-8859-1? mysite driveroracle.jdbc.OracleDriver/driver

SVG image tag fails: 'xlink:href' required

2002-10-09 Thread Upayavira
Dear All, I have been experimenting with SVG, in that I need to overlay a number of transparent images. I have created a simple SVG file, shown below. When I try to access this via Cocoon, I get the error: The attribute 'xlink:href' of the element image is required When I use the Batik

RE: File generator problem (fetch from an URI)

2002-10-09 Thread Sylvain.Thevoz
Thank you Steve, and sorry for my beginner's question. But by me: Here the line that start Tomcat in my startup.bat script: call %_TC_BIN_DIR%\tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9 which launch the tomcat.bat script with the parameter start. You speak about a java command but it seems it is

Re: SVG image tag fails: 'xlink:href' required

2002-10-09 Thread James Ashton
I posted a similar problem (although got no replies or help from this list!) instead of putting your reference to xmlns:xlink in your svg header, put it in your stylesheet header as follows. (The transformer engine won't be able to validate the stylesheet otherwise.) xsl:stylesheet version=1.0

Re: File generator problem (fetch from an URI)

2002-10-09 Thread Steven Noels
[EMAIL PROTECTED] wrote: Thank you Steve, and sorry for my beginner's question. But by me: Here the line that start Tomcat in my startup.bat script: call %_TC_BIN_DIR%\tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9 hm - what version of tomcat is that? which launch the tomcat.bat script with

Re: File generator problem (fetch from an URI)

2002-10-09 Thread Steven Noels
Ilya A. Kriveshko wrote: 1) I don't believe you should specify the protocol when specifying the proxy host. The protocol is implied by the property that you are setting: http.proxyHost. So, try using -Dhttp.proxyHost=proxy.blabla.com (drop the 'http://' part). Sorry if that was obvious.

RE: File generator problem (fetch from an URI)

2002-10-09 Thread Sylvain.Thevoz
OK, now it works! I use Tomcat 3.3 and I have to use TOMCAT_OPTS!! I have added an environment variable like: TOMCAT_OPTS = -DproxySet=true -DproxyHost=proxy.swissptt.ch -DproxyPort=8080 and it works. Thank you all of you Sylvain -Message d'origine- De: Ilya A. Kriveshko

Cocoon, sockets and not a web browser.

2002-10-09 Thread Mauro Daniel Ardolino
Hello! I need to know if cocoon can be used to apply transformations to xml files that comes from a socket or from a soap communication. Also I need to know if I can serialize the results to a java class to parse them for example with sax. So what I mean is that I want to use cocoon to make only

Cocoon 2.1 + Tomcat 4.1 + reloadable=true

2002-10-09 Thread Barbara Post
Hi and sorry for the cross-posting, this might interest both lists although I think it may be purely a Tomcat-specific problem. Tomcat 4.1.12 - CATALINA_OPTS allow 128 MB of RAM (out of 512 physical), with catalina run command to see more console log. Cocoon 2.1-dev from CVS. JDK 1.3.1 Windows

Re: Cocoon 2.1 + Tomcat 4.1 + reloadable=true

2002-10-09 Thread Ilya A. Kriveshko
I am running Tomcat 3.3 on Win2k, and a recent snapshot of Cocoon from the HEAD of CVS. I am periodically having the same problems whereby Tomcat is running out of memory when either Tomcat or Cocoon are reloading some stuff. Is it possible that some cache collections are not being cleared?

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Jacob L E Blain Christen
So what I mean is that I want to use cocoon to make only the transformations. I need to make transformations (using xpath) and I think that cocoon (and XSL) can help me, but the results will not go to a web-browser. They have to go to a class. My program can be a stand alone program

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Steven Noels
Mauro Daniel Ardolino wrote: My program can be a stand alone program with Swing or SWT gui interface, or can be a batch program. maybe it's better to simply use the TRAX API and do your own SAX pipelines, or have a look at http://www.apache.org/~andyc/neko/doc/style/index.html...? /Steven

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Dario Liberman
Hola Mauro, I am trying the same path for similar reasons. I send attached a message interchange with Marcus (the Soap guru of Cocoon). Sounds like it has to be with extending some part of the 'action' part See http://localhost:8080/cocoon/documents/developing/extending.html Best Regards,

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Emmanuil Batsis (Manos)
Jacob L E Blain Christen wrote: So what I mean is that I want to use cocoon to make only the transformations. I need to make transformations (using xpath) and I think that cocoon (and XSL) can help me, but the results will not go to a web-browser. They have to go to a class. My program can be

RE: [Ann] Amazon Functionality Syndication demo

2002-10-09 Thread Piroumian Konstantin
Great showcase! Minor issues (e.g. http://www.cocoonhive.org/portal/page-amazon-bookInfo?AsinSearch=047120708X ): - the page is wider than it is supposed to be, isn't it? - seems that you don't process the inline P, HR and BR elements and they come out as text. I feel that I've

how do you document your projects?

2002-10-09 Thread Joern_Hoos
Hi, i am just wondering: if and how do you document your cocoon projects? I don´t mean cocoon itself, but the projects you build up on cocoon. For the moment i am working on my own, but i think if i should give the results in someoneelse´s hand, noone could easily understand what i did and why

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Jacob L E Blain Christen
So what I mean is that I want to use cocoon to make only the transformations. I need to make transformations (using xpath) and I think that cocoon (and XSL) can help me, but the results will not go to a web-browser. They have to go to a class. My program can be a stand alone program with

Re: how do you document your projects?

2002-10-09 Thread Ola Berg
Hi, i am just wondering: if and how do you document your cocoon projects? I don´t mean cocoon itself, but the projects you build up on cocoon. I use UML interaction diagrams (where the pipelines are instances of a Pipeline class). /O

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Emmanuil Batsis (Manos)
Jacob L E Blain Christen wrote: Why not? Okay, so the apparent obvious answer to my question is only obvious to me. Look at Mauro's requirements: standalone program, gui or batch processs, XLS and XPath. Yes Cocoon does utilize XPath and XSL but these are easily utilized without

Writing a custom Transformer?

2002-10-09 Thread simo kauranen
Hi, Does anyone happen to know where I could find a simple and thorough example of writing a custom transformer. I've searched all over the net but haven't found anything detailed enough. Thanks for tips! Simo K. __ Do You Yahoo!? Everything

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Ola Berg
So then why are you considering Cocoon? Cocoon has actions, aggregations, pseudo-protocols and other declarative goodies. /O - Please check that your question has not already been answered in the FAQ before posting.

RE: Writing a custom Transformer?

2002-10-09 Thread Piroumian Konstantin
From: simo kauranen [mailto:[EMAIL PROTECTED]] Hi, Does anyone happen to know where I could find a simple and thorough example of writing a custom transformer. I've searched all over the net but haven't found anything detailed enough. Take a look at the Cocoon transformers' source:

Re: Cocoon 2.1 + Tomcat 4.1 + reloadable=true

2002-10-09 Thread Barbara Post
Well, clearing Tomcat's work directory helps. Is this more Tomcat or Cocoon-related then ? Since we know both of them use caching... We know that Cocoon had (still has) some caching issues. I also had hang ups of Tomcat after an error, thanks for the more precise info you provided ! Barbara

Re: how do you document your projects?

2002-10-09 Thread Barbara Post
I plainly : - produce good javadoc of the few java classes I create, - comment my sitemap and xsl while developping them, - produce a text (Word) document explaining more in detail pipelines' and xsl' roles... and also some notes about the Cocoon components I used (what they are for), and since

Action and ArrayList

2002-10-09 Thread Barbara Post
My 2 cents : since Cocoon reuses Actions instances, if I parse and store sitemap parameters in Array Lists (ok it is special...) it is useful to reset these ArrayLists... you guess why. ;-) Babs - Please check that your

RE: Cocoon FAILS in transforming XML

2002-10-09 Thread Roger Ting
I kind of doubt that it has to do with XSP because if i serialize the output as XML and do the transformation later by reading the xml file generated from the XSP directly, it works fine . HOwever, if i generate the XSP directly, some of the output just missing Anyone use XSP with ESQL and use

Re: how do you document your projects?

2002-10-09 Thread Antonio Gallardo Rivera
For xsl I saw there are a xsldoc tag. I use OpenOffice.org Writer to make a formal developer manual. Javadocs and comments in the sources files. Antonio Gallardo. El Miércoles, 09 de Octubre de 2002 08:33, [EMAIL PROTECTED] escribió: Hi, i am just wondering: if and how do you document your

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Mauro Daniel Ardolino
Hi again! I've been out for a couple of hours... So then why are you considering Cocoon? Well, because may be a crosspoint between my standalone application/s and some others web applications I have to do. And of course I do not want to make the transformations programming java classes

Re: speeding up svg serialization?

2002-10-09 Thread lrs
Hi Joerg, From: Joerg Heinicke [EMAIL PROTECTED] Hello Leona, we use SVG generated PNGs at www.ekommunen.de too and the serialization is really fast except the very first request on a SVG serializer. I guess this is because of the first instantiation of Batik, but maybe somebody can say

Re: Cocoon, sockets and not a web browser.

2002-10-09 Thread Mauro Daniel Ardolino
PD: Lets join efforts in this try Mauro, we can then make public some examples of how to accomplish this. All right! But I warn you I'm new with this. PD3: What I am looking for is to be able to do something like this: (is it your need too?) the examplelook down. Yes. I'm

Re: how do you document your projects?

2002-10-09 Thread Joern_Hoos
Hi, thanks, thought about UML as well, but I am not too deeply into it. Could you send me an example of a cocoon interaction diagram? My Email-Adress is: [EMAIL PROTECTED] Bye Joern - Please check that your question has

RE: Cocoon FAILS in transforming XML

2002-10-09 Thread Ryan Agler
My apologies as I'm having trouble following sitemap flow from your description. You can find most likely the root cause in the WEB-INF/logs. A couple things that might help: Make sure you have include type=serverpages when generating the xsp (map:generate type=serverpages src=myfile.xsp/).

Re: Cocoon on Headless Linux with JDK1.4

2002-10-09 Thread Vadim Gritsenko
Ilya A. Kriveshko wrote: This seems to be the magic key -- a JVM 1.4 option to enable headless AWT: -Djava.awt.headless=true FYI: http://xml.apache.org/cocoon/installing/index.html has: *UNIX with X server ... */Sun JDK 1.4 does not require graphics display anymore, but Java has to be

Re: Servlet-Ouput as Cocoon-Input

2002-10-09 Thread Vadim Gritsenko
Dario Liberman wrote: What is the correct way of doing it? I am new to cocoon too, but I see here serialization and deserialization done perhaps unnecessary. Servlet API is stream-based, thus if you want to use servlet's output, you have to parse XML again. If the servlet used a DOMXML

RE: Cocoon, sockets and not a web browser.

2002-10-09 Thread JohnsBrn
I think I may be doing something similar to what you want to do. I am calling cocoon from an axis provider, and also directly from within an ejb. There are several things you need to do to accomplish this: The first thing you should look at is the commandline context under

Re: multiple webapps sharing XSPs

2002-10-09 Thread Vadim Gritsenko
Ryan Agler wrote: Can a guru out there give me a hand? The problem with loggin comes from the fact that in your setup org.apache.log classes are loaded once and shared among contexts, and from the fact that logging uses some static methods/variables. Example (from CocoonServlet):

Re: Response status 207

2002-10-09 Thread Vadim Gritsenko
Michael Homeijer wrote: Hi, I need to send a response status 207 to the client. Is there a way to do this in Cocoon? I expected this parameter to be in a serializer, but cant find one. map:serialize status-code=207/ Does this help? Vadim TIA, Michael

Re: General questions about caching in Cocoon

2002-10-09 Thread Vadim Gritsenko
Lenz, Evan wrote: Does Cocoon provide a mechanism by which all pages on the site can be cached (perhaps via a crawler)? You can try indexer (see docs search demo). I'm aware of the command-line interface (and had trouble getting the crawler to get past the first page, but that's another

RE: Re: how do you document your projects?

2002-10-09 Thread robert_hitchins
Joern, I am in the process of developing documentation that describes an admittedly simple usage of Cocoon within an application. The diagram is only for the Cocoon portion of the system. There is a Visio diagram that I think does a good job of describing what takes place. There is also a

Re: URL caching in pipelines

2002-10-09 Thread Vadim Gritsenko
Miles Elam wrote: I want to put a Slashdot feed on my web page with the following (out of context for brevity): pipeline map:match pattern=feeds/slashdot.org map:generate src=http://slashdot.org/slashdot.xml/ map:serialize type=xml/ /map:match /pipeline This works fine, but

Re: + character in source filename

2002-10-09 Thread Vadim Gritsenko
Upayavira wrote: Dear All, I'm using Cocoon to apply a new style to an existing site, i.e. HTML-XML-HTML. So far, it is working very well, however: In the original site, there are a few HTML files that have + characters in the filename, e.g. mind+body.html. When used as the source for a

saxon as default transformer + xalan also available?

2002-10-09 Thread gv
Hello, Because of some quirks in both Saxon Xalan, I would like to set Saxon to be my default XSLT transformer, then add Xalan to be available when I need it (in the sitemap: map:transformer type=xslt-xalan...) I have the first part working fine (Saxon as default). To get Xalan working too,

cocoon.war has cocoon.jar

2002-10-09 Thread Aditya
Hi all. Does cocoon.war contains jar files? If no, how can we use cocoon after we deploy the war file to Tomcat, for instance modifying cocoon.properties? Aditya --- =Five dozens roses of love =Keep the spirit of love flourish= Join 18 million Eudora users by signing

dbAdd does not get correclty the param

2002-10-09 Thread Antonio Gallardo Rivera
Hi: I am using dbAdd from the Original Database Actions. All my forms work very well and I can add, update and remove records in a PostgreSQL. database. But, I have a form that can add a register and it seems like after some javascript change values in the form (based on what the user select

Re: cocoon.war has cocoon.jar

2002-10-09 Thread Antonio Gallardo Rivera
Yes, the WAR file contains all the JAR files. Antonio Gallardo. El Miércoles, 09 de Octubre de 2002 13:54, Aditya Shevchenko Siregar escribió: Hi all. Does cocoon.war contains jar files? If no, how can we use cocoon after we deploy the war file to Tomcat, for instance modifying

Re: Pipeline...

2002-10-09 Thread Vadim Gritsenko
Mauro Daniel Ardolino wrote: Thanks a lot!! It works fine. Although it works fine that's not what you really need. To get best out of Cocoon, you need to make logicsheet (read more on logicsheets in the cocoon docs) out of your logic/prueba.xsl and use this logicsheet. See XSP sample which

Re: XIndice inside XSP (using eXist logicsheet), how?

2002-10-09 Thread Vadim Gritsenko
Josema Alonso wrote: Hello. I have XIndice working with Cocoon. I followed the directions at Cocooncenter and everything is going fine when requesting XMLDB URIs. Now I'd want to have a XSP querying the database so I could encapsulate the DB calls and pass parameters easily. Why don't you use

Re: Looking for most stable versions of JDK+Tomcat+Cocoon

2002-10-09 Thread Vadim Gritsenko
exta zi wrote: Whats the most stable configuration of JDK+Tomcat+Cocoon? I using next binaries: JDK 1.4.1FCS + tomcat-4.1.12-LE-jdk14 + cocoon-2.0.3-vm14-bin sometimes it works and sometime I get exception: Cocoon 2 - Internal server error

Re: problem with NT

2002-10-09 Thread Vadim Gritsenko
Robert Siqueira wrote: Iam installing cocoon 2.0.1 + tomcat 4.0.3 in winnt 4.0... So, when I Advice: Upgrade tomcat 4.0.3 as soon as possible, to at least version 4.0.4 (known to be stable). If you can not, read cocoon install guide: it goes in deep details on how to make 4.0.3 work. Vadim

Re: Sitemap wildcards

2002-10-09 Thread Vadim Gritsenko
Robin Wyles wrote: Hi All, I am familiar with the user of wildcards in matchers, and the use of the resulting sitemap variables {1}, {../1} etc. But my question is this: Is there a sitemap variable that corresponds to the matched pattern for the current matcher? For example in the following

Re: dbAdd does not get correclty the param

2002-10-09 Thread Antonio Gallardo Rivera
I resolve the problem: A stupid problem! I alone made it! I miss it: values validate dbcol=can_beneficiario param=beneficiario ^ Here is not validatre is value! values value dbcol=can_beneficiario param=beneficiario Thanks to all ;) Antonio Gallardo El Miércoles, 09 de

Re: saxon as default transformer + xalan also available?

2002-10-09 Thread Vadim Gritsenko
gv wrote: Hello, Because of some quirks in both Saxon Xalan, I would like to set Saxon to be my default XSLT transformer, then add Xalan to be available when I need it (in the sitemap: map:transformer type=xslt-xalan...) I have the first part working fine (Saxon as default). To get Xalan

map:resource/ and parameter prob in 2.0.3

2002-10-09 Thread Robin Wyles
Hi All, I am having problems passing sitemap parameters to resources in cocoon 2.0.3. Below are some sitemap snippets that illustrate what I am trying to achieve. For example, if the uri home is requested then the home resource is called which in turn calls the nodePage resource, which uses the

Xindice logicsheet - initial success

2002-10-09 Thread Josema Alonso
Dear Friends, Since I got no response to my previous email message, I tried it hard and I finally could make a xmldb logicsheet to work with Cocoon. It's the eXist logicsheet. I could only try it for retrieving documents by now but it works as expected. I'm too tired now. It's been a lot of

Re: Xindice logicsheet - initial success

2002-10-09 Thread Vadim Gritsenko
Josema Alonso wrote: Dear Friends, Since I got no response to my previous email message, I've sent email. Why do you need xsp logicsheet and why don't you use xmldb protocol with cinclude? This works out of the box, with no effort. Vadim I tried it hard and I finally could make a xmldb

Re: Cocoon FAILS in transforming XML

2002-10-09 Thread Joerg Heinicke
If your Cocoon is working in general, I can only guess that the error is to search in your stylesheet. Cocoon itself uses XSLT more or less heavily (e.g. for creating sitemap_xmap.java). Can you show a bit code of your XSP, XSL and sitemap? You can post a minimum example, where your code gets

Re: speeding up svg serialization?

2002-10-09 Thread Joerg Heinicke
HI Leona, lrs wrote: Hi Joerg, From: Joerg Heinicke [EMAIL PROTECTED] Hello Leona, we use SVG generated PNGs at www.ekommunen.de too and the serialization is really fast except the very first request on a SVG serializer. I guess this is because of the first instantiation of Batik, but

Re: saxon as default transformer + xalan also available?

2002-10-09 Thread Gabriele Domenichini
Alle 21:54, mercoledì 9 ottobre 2002, gv ha scritto: Hello, Because of some quirks in both Saxon Xalan, I would like to set Saxon to be my default XSLT transformer, then add Xalan to be available when I need it (in the sitemap: map:transformer type=xslt-xalan...) I've done exactly the

Creating PDF for dynamic queried result after processing in XSP using forms

2002-10-09 Thread Sreenivasan N.
Hi ALL 1.i am using this part of the sitemap for generating an xsp . map:match pattern=xsp/* map:generate src=docs/samples/xsp/{1}.xsp type=serverpages/ map:transform src=stylesheets/dynamic-page2html.xsl /map:transform map:serialize type=html/ /map:match the xsp

Re: Xindice logicsheet - initial success

2002-10-09 Thread Bertrand Delacretaz
On Thursday 10 October 2002 00:15, Josema Alonso wrote: . . . I hope I could understand better the whole Cocon Wiki thing and make it available there...if someone can help me a bit here... . . . See the about page at http://outerthought.net/wiki/Wiki.jsp?page=About I just reviewed and