Re: Cocoon Form setSelectionList method

2005-07-21 Thread Antonio Gallardo
Angelo Immediata wrote: Hi all; i'm using cocoon 2.1.7; i need to put in a selection some values; these values are takne from a web service; i have this method that from the web service create a DOM XML: function getDoc(theBuff){ try{ var fac = javax.xml.parsers.DocumentBuilderFactory.

Re: how to build jeuclid.jar (solved)

2005-07-21 Thread Jarry Liu
I just solved it by using ant. Thanks. On 7/21/05, Jarry Liu <[EMAIL PROTECTED]> wrote: > Hi, all > > I am trying to use JEuclid to convert MathML to SVG. But I just got > source files from http://sourceforge.net/projects/jeuclid/. I find I > can't compile these files even if I add all the jar

AW: AW: two generators in one pipeline

2005-07-21 Thread Stefan Pietschmann
Ya, sure I know how map:aggregate works. When I read "concurrent requests" in the last response I had an idea which works pretty well. It's not very efficient, but I just need that to work as a prototype for a presentation next week, so I'm doing it this way:

Re: AW: two generators in one pipeline

2005-07-21 Thread Dale Frye
I'm a bit confused. You can't just append one XML file to another. It would not be a valid XML document. There can only be one root node and appending them together would create two root nodes. Either one has to include the other (using CInclude or XInclude) or both must be included in another

how to build jeuclid.jar

2005-07-21 Thread Jarry Liu
Hi, all I am trying to use JEuclid to convert MathML to SVG. But I just got source files from http://sourceforge.net/projects/jeuclid/. I find I can't compile these files even if I add all the jar file in java lib. I searched from google and it was suggested to use build.sh, but there is not bui

Re: write file

2005-07-21 Thread Jarry Liu
Try to use sourcewritingtransformer. http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transformer.html Good luck Jarry On 7/21/05, Andres Taborda <[EMAIL PROTECTED]> wrote: > some user know how to selection > the source with pipeline and send the source to an > file. > Is say, wr

write file

2005-07-21 Thread Andres Taborda
some user know how to selection the source with pipeline and send the source to an file. Is say, write the file to the disk. __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo

Re: AW: two generators in one pipeline

2005-07-21 Thread Zbigniew Bomert OP
If you really don't want to change xslts, then you can try flow script. Send request matching **/*.coc to flowscript. In script generate and transform the first document with processPipelineTo() and save it to a file. Then transform second document and send it to the client with sendPage(). But

Re: Application and Session objects in cocoon

2005-07-21 Thread footh
I still can't seem to find any information on an equivalent solution for an application-scope object. I've switched to JavaFlow and JX templates now. Would a class variable in a JavaFlow be considered as an application-scope variable, if I had the flow run through every page? The problem I'm try

OpenSessionInView with Spring Hibernate Sessions

2005-07-21 Thread Dustin N. Jenkins
My application uses Cocoon 2.1.7, JDK 1.5.0_04, Spring 1.2, and Hibernate 3.0.5. Currently, the OpenSessionInView filter for Cocoon is used for each URL (i.e. the web.xml is set to filter all URLs that match /*), and a Hibernate Interceptor exists on some Service Layer objects that are call

AW: two generators in one pipeline

2005-07-21 Thread Stefan Pietschmann
Thanx for the quick reply, I actually tried that out before, but I didn't write those xslt transformations and they are well complicated and only work with the pure files, not if both are aggregated. That's my problem :( > -Ursprüngliche Nachricht- > Von: Dale Frye [mailto:[EMAIL PROTEC

Re: Upload within a Cocoon Portal

2005-07-21 Thread Matthias Nagel
Hi Philippe! Much thanks for your workaround! Now the upload works within the portal. Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: two generators in one pipeline

2005-07-21 Thread Dale Frye
How about something like this? (Please forgive spelling and missing attributes.) Stefan Pietschmann wrote: Howdy, i need your help, urgently J I need to write a matcher which processes two files. I should look something like this:

Re: [Portal] Cocon 2.1.7 upgrade breaks CachingURICoplets

2005-07-21 Thread Nick Goupinets
Hello, After going through some more debugging, I think I figured out why continuation is not resumed: coplet content is taken from cache. That's not much of a relief because now I am faced with the question why cache is not refreshed. I've done some more debugging in order to resolve this n

two generators in one pipeline

2005-07-21 Thread Stefan Pietschmann
Howdy,   i need your help, urgently J   I need to write a matcher which processes two files. I should look something like this:              

Re: Re: Help! newbie.. cocoon + Tomcat not working

2005-07-21 Thread missterie
For example, I have the following pipeline http://{request:serverName}/{request:serverPort}/data/test.jsp?{request:requestSessionId}";> it gives a blank page cos its either not picking up the session parameters or its using the Cocoon sessionID. my C

LocaleAction and cookies

2005-07-21 Thread Andrew Stevens
Hi, I'm using Cocoon 2.1.7 to generate a bilingual site (i.e. every page may be displayed in either English or Chinese, according to the users' preference). I want the chosen language to be remembered between page requests, but there may not a session available (we had problems on a previous

Re: Disable logging of "No pipeline matched request"

2005-07-21 Thread Upayavira
Grzegorz Tańczyk wrote: Hello, I have a simple question of a very crucial meaning for me. How to disable logging of this exception: "org.apache.cocoon.ResourceNotFoundException: No pipeline matched request" In your root sitemap, there is a node. Copy that into your sitemap, and chang

Disable logging of "No pipeline matched request"

2005-07-21 Thread Grzegorz Tańczyk
Hello, I have a simple question of a very crucial meaning for me. How to disable logging of this exception: "org.apache.cocoon.ResourceNotFoundException: No pipeline matched request" What is the simplest way to do that? -- Best regards, Grzegorz mailto:[EMAIL

RE: sitemap match and path

2005-07-21 Thread Nathaniel Alfred
The browser requests the absolute URL http://myserver/cocoon/xml/docA/gusto.css. So you have to match pattern="**/gusto.css".   HTH, Alfred.   -Original Message-From: Franco Andrao [mailto:[EMAIL PROTECTED]Sent: Donnerstag, 21. Juli 2005 13:09To: users@cocoon.apache.o

Re: CForms: Accessing javaflow continuation or session from java event handler...

2005-07-21 Thread Thomas Lutz
Solution: I use a formhandler for the complete form now, and not separate classes for each action. This form handler is instantiated in javaflow, so I am able to pass it everything I need when processing the action events. Some code snippets (they are not really completed now, but enough to

sitemap match and path

2005-07-21 Thread Franco Andrao
Hi,I'm trying to simplify my sitemap but something is wrong!!the directory structure that I have is like thismdg      |__xml_      |         |__docA_      |         |           | xml files      |         |__docB_      |         |           | xml files      |__stylesheets_      |                 | x

Cocoon Form setSelectionList method

2005-07-21 Thread Angelo Immediata
Hi all; i'm using cocoon 2.1.7; i need to put in a selection some values; these values are takne from a web service; i have this method that from the web service create a DOM XML: function getDoc(theBuff){ try{ var fac = javax.xml.parsers.DocumentBuilderFactory.newInstance(); var bui

RE: Using a transformer on XSP

2005-07-21 Thread Stewart, Gary
> -Original Message- > From: Nathaniel Alfred [mailto:[EMAIL PROTECTED] > Sent: 20 July 2005 21:14 > > You can pipe the XSP output into any number of transformation > steps before serializing it: > > > > > ... > > > Got it. Sorry about that. I was actually make a whole

Re: newbie question: cocoon 2.1.7 with tomcat 4.1 (& j2sdk 1.4)

2005-07-21 Thread holger . willenborg
> For what I read there, it seems to be simply a permissions problem... > but the verbosity of the logfiles overwhelm me... It seems your tomcat runs with a Security Manager and that cocoon is not allowed to write a temporary file. Anyone out there who has the correct entries for Tomcat's conf/

Antwort: Re: Help! newbie.. cocoon + Tomcat not working

2005-07-21 Thread holger . willenborg
> I have Cocoon 2.1, Tomcat 5.0 and Httpd 2.0. > Everything works independently. Do you start Cocoon independently or is it started with your tomcat container? If you want tomcat to handle the requests, the latter should be the case. > I have pages in Tomcat that have JsessionID, > but when u