Re: Cocoon is going to the Attic

2024-12-23 Thread warrell harries
Does 'going to the attic' mean that the Cocoon project site will go away? Hopefully NOT as many people use it for maintenance purposes. On Sun, 22 Dec 2024, 11:03 warrell harries, wrote: > Dear all, > > 'Goodbye and thanks for all the fish' - I'm sure the Cocoo

Re: Cocoon is going to the Attic

2024-12-22 Thread warrell harries
Dear all, 'Goodbye and thanks for all the fish' - I'm sure the Cocoon sitemap will still be powering production systems for many years to come. Perhaps there is a story to be written of it's history and impact? On Sat, 21 Dec 2024, 21:27 gelo1234, wrote: > That is sad news. But all good things

Re: CVE-2023-49733: Apache Cocoon's StreamGenerator is vulnerable to XXE injection

2023-11-30 Thread warrell harries
Hi Cedric, Does this build still use the infamous Log4J v1. 2 jar I know it's actually benign due to no use of the jndi but security vulnerability scanners usually complain. Thanks for your work on this. Best regards Warrell On Thu, 30 Nov 2023, 11:16 Cédric Damioli, wrote: > Severity: i

Re: using cocoon 2.1 in the long-term, security concerns

2021-07-19 Thread warrell harries
The Tomcat version must be updated to address these concerns. That should do it On Mon, 19 Jul 2021, 13:03 Vincent Neyt, wrote: > Hi Cocoon users, > > I'd like to ask your opinion on the long-term security risks of running > Cocoon on a server. The colleague responsible for the servers at my >

Re: [ANN] Apache Cocoon 2.1.13 Released

2020-07-30 Thread warrell harries
Great news! Well done! The download is still showing version 2.12 Many thanks from a die-hard cocooner On Thu, 30 Jul 2020 at 11:12, Cédric Damioli wrote: > Apache Cocoon 2.1.13 Released > - > > The Apache Cocoon Community is proud to announce the new release >

Re: How to configure TraxProcessor in 2.2?

2019-12-04 Thread warrell harries
Hi Mark, I never could get 2.2 working 😂 However, I'm using 2.12 every day, all over the world - mostly with Saxon for XSLT 2.0 All I can advise, use 2.12... Best regards Warrell On Wed, 4 Dec 2019, 9:46 pm Mark H. Wood, wrote: > I'm using Cocoon 2.2. I need to pass a custom XSLT trans

Re: Matching HTML GET parameters in sitemap

2016-06-30 Thread warrell harries
o implement it, all was well. > > Charles > > On Jun 29, 2016, at 1:37 AM, warrell harries-4 [via Cocoon] wrote: > > You could use the select matcher which allows you to alter flow through > the pipeline based on a parameter value > > On Wed, 29 Jun 2016, 00:01 Charles Bur

Re: Matching HTML GET parameters in sitemap

2016-06-28 Thread warrell harries
You could use the select matcher which allows you to alter flow through the pipeline based on a parameter value On Wed, 29 Jun 2016, 00:01 Charles Burd, wrote: > In a Cocoon 2.1 installation, I'm trying to get a sitemap pipeline match > to differentiate between a URL that has no HTML GET paramet

Re: cocoon and cocoon-webapp together

2016-06-25 Thread warrell harries
What version of Cocoon? Use 2.12 and deploy the web app to Tomcat 7 What's the problem with that? Best wishes Warrell On Sat, 25 Jun 2016, 17:58 Hans-Heinrich Braun, wrote: > I am bringing my application to openshift. > It seems that i cannot integrate local dependencies in openshift. > So it

RE: [2.1] cinclude using a pipeline as a generator source

2016-05-10 Thread warrell Harries
Cocoon 2.1 is a living legend! -Original Message- From: "Nico Verwer" Sent: ‎10/‎05/‎2016 09:35 To: "users@cocoon.apache.org" Subject: Re: [2.1] cinclude using a pipeline as a generator source On 7-5-2016 15:10, Christopher Schultz wrote: On 5/7/16 7:38 AM, w

Re: [2.1] cinclude using a pipeline as a generator source

2016-05-07 Thread warrell harries
That's right. As per directories and XPath... Well done! Just keep tinkering On 7 May 2016 14:10, "Christopher Schultz" wrote: > Warrell, > > On 5/7/16 8:58 AM, Christopher Schultz wrote: > > Warrell, > > > > Thanks for the quick reply! > &

Re: [2.1] cinclude using a pipeline as a generator source

2016-05-07 Thread warrell harries
Hi Chris cocoon:// is understood as standard Use :/ to go relative to the root Xpath rules 😁 On 7 May 2016 12:12, "Christopher Schultz" wrote: All, I've got a Cocoon setup with a pipeline whose transformer contains something like this: https://my-app/get-some-data"; /> Now, the URL includ

Re: Help needed moving from 2.1.11

2016-01-06 Thread warrell harries
Hi Peter, I would recommend moving to 2.12 first (and probably staying there). IMHO 2.2 isn't worth the candle and 3.0 misses the point of using Cocoon in the first place. I have a similar set-up as you although I use a blocks based build so that my 'applications' are seperate from the core. I

Re: Migration from 2.1 to 2.2

2014-07-21 Thread warrell harries
Hi, One reason that many Cocoon users have stayed with the 2.1x stream is that some very useful blocks never made the transition to 2.2 Personally, the hassle of migrating to 2.2 was not worth the gains it offered (Spring meh). As we are all aware Web application development has evolved in many

Re: Problems building cocoon-2.1.12

2014-06-15 Thread warrell harries
Hi Peter, I can't say what your build problem is (except that the error message indicates a missing file... dependencies again?) but I am surprised you are still using Java 1.4. Is there a reason for not moving onto 1.7? On 15 Jun 2014 16:56, "Peter Sparkes" wrote: > Hi > > I am having pro

Re: Using Node.js as a Generator

2014-06-04 Thread warrell harries
09:22 AM, warrell harries wrote: > > I have posted a simple way of using Node.js with Cocoon > > > > http://warrell.blogspot.co.uk/2014/05/extending-life-of-my-cocoon.html > > > > I hope this may be of some help to anyone similarly minded, > > > > Than

Re: Using Node.js as a Generator

2014-06-04 Thread warrell harries
Many thanks Francesco! On 4 June 2014 08:27, Francesco Chicchiriccò wrote: > On 04/06/2014 09:22, warrell harries wrote: > >> I have posted a simple way of using Node.js with Cocoon >> >> http://warrell.blogspot.co.uk/2014/05/extending-life-of-my-cocoon.html >>

Using Node.js as a Generator

2014-06-04 Thread warrell harries
I have posted a simple way of using Node.js with Cocoon http://warrell.blogspot.co.uk/2014/05/extending-life-of-my-cocoon.html I hope this may be of some help to anyone similarly minded, Thanks Warrell

Re: authentication framework

2014-05-27 Thread warrell harries
Hi Peter, This is an action that should be declared in the root sitemap. Have you built the war file with the authentication block enabled? Cheers, Warrell On 27 May 2014 14:28, Peter Sparkes wrote: > Hi > > I can't get the * authentication framework sample to to work in *Cocoon > 2.1.12 >

Re: Upgrade of HSSF to XSSF Excel serializer, anyone?

2014-05-13 Thread warrell harries
-3-formatting.aspx as a good place to start. Cheers Warrell On 9 May 2014 09:58, warrell harries wrote: > Hi Cocooners, > > I have just run into the 65535 upper limit on the number of rows in an > Excel workbook as serialized using the gnumeric schema. > > Of course, I trie

Re: compile-build.xml:79: java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI

2014-05-13 Thread warrell harries
Try the standalone pure ant build outside of Eclipse environment e.g. from a command line Cheers W On 13 May 2014 13:55, Paul G. Joseph wrote: > Hi there, > > I am trying to compile Cocoon 2.1.11 in Eclipse (Luna, version 4.4). > > I get: > BUILD FAILED > C:\cocoon-2.1.11\tools\targets\compil

Upgrade of HSSF to XSSF Excel serializer, anyone?

2014-05-12 Thread warrell harries
Hi Cocooners, I have just run into the 65535 upper limit on the number of rows in an Excel workbook as serialized using the gnumeric schema. Of course, I tried substituting the latest poi-3.10 jar from the excellent POI project for 3.0.2.jar that has worked well so far. Alas, some of the methods

Re: Cocoon 2 - Webservice

2014-04-07 Thread warrell harries
It's as simple as just using the stream generator. Take Baby Steps and it will become clear Regards Warrell On 7 April 2014 16:48, wrote: > Hello, > Unfortunately, I'm only now to respond. Restful was recommended to me by my > instructor. I would like to send the XML file via POST to

Re: Accessing application/json message body of POST request

2014-03-16 Thread warrell harries
Hi Bardo, The simplest way that I have found to handle json posts is to use the text generator. Alternatively, you are free to write a json generator which would convert json to xml as this is the default data format of cocoon. I have been successfuly using cocoon to handle json (the contemporary

Re: Inter Server Communications

2013-05-17 Thread warrell harries
Hi Peter, I use a version of the proxy transformer. If the bundled one doesn't work for you it is easy to roll your own. Cheers Warrell On 17 May 2013 16:21, "Peter Sparkes" wrote: > Hi > > I have an application in which I require to send a POST request from the > server to another non Cocoon w

Re: [ANN] Apache Cocoon 2.1.12 Released

2013-03-20 Thread warrell harries
Thanks very much for keeping the Cocoon 2.1 flame burning. I'm still building on the 2.11 platform so I look forward to upgrading to this release. All the best Warrell On 20 March 2013 14:41, Cédric Damioli wrote: > Apache Cocoon 2.1.12 Released > - > > The Apach

Re: Using FOP 1.1 with Cocoon 2.1.11

2013-02-09 Thread warrell harries
I believe it is. Certainly, I have used 1.0...iirc On 9 Feb 2013 08:17, "Peter Sparkes" wrote: > Hi, > > Is it possible to use FOP 1.1 with Cocoon 2.1.11 > > Thanks > > Peter > > --**--**- > To unsubscribe, e-mail: > users-unsubscri

Re: beginner q: possible to set extension .xsl as type='xslt' by default?

2012-10-16 Thread warrell harries
Are those included xsl files where they are supposed to be? On 16 October 2012 15:42, whatnext wrote: > > Hi Jos: > > Thanks for your help. I didn't really change the sitemap.xmap that was > generated from the instructions mentioned, but here it is: > > > > http://www.w3.org/2001/XMLSchema-ins

Re: beginner q: possible to set extension .xsl as type='xslt' by default?

2012-10-16 Thread warrell harries
meant 'chaining' :) On 16 October 2012 15:12, warrell harries wrote: > Hi, > > Depending on your sitemap components set-up (see the top of the file > e.g. ) > the default Transformer should be the XSLT one. > > Try omitting the type altogether. > > Remember

Re: beginner q: possible to set extension .xsl as type='xslt' by default?

2012-10-16 Thread warrell harries
Hi, Depending on your sitemap components set-up (see the top of the file e.g. ) the default Transformer should be the XSLT one. Try omitting the type altogether. Remember that the Pipeline is key so don't try 'chaing' xslt from within your .XSLT file. Attaching the files to your question would

Re: Setting URLConnection User-Agent String

2011-10-11 Thread warrell harries
Yep, do it in the setup public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException { super.setup(resolver,objectModel,src,par); try { Source inputSource = resolver.resolveURI(super.source); this.source = inputSo

Re: Setting URLConnection User-Agent String

2011-03-01 Thread warrell harries
generation/WebServiceProxyGenerator.java It could be that this will be sufficient for your requirements. Best regards, Warrell On 28 February 2011 16:13, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Warrell, > > On 2/28/2011 6:41 AM, warre

Re: Setting URLConnection User-Agent String

2011-02-28 Thread warrell harries
Please see recent discussion regarding proxying to another server. In brief, I usually deploy a custom transformer based on the web service proxy transformer but setting the user agent header before invoking the web service. Seems like this is a common requirement and it would be good if the desir

Re: Passing XML to webservice?

2011-02-24 Thread warrell harries
ff: Re: Support / Consultancy for our Cocoon 2.1.9 platform > Gesendet: Mi, 23. Feb 2011 > Von: warrell harries > > Here is the reference to support my posting about your problem with using > the document function. My reply seems to have been delayed... > http://www.mail-archiv

Re: Support / Consultancy for our Cocoon 2.1.9 platform

2011-02-23 Thread warrell harries
Here is the reference to support my posting about your problem with using the document function. My reply seems to have been delayed... http://www.mail-archive.com/users@cocoon.apache.org/msg34182.html

Re: Re: Support & Traxtransformers

2011-02-23 Thread warrell harries
Hi Alec, Having considered this issue my suggestion is to use a custom transformer which invokes the external content provider with values from the pipeline document and sets the user agent header from the orginal request. The response from the external request is then aggregated or replaces the d

Re: Support / Consultancy for our Cocoon 2.1.9 platform

2011-02-16 Thread warrell harries
I have a company, Cocoon Technology, that could help. My number is 07976232632. I am based near Portsmouth. Hope to hear from you, Regards Warrell On 12 February 2011 12:36, Alec Bickerton wrote: > Can anyone suggest a company that provides support for Cocoon 2.1. I've > tried the links on >

Re: Work Opportunity

2011-01-19 Thread warrell harries
Hi Peter, I have a company, Cocoon Technology, that could help. My number is 07976232632. I am based near Portsmouth. Hope to hear from you, Regards Warrell On 17 Jan 2011 11:24, "Peter Sparkes" wrote: > Hi, > > I maintain a number of websites, for different companies, using the following tech

Re: Calling LaTeX from within Cocoon

2010-04-29 Thread warrell harries
Definitely possible. You could have a look at the FINS project as a good example of how to to this sort of thing. In that case they use XML as an interface to JFreeChart. You can write a custom serializer and/or transformer. Of course the preferred way is to use XSL:FO and a number of people have

Re: File upload without "full" form submit.

2010-01-11 Thread warrell harries
Hi Tomek, To do this sort of thing I sometimes use bad old showModalDialog and attach this to a button onclick event. This function is supported by Firefox and IE and doesn't trigger the submit of a Cocoon form. Nasty, but it works for intranets... Cheers W 2010/1/10 Tomek Piechowicz > Hi. >

Re: using Authentication-fw in cocoon 2.1.10! HELP!!!

2009-10-01 Thread warrell harries
Hi Maria, I have the same problem - I gues one must use multiple matchers and pass these around from pipeline to pipeline and use the inputmodule {uri} Did you solve this problem? 2009/9/6 Maria Grigorieva > > The main problem is that pages "first" and "five" open in new window. > > And redire

Re: Starting out with Cocoon 2.2

2009-09-10 Thread warrell harries
IMHO, developers tend to mirror the general population in that the majority follow the herd. The habits of imperative Java programming and the not-invented-here syndrome meant that Cocoon was only ever going to appeal to a minority of enlightened developers. Maven is a head f&*ck for the average J

Re: PDF export using cocoon

2009-08-21 Thread warrell harries
all a > URL from ruby I guess and cocoon will generate the pdf based on the URL? > > Regards, > > Jeroen > > warrell harries wrote: > >> It's an XML framework... so, in short, no :) >> >> >> 2009/8/19 anandhthiyagarajan > anandhthiyagara

Re: PDF export using cocoon

2009-08-20 Thread warrell harries
It's an XML framework... so, in short, no :) 2009/8/19 anandhthiyagarajan > > Hi everyone > > Is there any possibility to generate the PDF documents using cocoon > without generating xml files. I m working in Ruby on Rails. Any help would > be appreciated. > > Thanks > > Anandh > -- > Vie

Re: Trouble with Dynamic Chart

2009-08-07 Thread warrell harries
Have you looked at FINS? http://www.lucamorandini.it/fins/faq.html 2009/8/6 sh kh > I'm following the Cocoon 2.2 tutorial. I created a dynamic chart with a > java class implementing JFreeChart. I want to view the rendered chart in > cocoon. I'm using flowscript and map:read, but no luck. I g

Re: Stand alone Cocoon

2009-06-26 Thread warrell harries
Small is beautiful :) I have a lot to be modest about 2009/6/26 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 wrote: > > zzku

Re: Stand alone Cocoon

2009-06-26 Thread warrell harries
I haven't looked at version 3.0 but I have done just what you describe using 2.1x and the CLI technique. Have you looked at the process for packaging Coccon as an offline application. There is some recent comment on the mailing list about it and thre is plenty of material on the web. Enjoy - it is

Re: Cocoon 2.1.11, Java 6 and Maven

2009-06-15 Thread warrell harries
One of the nice things about the Cocoon 2.1x line is that oldies like me can just use a text editor and the command line. I never found Eclipse was worth the hassle and I was never quite sure what was going on behind the scenes. That risk can stifle progress and burn precious time when you start a

Re: Cocoon 2.1.11, Java 6 and Maven

2009-06-12 Thread warrell harries
u - what about build.sh 2009/6/12 Peter Horlock > uuuhm. I wrote: > > cocoon-2.1.11$ cocoon.sh > > Which means I am on a Linux system and I ran "cocoon.sh" which is the Linux > equivalent to build.bat >

Re: Cocoon 2.1.11, Java 6 and Maven

2009-06-12 Thread warrell harries
Have you tried building Cocoon from the command line using build.bat? Baby steps... 2009/6/12 Peter Horlock > Hi, > > I just joined a company using Cocoon 2.1.11. Java 6 and Maven. > For them everything works fine, for me I get a ton of errors in Eclipse - > mostly conflicts concerning org.w3c.

Re: [2.2] map:generate where the source is an url

2009-02-24 Thread warrell harries
You can! Using different types of generators allow you to consume the different styles of Web services. This is what makes Cocoon so good for application development. Google for some more info on how to do it. I remember writing a few contributions with regard to version 2.1x 2009/2/24 Magnus Hara

Re: mapping xml 2 java using cocoon (block)

2009-02-05 Thread warrell harries
Hi Robby, Cocoon is about keeping your application model in XML and then transforming this document model using Java components. It looks like you want to use it the other way around. That is to say, you would get further with Cocoon if you intend to transform Product XML elements to XHTML. Reading

Re: Inserting XML XMLDB

2008-10-06 Thread warrell harries
Hi Jose, The way I do it is to have a stylesheet such as this :- * http://www.w3.org/1999/XSL/Transform";> http://apache.org/cocoon/xmldb/1.0";> http://www.xmldb.org/xupdate";> *

Re: embedded xindice

2008-08-26 Thread warrell harries
Woops, my apologies, Vadim. Is this the code in Cocoon? I was referring to the 2.1x distribution - I guess it hasn't made it to 2.2 yet

Re: embedded xindice

2008-08-26 Thread warrell harries
Hi, >From the distribution have a look at http://localhost:/samples/blocks/xmldb/welcome There is enough there to get you started. As this is (I believe) the eXist codebase you could check out that project site http://exist.sourceforge.net/ Cheers, Warrell 2008/8/26 takpoli <[EMAIL PROTECT

Re: External Entity in sitemap

2008-08-20 Thread warrell harries
nfigurationBlock pipeline > directly - ie not through servlet service - the action does what its > supposed to and sets the Allow header with the appropriate value. > > Does anyone have any idea why this wouldn't work with servlet service? > The xml entity route was just meant to be a

Re: External Entity in sitemap

2008-08-20 Thread warrell harries
Hi Heather, You should certainly follow the tutorial on how to use catalogs to make the XML Entity known to Cocoon. This worked for me with some large DTDs that I needed to make available to Cocoon 2.1x. On the related question of how to get an XML fragment into your sitemap you could invoke a ma

Re: Query Database & Produce Excel Document

2008-05-14 Thread warrell harries
I have done exactly this (even under Cocoon CLI) but don't have the code to hand. It's quite straightforward except that the sendmail transformer invoked the pipeline to build the s/s which took so long that the sendmail connection was dropped. To solve this I ran one CLI to build the s/s and then

Re: Strange XSLT transformer behaviour?

2008-04-22 Thread warrell harries
Hi Heather, Remember that XSLT is a set of rules to apply to your input XML document. You have defined a rule whose output will triggered when the root of your input XML document Since all XML documents have a root then your template will fire and output the HTML that you have defined. No odd beh

Re: SQL-Transformer: SQL query with multiple statements

2008-03-27 Thread warrell harries
Surely you are joking Dr Feynman! Apologies to the great man http://www.gorgorat.com/ What about :- SELECT person_id, age FROM persons WHERE person_id between $id and $id + 1000 Alternatively, depending on which DBMS and to give you more flexibility put your SQL in a stored proc and call that

Re: Convert escaped xml back to xml or SAX events

2008-03-03 Thread warrell harries
You could use Saxon e.g. :- http://www.w3.org/1999/XSL/Transform"; xmlns:saxon="http://saxon.sf.net/";> On 29/02/2008, dkropotova <[EMAIL PROTECTED]> wrote: > > > Dear all, > > I am using SOLR to store my xml files, that have been xml-escaped > beforehand > (so that now they are si

Re: Securing JDBC credentials that are stored in cocoon.xconf

2008-02-22 Thread warrell harries
If you are running under a J2EE App server you can use JNDI to get these credentials from your application server context manager. I have had to do this for WebSphere and Tomcat deployments. Probably a bit easier than changing Java code. Are you running under the Jetty server? There is documentat

Re: modular database action

2008-02-12 Thread warrell harries
I recommend you look at the sqltransformer component. Try the examples and you should find this is the most generic approach On 11/02/2008, Al Brown <[EMAIL PROTECTED]> wrote: > I'm trying to figure out how to use a mysql database in an cocoon action. > I'm using cocoon 2.1.10 > > I have a mysql d

Re: Export database to XML file

2008-01-09 Thread warrell harries
rst error), i have antoher errror > > FATAL_E 2008-01-08 22:26:46.828 [] (): Exception caught > org.apache.avalon.framework.component.ComponentException: Could not find > compone > nt (key [org.apache.cocoon.Processor]) > > > > > warrell harries-3 wrote: >

Re: Export database to XML file

2008-01-08 Thread warrell harries
No problem? First use the Web App version to develop your core pipelines then look at the CLI documentation, write your XSLT and SQLTransformer Query and let your config generate the responses to a file. Give it a go and when you have a specific problem the members of this list will come to your

Re: Starting with Cocoon

2007-11-18 Thread warrell harries
You can build a deployable war file by building to the target war. I believe this is documented but, as with all things open-source, you have to be prepared to dig around until you find the way. The simplest way to get your head around Cocoon is to use the Jetty based distribution until you unders

Re: Starting with Cocoon

2007-11-17 Thread warrell harries
w how to wrap a web application in a war and throw it in the > tomcat/webapp. Before, I learn how to use blocks I need to be able to > write a small siplme application and build on top of it. > > If you know how to get this done, then please share the knowledge. > Thank you. &

Re: Starting with Cocoon

2007-11-17 Thread warrell harries
Hi, Have you followed the threads in the 2.10 release e.g. http://cocoon.apache.org/2.1/howto/howto-explore-samples.html One of the advantages of Cocoon is that you do not need to get involved in the Cocon servlet e.g. web.xml or the conventional configuration e.g. cocoon.xconf. You only need co

Re: Custom DOM transformer

2007-11-16 Thread warrell harries
Surely some mistake (probably a typo) but your pipeline should be :- On 16/11/2007, Jean-Claude Vogel <[EMAIL PROTECTED]> wrote: > > Here is the concerned extract of my sitemap : > > > value="text/xml"/> > >

Re: Custom DOM transformer

2007-11-16 Thread warrell harries
Hi Jean-Claude, What generator are you using in your pipeline match? Can you show us the sitemap? You would need to use the Request generator or another one that 'loads' the pipeline with the contents of the HTTP Request. Cheers On 16/11/2007, Jean-Claude Vogel <[EMAIL PROTECTED]> wrote: > > Hel

Re: URL translations/rewriting

2007-08-30 Thread warrell harries
Can you use the {request-param:lon1} input module? e.g. On 30/08/2007, Ken Gerrard <[EMAIL PROTECTED]> wrote: > > Hello. I've been using Cocoon for a few years and I love it! I'm using > 2.1.10 on Windows, MacOS X, and SuSE linux. > > A web services interface has been written at my work, a publ

Re: CInclude POST (by Payload)

2007-08-29 Thread warrell harries
Hi Andrew, I had a similar need for this sort of component when invoking SOAP Web Services from Cocoon. I took the WebServiceProxyGenerator code and adapted it to be a Transformer. I had to change one of the headers to include the SOAP method but apart from that it is pretty much unchanged. Please

Re: offline generation

2007-08-17 Thread warrell harries
http://cocoon.apache.org/2.1/userdocs/offline/cli.html On 16/08/07, Lincoln Mitchell <[EMAIL PROTECTED]> wrote: > > Is offline generation much easier these days in cocoon? > If so, where is the most up to date documentation on it? > > Linc > > >

Re: Novice question

2007-08-08 Thread warrell harries
Hi, This request is somewhat vague. Cocoon is designed to process XML. I would suggest keeping your XML and using the the XSL and SQLTransformers to update the database and possibly write your own Custom transformer to implement whatever behaviour you require to be triggered. However, you are like

Re: Problem with SQLTransformer

2007-07-26 Thread warrell harries
ps, thanks for pointing that out, Florian. Perhaps it's because I have been (who hasn't?) bewildered by the vagaries of Xalan and namespaces enough times to always use the sql: prefix ;-) On 26/07/07, Dev at weitling <[EMAIL PROTECTED]> wrote: warrell harries wrote

Re: Problem with SQLTransformer

2007-07-26 Thread warrell harries
From the xml snippet it appears that you have missed out the sql: prefix One of those infuriating 'can't see for looking' things perhaps On 26/07/07, Michel Gutierrez <[EMAIL PROTECTED]> wrote: Hi, There is certainly a stupid reason but i've spend a few hours to make the SQLTransformer work

Fwd: jTDS Sybase Result Set from Stored Procedure call

2007-07-17 Thread warrell harries
-- Forwarded message -- From: warrell harries <[EMAIL PROTECTED]> Date: Tue, 17 Jul 2007 18:00:07 +0100 Subject: jTDS Sybase Result Set from Stored Procedure call To: users@cocoon.apache.org Hi, Has anyone had this problem (and found a solution)? I'm using

jTDS Sybase Result Set from Stored Procedure call

2007-07-17 Thread warrell harries
Hi, Has anyone had this problem (and found a solution)? I'm using the trusty SQLTransformer on Cocoon 2.10 and jTDS 1.2.1 against Sybase ASA 12.50 When invoking Sybase stored procedures I don't get the ResultSet back as I would expect (I don't get them at all). There is a some discussion about

Re: Offline Generation and link crawler problem

2007-07-16 Thread warrell harries
Hi Leonardo, Have you got the following view defined in your sitemap? As I understand it, this definition must be there to allow the recursion to wotk, Cheers Warrell On 16/07/07, Leonardo De Stefano <[EMAIL PROTECTED]> wrote: Hi. I Have a problem with the offline gener

Re: Cocoon database access strategy

2007-07-02 Thread warrell harries
Hey Ard, Please understand that I'm really happy to be having this discussion and that I could never get annoyed or irritated about such things. Thanks again1 Warrell On 02/07/07, Ard Schrijvers <[EMAIL PROTECTED]> wrote: If you feel annoyed or irritated, don't, because 1) I was merely jok

Re: Cocoon database access strategy

2007-07-02 Thread warrell harries
What a great idea - 20 years ago (or even 10) it might have occurred to me! Of course, Cocoon wasn't even dream't of then. Your tongue-in-cheek joke is much appreciated but it does reflect the machismo in the industry where guys (and it is invariably young'ish men) who compete to invent the most i

Re: Cocoon database access strategy

2007-07-02 Thread warrell harries
The answet to that one is - it all depends.. on which Application Container, DBMS and JDBC driver you are using. It is good that you have discovered that you can do so much with the SQLTransformer. As you know, I am very fond of using this component. I have no qualms about generating elements ba

Re: Cocoon database access strategy

2007-06-25 Thread warrell harries
I realise my postings can sound a pompous so I reckon Ard was just saying "Different Horses for Different Courses" but using Hippo's and the Dutch Masters as a surreal juxtaposition On 25/06/07, Derek Hohls <[EMAIL PROTECTED]> wrote: Maybe its because I am not Dutch but I really do not get

Re: Cocoon database access strategy

2007-06-25 Thread warrell harries
Hi Ard, I understand your comic sarcasm and I think I know where you are coming from ;-) In the final analysis, it seems to depend on where you place the centre of gravity of your application at the outset. If you start building an Object based system and then add persistence you are probably alw

Re: Cocoon database access strategy

2007-06-22 Thread warrell harries
Hi Derek,Ard and Rob, This is an interesting thread because it touches on the received wisdom that 'business-logic' belongs in Java classes. This is even promoted on the web-site under the XSLT FAQ. At the risk of being heretical, I'm not sure that is something I believe in any longer (or have d

Re: Cocoon database access strategy

2007-06-18 Thread warrell harries
rhaps one of the developers could address the plans for that technology - will it still be supported in versions 2.2 and beyond? >>> "warrell harries" <[EMAIL PROTECTED]> 06/18/07 9:46 AM >>> Hi, Does the database you are using support stored procedures (even MySql no

Re: Cocoon database access strategy

2007-06-18 Thread warrell harries
Hi, Does the database you are using support stored procedures (even MySql now does)? If so, write the complex SQL as a strored procedure and then execute the stored procedure from the SQLTransformer, possibly using the ancestor construct that the SQLTransformer has specifically to support nested

Re: DB access without Tomcat

2007-06-15 Thread warrell harries
Hi Mauro, Yes, it's quite possible. I have done it for DB2 which was a bit of a challenge as I recall. Remember to put the JDBC Driver classes into the web.xml - there may be one or two other things, perhaps in the .conf file that you use for the CLI approach, but it does work. I've had some grea

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
I have just deployed cocoon.war to IBM WebSphere Application Server, 5.1.1.9 and there was no problem. It is only the Forms block and something else I recall that needs the modifications I described. Have you deployed cocoon as a war file with a context. You don't need to do anything else and the b

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
You have to make a shared library of the rhino-continuations jar and there is another fix for the Cache stuff which I can't remember at the moment cos I haven't got my material here. It ain't straightforward by any means (bad old WebSphere) so, as I said, cocncentrate on developing your application

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
Hi Sharda,The simplest way is to build the WAR file as in the INSTALL.TXT and import this into WSAD.You may be better off not bothering with WSAD as the whole point of Cocoon is that you can build fully featured applications without having to develop Java code as you can link components in a pipeli

Warrell Harries is out of the office.

2006-05-13 Thread Warrell . Harries
I will be out of the office starting 13/05/2006 and will not return until 12/07/2009. I will respond to your message when I return.

Re: User Management Application in Cocoon, maybe based on CForms

2006-05-09 Thread Warrell . Harries
groups. It's not entirely what you describe (does not plug into the authentication framework for instance) but is suitable for asset control people to provision and deprovision systems. You might find the Custom Transformer source useful if you want it. Regards Warrell Harries | IT Ser

Re: cocoon 2.1.8 PortalEngine obtaining User/Group Info in the Sitemap

2006-05-08 Thread Warrell . Harries
e but I'm sure it will be worth it. Regards Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] Jens Maukisch <[EMAIL PROTECTED]> 20/04/2006 19:10 Please respond to users@cocoon.

Re: cocoon

2006-05-04 Thread Warrell . Harries
lding Cocoon with the latest IBM JDK and upgrading the servlet container JDK too. I'm sorry I can't be more specific but this might point you in the right direction. Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837

Re: Question on using CForms with XSLT and aggregation

2006-04-26 Thread Warrell . Harries
managed in a single simple _javascript_ source file rather than dispersed throughout your xhtml and sitemap. I think if you take a look at the tutorial and use the sendPage stuff you should be OK, Regards Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh H

Re: Handling SQL Transformer exceptions

2006-03-31 Thread Warrell . Harries
ining it. Good Luck Warrell Harries | IT Services, West Sussex County Council | Location: Northleigh House Office: +44 (0) 1243-756837 | Email: [EMAIL PROTECTED] Oleg Konovalov <[EMAIL PROTECTED]> 31/03/2006 15:38 Please respond to users@cocoon.apache.org To users@c

Re: Handling SQL Transformer exceptions

2006-03-31 Thread Warrell . Harries
three stages :- 1) Set up your sql as the generator, 2) Transform using the SQLTransformer 3)  terminate the pipeline with If you don't see anything (make sure you use the browser view source) then something more fundamental is amiss, Cheers Warrell Harries | IT Services, West Sussex County

Re: Handling SQL Transformer exceptions

2006-03-28 Thread Warrell . Harries
ml. You can find the file at build\webapp\stylesheets\system\error2html.xslt Hope this helps and you don't abandon Cocoon because it takes a declarative, separation of concerns approach which is orthogonal (at right angles) to the more common imperative one. Warrell Harries | IT Servic

Re: Handling SQL Transformer exceptions

2006-03-27 Thread Warrell . Harries
is, if the XSL that outputs the elements is in query.xsl then the error handling should be in process.xsl                                                 Of course, you will also provide templates for the elements generated when there are no errors! Hope this helps Warrell Harries | IT

  1   2   >