Re: Adding EXSLT functions

2014-02-28 Thread Ellis Pritchard
Hi Chris, Not standard EXSLT functions, but I have loaded extension functions under 2.1. I’ve just consulted my archives (2006!)… Firstly, I used a .xweb patch file patch Cocoon’s servlet configuration, in order to pre-load my extension classes using Cocoon's load-class init-param; this was

Re: Starting out with Cocoon 2.2

2009-09-10 Thread Ellis Pritchard
Lamentable indeed. Having taken a break from Cocoon 2.1 at work, and returned to 2.2, after much pain and frustration at recreating what was in cocoon using 'pure' java and spring mvc + freemarker (urgh) + 1000's of lines of horrible java to do stuff cocoon did for free, I realize how much

Re: Stand alone Cocoon

2009-06-26 Thread Ellis Pritchard
Could you just use your working cocoon application as a web-service? e.g. Use commons http to call it? Nice scalability implications... Ellis. On 26 Jun 2009, at 09:38, Steven Dolg steven.d...@indoqa.com wrote: zzkumar schrieb: Hi All, Hi, I am new to Cocoon. We are planning to use

Re: CForm Ajax: how does the continuation-id get updated?

2007-06-08 Thread Ellis Pritchard
added rows. Ellis. On 7 Jun 2007, at 16:46, Ellis Pritchard wrote: Hi, I'm obviously doing something wrong but I can't work out how the continuation-id is supposed to get updated when using CForms with Ajax and javascript flow (Cocoon 2.1.10). My particular problem is with repeaters; I'm

Re: CForm Ajax: how does the continuation-id get updated?

2007-06-08 Thread Ellis Pritchard
submit id (no such widget) errors. (Removal happens as a result of the code at Repeater.java:346-371). That one has cost me a day and made me look like an idiot. I can forgive the last part ;) Ellis. On 8 Jun 2007, at 10:23, Ellis Pritchard wrote: Ok, my misunderstanding; the continuation

CForm Ajax: how does the continuation-id get updated?

2007-06-07 Thread Ellis Pritchard
Hi, I'm obviously doing something wrong but I can't work out how the continuation-id is supposed to get updated when using CForms with Ajax and javascript flow (Cocoon 2.1.10). My particular problem is with repeaters; I'm adding rows using the repeater actions, however, the

Re: [HELP]No pipeline matched request: search.php

2007-06-05 Thread Ellis Pritchard
On 23 May 2007, at 15:34, narendar_g wrote: Description:org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: search.php The most common 'irrational' cause of this exception is not having a serializer in the pipeline... how many times this has caught me out So

Re: Dynamic configuration of input modules, and the XMLFileModule

2006-05-05 Thread Ellis Pritchard
Hi, The LinkRewritingTransformer might be your thing, but given that you are using map:redirect, I suspect that it isn't. You could sub-class XMLFileModule to dynamically provide the configuration you need via modeConf (LinkRewritingTransformer provides the configuration this way). You

Re: Dynamic configuration of input modules, and the XMLFileModule

2006-05-05 Thread Ellis Pritchard
the map: prefix has been added, and where it has not). Ellis. Andrew Stevens wrote: From: Ellis Pritchard [EMAIL PROTECTED] Date: Fri, 5 May 2006 08:20:46 +0100 Hi, The LinkRewritingTransformer might be your thing, but given that you are using map:redirect, I suspect that it isn't. You could

Re: No log targets configured for the root logger

2006-01-13 Thread Ellis Pritchard
Hi, Mike Dickson wrote: Any ideas on what is up given the following error and logkit.xconf? Error: org.apache.avalon.framework.configuration.ConfigurationException: No log targets configured for the root logger. at

Re: callback for continuation timeout?

2005-11-01 Thread Ellis Pritchard
Mark Lundquist wrote: I have some processing invoked from flow that's not OK to just abandon if the user abandons their session. In particular, this processing logic reserves some resources in the database. In the case of success, the resources will remain permanently associated with a

Re: More than one lifecycle interface

2005-10-31 Thread Ellis Pritchard
Lachlan Paterson wrote: Ok, I got it: My class is a generator so it was inheriting from AbstractGenerator which inherits from AbstractXMLProducer which implements Recyclable, but I also was implementing CacheableProcessingComponent on my own. I removed the CacheableProcessingComponent stub

Re: Cocoon won't build: could not find ant-launcher Java extension for this JVM???

2005-10-05 Thread Ellis Pritchard
Sandor Spruit wrote: I just found out there's an Ant 1.5.4 instance on our server. But I do not have any Ant vars set (ANT_HOME etc.). The installed 1.5.4 runs, but does not like Cocoon's build.xml. It does seem to find a different JVM then the one started when I run java. Could that be the

Configuring Commons HttpClient for WebServiceProxyGenerator

2005-07-25 Thread Ellis Pritchard
Hi, I can't seem to find any details on how to configure HttpClient parameters for the WebServiceProxyGenerator from the sitemap, specifically the connection timeout; looking at the code doesn't yield any clues... Is anyone still developing this component? Anyone fancy updating it to work

Re: [FLOWSCRIT] Equivalent Action to processPipeline

2005-03-10 Thread Ellis Pritchard
The org.apache.cocoon.acting.CopySourceAction may be what you want; it executes a pipeline and writes the result to a ModifiableSource, e.g. a file. map:act type=copy-source src=cocoon://pipeline.xml map:parameter name=dest value=context://WEB-INF/data/file.xml/ /map:act You may also want

Re: JXTemplate and characters escaping

2005-03-10 Thread Ellis Pritchard
You could try wrapping the expression in a CDATA section; JXTemplate interprets expressions inside the CDATA, but then passes the CDATA itself through. e.g. foo![CDATA[#{bean.bar}]]/foo Should output as: foo![CDATA[#233;]]/foo The XSL can then select this out with xsl:value-of select=foo

Re: i18n transformer: how to translate cocoon forms messages

2005-02-15 Thread Ellis Pritchard
depub2 wrote: My sitemap excerpt is below, but it does not appear to be working: map:transformer name=i18n src=org.apache.cocoon.transformation.I18nTransformer catalogues default=other catalogue id=other name=OtherMessages location=messages/ catalogue id=forms

Re: i18n transformer: how to translate cocoon forms messages

2005-01-31 Thread Ellis Pritchard
Hi, The messages specified by the forms transformer explicitly specify the i18n catalogue to be one named 'forms'; define this catalogue in your sitemap and your widgets should pick up the i18n (use a cocoon-view to have a look at the output of the forms transformer if you want to see what's

Re: [Flowscript] authentication

2005-01-30 Thread Ellis Pritchard
The original URL before redirection to the login URI should be appended as a parameter called resource to the redirect-to URI, the AuthAction does this... i.e. in your flowscript/login action retrieve the parameter named resource and redirect to this after successful login; note that the

undefined exception object in flow script try {} catch {} block

2005-01-27 Thread Ellis Pritchard
Hi, Using Cocoon 2.1.6, I don't seem to be getting the exception object passed through when catching an exception in flowscript; I've reduced it to the most simple case: function login() { try { throw bang; } catch (x) { cocoon.logger.debug(x); } } I get the error message

Re: undefined exception object in flow script try {} catch {} block

2005-01-27 Thread Ellis Pritchard
Ok! Great first post; it was the logger causing the problem; it should have been: cocoon.log.debug(x) !! Ellis. Ellis Pritchard wrote: Hi, Using Cocoon 2.1.6, I don't seem to be getting the exception object passed through when catching an exception in flowscript; I've reduced it to the most