Dynamic CInclude

2005-01-04 Thread Gaston Martini
Hi, We're using CInclude for caching purposes and we need to specify its "src" attribute dinamically, i.e. the value of src is not known in advance. We tried some combinations with , with no luck. For example, trying to output the entire cinclude: test with String test = "", results in '<' an

Re: Dynamic CInclude

2005-01-04 Thread Jan Hoskens
Gaston Martini wrote: Hi, We're using CInclude for caching purposes and we need to specify its "src" attribute dinamically, i.e. the value of src is not known in advance. We tried some combinations with , with no luck. For example, trying to output the entire cinclude: test with String test = "

web server

2005-01-04 Thread Adriano Smith
Can cocoon be used as a webserver ie like tomcat? can itbe used insteadof tomcat ?

Re: web server

2005-01-04 Thread gounis
hi adriano cocoon need a container if you dont want to set up tomcat can use the lite jetty version shiped with cocoon distribution so the the answer can be "yes the cocoon distribution can be used instead of tomcat" but not for production --stavros On Tue, 4 Jan 2005, Adriano Smith wrote:

CLI at Cocoon 2.1.6: working somewhere?

2005-01-04 Thread Alexander Schatten
I try (again) to get Cocoon CLI under Control. But it seems, that there are severe problems in version 2.1.6; actually not even the default cli.xconf example is working. I receive a multitude of Erorrs/Exceptions (unknown resource, InvocationTargetException...) all details can be found at: http://

CLI at Cocoon 2.1.6 working somewhere?

2005-01-04 Thread Alexander Schatten
I try (again) to get Cocoon CLI under Control. But it seems, that there are severe problems in version 2.1.6; actually not even the default cli.xconf example is working. I receive a multitude of Erorrs/Exceptions (unknown resource, InvocationTargetException...) all details can be found at: http://

Re: CLI at Cocoon 2.1.6 working somewhere?

2005-01-04 Thread Simon Mieth
On Tue, 04 Jan 2005 14:28:16 +0100 Alexander Schatten <[EMAIL PROTECTED]> wrote: > I try (again) to get Cocoon CLI under Control. But it seems, that there > are severe problems in version 2.1.6; actually not even the default > cli.xconf example is working. > > I receive a multitude of Erorrs/Exc

Re: CLI at Cocoon 2.1.6: working somewhere?

2005-01-04 Thread Upayavira
Alexander Schatten wrote: I try (again) to get Cocoon CLI under Control. But it seems, that there are severe problems in version 2.1.6; actually not even the default cli.xconf example is working. I receive a multitude of Erorrs/Exceptions (unknown resource, InvocationTargetException...) all detail

Accessing Database Pool in a Jsp

2005-01-04 Thread Thomas Weigel
Hi, we need to access the databasepool in JSP files and in the beans they use. The JSPs are parsed through the JspReader. As far as we know doing it this way, the jsp don't knows something about cocoon. Anyone here has an idea how to do this or knows a better way to solve this problem? thanks

Re: Accessing Database Pool in a Jsp

2005-01-04 Thread george georgovassilis
Something less elegant, but may actually work. how about having your sitemap call alongside with the JSP an XSP which puts the database pool into a session attribute? G. Thomas Weigel wrote: Hi, we need to access the databasepool in JSP files and in the beans they use. The JSPs are parsed thro

Re: CompilingClassLoader problems inside a WAR

2005-01-04 Thread Paul Christmann
On Mon, 27 Dec 2004 16:30:24 -0600, Paul Christmann <[EMAIL PROTECTED]> wrote: > I am attempting (for my first time) to build a cocoon web application > and deploy it as a WAR to Tomcat. However, I am encountering a > problem that occurs *only* when I deploy my app as a WAR. If I deploy > it as a

XSLTC 2.6 rocks, only slightly out of tune

2005-01-04 Thread Nathaniel Alfred
Already in December we launched the all-Cocoon redesign of our SWX Swiss Exchange main website http://www.swx.com. Initially we had to fight some performance problems due to XSLT transformation with interpreted Xalan taking around one second per page (after profiling and optimizing the stylesheet)

Disappearing namespace definition when xml is generated through a cocoon:// psuedoprotocol

2005-01-04 Thread Gertjan Assies
hi, I'm having some problems with a disappearing namespace both seem related to when the xml is generated through a cocoon://something in the sitemap Anyone else have had this problem, and perhaps know how to fix this? The system that fails: FreeBSD 4.10-STABLE cocoon-2.1.5.1 running in Tomcat 4.

Re: JMSMessageListener

2005-01-04 Thread Cay Hasselmann
 Is there anyone who has solved this because I tried it as well and was also unable to receive messages with the same configuration, publish is fine.Hi, I am unable to get the JMSMessageListener in cocoon 2.1.6 to recieve any JMS messages. I am using openJMS-0.7.6.1. I am using the default configur

Re: how 2 invalidate the cntinuation to prevent doubble db entries

2005-01-04 Thread Jean-Baptiste Quenot
Have you tried: var cont = cocoon.sendPage("done") cont.invalidate() -- Jean-Baptiste Quenot Anyware Technologies http://www.anyware-tech.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: Sitemap - Calling a resource from a sub-sitemap

2005-01-04 Thread Jean-Baptiste Quenot
* EXT / STAGIAIRE PLASSE Cédric (DSIT-EX/2i): > I have defined in the root sitemap a resource and I would like > to call it from a sub sitemap. This is not yet possible. -- Jean-Baptiste Quenot Anyware Technologies http://www.anyware-tech.com/

Re: how 2 invalidate the cntinuation to prevent doubble db entries

2005-01-04 Thread Carlos Chávez
Jean-Baptiste Quenot Escribio :-) > Have you tried: > > var cont = cocoon.sendPage("done") > cont.invalidate() Hi. That do not work because cocoon.sendPage no return a WebContinuation Object. I think you need invalidate the WebContinuation of the form.showForm for example: var kont

Re: how 2 invalidate the cntinuation to prevent doubble db entries

2005-01-04 Thread Jean-Baptiste Quenot
* Carlos Chávez: > That do not work because cocoon.sendPage no return a > WebContinuation Object. You're right I meant sendPageAndWait(), also used by showForm(). -- Jean-Baptiste Quenot Anyware Technologies http://www.anyware-tech.com/

Re: Sitemap - Calling a resource from a sub-sitemap

2005-01-04 Thread Kees van Dieren
This can be realized with external xml entities. make a resources.txt file, where you put in the resouces, and include them using an external xml entity. Ant has an example of this: http://ant.apache.org/faq.html#xml-entity-include Hope it fits for your problem. --- Jean-Baptiste Quenot <[EMAIL P

Re: JMSMessageListener

2005-01-04 Thread Paul Joseph
Hi, I kept getting this msg. when I copied my 2.6 jars into my 2.5 webapp. I then did the reverse - copied the webapp components into a 2.6 install and this problem "went away". HTH. Paul --- Cay Hasselmann <[EMAIL PROTECTED]> wrote: - p {margin: 0px} Is ther

Re: CLI at Cocoon 2.1.6 working somewhere?

2005-01-04 Thread Alexander Schatten
Simon Mieth wrote: Hi, this problem can simple be solved by copy lib/optional/servlet.jar to build/webapp/WEB-INF/ölib. My local 2.1.6 works only without the taglib-block in the CLI-environment. So if you are running in exception after copying 'servlet.jar' try to build cocoon without the taglib

dynamic initial form values

2005-01-04 Thread Ben Anderson
Hi, I'm looking at this example: http://localhost:/samples/blocks/forms/form1 which uses a custom action to assign an initial value to a date field. My problem is a little different as I need to query our database to assign an initial value. I'd like to use the SQLTransformer to do this as th

Re: CompilingClassLoader problems inside a WAR

2005-01-04 Thread Antonio Gallardo
Are you tried the Paranoid block? Best Regards, Antonio Gallardo On Mar, 4 de Enero de 2005, 8:42, Paul Christmann dijo: > On Mon, 27 Dec 2004 16:30:24 -0600, Paul Christmann > <[EMAIL PROTECTED]> wrote: >> I am attempting (for my first time) to build a cocoon web application >> and deploy it as

RE: Struts with cocoon problem

2005-01-04 Thread Connell, Robert (SAPOL)
Siva, Are you using Struts Actions (I presume so)? When you say you are getting XML output from the action class what is being produced i.e. file or Object within the session etc ? We are not using Struts currently but we were previously. What we do is have an ActionBean (similar to Action

Re: CompilingClassLoader problems inside a WAR

2005-01-04 Thread Paul Christmann
On Tue, 4 Jan 2005 15:57:01 -0600 (CST), Antonio Gallardo <[EMAIL PROTECTED]> wrote: > Are you tried the Paranoid block? I just tried that, but the error message I got (showing up in a tomcat log file) tells me that the ParanoidCocoonServlet cannot run in an undeployed WAR file. So unfortunately,

Re: Struts with cocoon problem

2005-01-04 Thread Siva
Hi Robert, Thank you for the reply.Yes i am using Struts.I am getting output as Document object from the action class.Now i want to process that DOM object with XSL.From cocoon examples, which i got ,all the input values are pre defined as pipline, but my case the generator so