Re: Lowering in amount of users' posts?

2010-04-19 Thread Robin Rigby
That depends on the context in which you work: experience, environment, support. I like the previous comment about it being a change for the developers' benefit. As someone working on my own with little contact with other developers, I used 2.1 at a fairly superficial level, without troubling

Tutorial and Tomcat deployment

2009-11-17 Thread Robin Rigby
Suffering great frustration deploying Cocoon 2.2 to Tomcat. Reverted to the tutorial to check the basics. Hope following notes will help someone else avoid pain. Robin - SUMMARY --- A. Tutorial page 1. Welcome page has a link to spring bean which fails if called from

RE: exit from pipeline

2009-05-08 Thread Robin Rigby
I don't know if this is what you want: match result.html - generate - transform stage 1 // would like stage1.xml? - transform stage 2 - serialize A view is one possibility but the url is cumbersome. Could you do it with two pipelines? match stage1.xml - generate - transform stage 1 -

RE: Determining the host OS

2009-01-20 Thread Robin Rigby
Martin Does this help you? map:parameter name=system-property:file.separator value={system-property:file.separator}/ Look at blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/COB-INF /modules/sitemap.xmap Robin -Original Message- From: news

RE: CookieCreatorAction

2008-09-29 Thread Robin Rigby
two different versions of the same artifact? Can anybody point me to an explanation? Thanks Robin Rigby -Original Message- From: Robin Rigby [mailto:[EMAIL PROTECTED] Sent: 26 September 2008 23:29 To: users@cocoon.apache.org Subject: CookieCreatorAction I have added

CookieCreatorAction

2008-09-26 Thread Robin Rigby
I have added a CookieCreatorAction and a dependency to cocoon-scratchpad-impl. I get the stack trace below when Jetty starts. Have I done something wrong, or is there something that needs to be fixed? Thanks Robin Rigby - Stack trace -- 2008-09-26 22:45:34.841::WARN

DAOSecurityHandler

2008-08-05 Thread Robin Rigby
Where do I find docs and / or samples for DAOSecurityHandler and UserDAO, please? I am looking for the Java equivalent of the JavaScript var parser = cocoon.getComponent(Packages.org.apache.excalibur.xml.dom.DOMParser.ROLE); and the same for SourceResolver. Sitemap components seem to get

RE: How to access configuration files and properties after packaging

2008-07-03 Thread Robin Rigby
Here is one way that seems to work. Make a separate set of configuration for development and the default for production. \src\main\resources\META-INF\cocoon\properties\config.properties \src\main\resources\META-INF\cocoon\dev\properties\config.properties and run during development with mvn

RE: How to access configuration files and properties after packaging

2008-07-03 Thread Robin Rigby
-Original Message- From: Robin Rigby [mailto:[EMAIL PROTECTED] Sent: 03 July 2008 12:23 To: users@cocoon.apache.org Subject: RE: How to access configuration files and properties after packaging Here is one way that seems to work. Make a separate set of configuration for development

RE: How to access configuration files and properties after packaging

2008-07-03 Thread Robin Rigby
src={path.to.non.war.resources}/{1} / etc Robin -Original Message- From: Johannes Hoechstaedter [mailto:[EMAIL PROTECTED] Sent: 03 July 2008 12:45 To: users@cocoon.apache.org Subject: Re: How to access configuration files and properties after packaging Robin Rigby schrieb

DocBook

2008-06-29 Thread Robin Rigby
The DocBook sample in version 2.2 is the same as in 2.1. You need a pointer to sdocbook.dtd to make it work. The sample makes this clear and refers to the version 2.1 documentation which in turn refers to cocoon.xconf and WEB-INF/classes. These do not appear in a standard block in 2.2. The 2.2

RE: Cocoon 2.2 resources outside of a Block

2008-05-31 Thread Robin Rigby
Hi To extend this a little further, my main data resource is a largish XML file which is edited, updated, mainatined by a user, Mary. She works on a local copy and uploads via plain old FTP. She has _no_ interest in the other parts of the application. In 2.1 I was able to make the Cocoon

Problem after trunk update

2008-04-25 Thread Robin Rigby
Updated trunk. Rebuild OK. Then mvn jetty:run gives this first ERROR [main] (ContextLoader.java:214) - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource

List of components

2008-03-09 Thread Robin Rigby
Is there a way to get a list of Avalon components loaded by Cocoon core, with their sitemap names? Or should I grep the trunk? The avalon config files in cocoon-sitemap-components list only modules. The JavaDoc for SessionPropagatorAction gives type=session-propagator but I get cause: Type

RE: MockLogger configuration

2008-01-30 Thread Robin Rigby
and using components. They are very welcome. Many thanks Robin -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 29 January 2008 21:14 To: users@cocoon.apache.org Subject: Re: MockLogger configuration Robin Rigby pisze: Am I right that the MockLogger

MockLogger configuration

2008-01-29 Thread Robin Rigby
Am I right that the MockLogger delegates to log4j? I get warnings about configuring log4j. Where should I put log4j.xconf for testing? Better, where should I look to find out for myself? Many thanks Robin - To

AbstractTestCase

2008-01-27 Thread Robin Rigby
Hi Have written action. Compile OK, Install OK. Need to test. Found AbstractTestCase in cocoon-sitemap-impl. How can I add a dependency to my POM that will make AbstractTestCase available to my test cases? It is not included in cocoon-sitemap-impl.nnn.jar, is it? So, no kind of

Cocoon 2.2 tutorial

2007-12-20 Thread Robin Rigby
Cocoon 2.2 may be wonderful when you get to know it but meanwhile the multiple learning curves are tiresome. I mean maven + spring + eclipse + cocoon. How do I identify what is missing, here? The third page of the tutorial [3] works fine. At the top of the next page [4], the web application

RE: xpath condition on xml data in sitemap

2007-11-22 Thread Robin Rigby
Something with an action [1] or XSP action [2]? generator transformer A action -- transformer B1 -- transformer C -- serializer transformer B2 transformer C serializer The action analyses the stream from transformer A and returns action:set-success/ or action:set-failure/. On success, the

RE: webapp maven error

2007-11-15 Thread Robin Rigby
I have the same problem. myCocoonWebapp is Ok on its own. The parent POM fails as described Robin -Original Message- From: tomasz [mailto:[EMAIL PROTECTED] Sent: 15 November 2007 14:23 To: users@cocoon.apache.org Subject: webapp maven error Hello I tried to prepare application

RE: webapp maven error

2007-11-15 Thread Robin Rigby
-- Removed this directory: ~/.m2/repository/org/apache/maven/plugins/ and repeat mvn install Gets [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-war-plugin:2.0.2:war': Unable to find the mojo

Getting Started Guide

2007-11-08 Thread Robin Rigby
I have follwed the Getting Started Guide as far as Using the Reloading Classloader [1]. I move to getting-started-app/ and invoke mvn eclipse:eclipse. I get Cannot execute mojo: eclipse. It requires a project with an existing pom.xml, but the build is not using one. Am I in the

RE: Very basic problem

2007-10-03 Thread Robin Rigby
Thank you. It was embarrassingly basic. Not a Cocoon problem. Sorted. Robin -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: 02 October 2007 13:00 To: users@cocoon.apache.org Subject: Re: Very basic problem On 01.10.2007 9:37 Uhr, Robin Rigby wrote: I

Very basic problem

2007-10-01 Thread Robin Rigby
I am having difficulty with the Cocoon 2.2 trunk. It compiles Ok, as in README.txt, but does not run. The 'target' folder has no 'cocoon-webapp' subfolder, just 'classes'. I have tried removing the .m2 directory and downloading the trunk from scratch. C:\trunkmvn -Dmaven.test.skip=true -P

RE: Javascript Source File can not be directly loaded

2007-09-15 Thread Robin Rigby
As has already been pointed out, this is incorrect behaviour of Internet Explorer. The short form script ... / is not valid xhtml. You have to use script ... /script.HTML is much more tolerant. IE gets confused between xhtml and HTML. I had a particular problem with the JavaScript files

RE: cocoon against jdk 6

2007-08-01 Thread Robin Rigby
Yes. There were a couple of places where Cocoon did not implement functions required by abstract classes etc. Not too difficult to find out what they were and add empty functions. Works well now. Robin -Original Message- From: Valentin Jacquemin [mailto:[EMAIL PROTECTED] Sent: 01

RE: cocoon against jdk 6

2007-08-01 Thread Robin Rigby
:-) but not everyone chooses to be at the bleeding edge all the time... Robin -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 01 August 2007 16:38 To: users@cocoon.apache.org Subject: Re: cocoon against jdk 6 Robin Rigby pisze: Yes. There were a couple

RE: Cocoon 2.2: initial build

2007-07-31 Thread Robin Rigby
Yes, that was the thread I remembered. It needed 'mvn clean' but then it works OK. Thanks a lot. Robin -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 30 July 2007 23:56 To: users@cocoon.apache.org Subject: Re: Cocoon 2.2: initial build Robin Rigby

Cocoon 2.2: initial build

2007-07-30 Thread Robin Rigby
Sorry, I still cannot make this build work. The Maven 'Hello World' now works OK. I deleted all the files and downloaded a new snapshot this morning. I have tried cd cocoon mvn -Dmaven.test.skip=true -P allblocks install mvn -Dmaven.test.skip=true install cd tools mvn clean install I

RE: Cocoon 2.2: initial build

2007-07-30 Thread Robin Rigby
not know of your other efforts, but let's start at the beginning: - Which version of Java are you using? - Which version of Maven are you using 2.0.x? (2.0.6+ is required) Kind regards, Jeroen Reijn Robin Rigby wrote: Sorry, I still cannot make this build work. The Maven 'Hello World' now works OK

RE: Cocoon 2.2: initial build

2007-07-30 Thread Robin Rigby
: 30 July 2007 18:54 To: users@cocoon.apache.org Subject: Re: Cocoon 2.2: initial build Robin Rigby pisze: Sorry, I still cannot make this build work. The Maven 'Hello World' now works OK. What Maven Hello World? I deleted all the files and downloaded a new snapshot this morning. I have

RE: Cocoon 2.2: initial build

2007-07-30 Thread Robin Rigby
list: Cannot load 'resource://org/apache/cocoon/cocoon.roles' Thanks Robin -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 30 July 2007 19:41 To: users@cocoon.apache.org Subject: Re: Cocoon 2.2: initial build Robin Rigby pisze: Hi Grzegorz It's

Tools build failure

2007-07-21 Thread Robin Rigby
Hi I have downloaded Cocoon 2.2 and Maven; got Maven working. Following readme.txt, I run mvn -Dmaven.test.skip=true -P allblocks install which gives a few different failures, then one that repeats, so cd tools mvn clean install and I get more failures and one that repeats. Details

RE: PermGen space problem with Cocoon on Tomcat

2007-07-21 Thread Robin Rigby
I had a similar thing a month or two ago. I spent a lot of time looking in vain for a classloader leak. It turned out Cocoon needs more memory (on my system) than the Tomcat default. Have you tried making more memory available to Tomcat? I added memory options to the script that launches

RE: may not be this project's POM

2007-07-20 Thread Robin Rigby
@cocoon.apache.org Subject: Re: may not be this project's POM Robin Rigby pisze: Yes, Firefox and IE both read it OK. I still get the 403 error with wget and, of course, with Maven. Is there a way to save it and configure Maven to use it locally? Or should I go look for a Maven mailing list? You could

may not be this project's POM

2007-07-18 Thread Robin Rigby
configured a mirror that doesn't have that pom. A good thing to do here is to check manually if your repo actually has that file. Sorry, I only downloaded maven today and the readme lets me believe it should compile 'out out the box'. What should I do, please? Thanks in advance. Robin Rigby

RE: Namespace: behaviour differences

2007-07-18 Thread Robin Rigby
Grzegorz Can you recommend a tutorial or other info for prefix-independent XSLT? Robin Rigby [EMAIL PROTECTED] http://www.gondolier.org.uk 07785 765017 -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 13:51 To: users@cocoon.apache.org

RE: Namespace: behaviour differences

2007-07-18 Thread Robin Rigby
Thanks. That is how I understood it. I had not seen the term 'prefix-independent' before. Robin Rigby [EMAIL PROTECTED] http://www.gondolier.org.uk 07785 765017 -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 19:32 To: users

RE: may not be this project's POM

2007-07-18 Thread Robin Rigby
] Robin Rigby [EMAIL PROTECTED] http://www.gondolier.org.uk 07785 765017 -Original Message- From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 19:24 To: users@cocoon.apache.org Subject: Re: may not be this project's POM Robin

RE: may not be this project's POM

2007-07-18 Thread Robin Rigby
Yes, Firefox and IE both read it OK. I still get the 403 error with wget and, of course, with Maven. Is there a way to save it and configure Maven to use it locally? Or should I go look for a Maven mailing list? Robin Rigby [EMAIL PROTECTED] http://www.gondolier.org.uk 07785 765017

RE: Replacing FOP Jars

2007-07-16 Thread Robin Rigby
Kai Looks good but where does the new special FopSerializer come from? Robin Rigby [EMAIL PROTECTED] http://www.gondolier.org.uk 07785 765017 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16 July 2007 16:18 To: users@cocoon.apache.org Subject: RE

Attributes in i18n

2007-07-02 Thread Robin Rigby
. The result I want, of course, is pClick the a href=page.htmllink/a/p Thanks Robin Rigby [EMAIL PROTECTED] http://www.gondolier.org.uk 07785 765017 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Logged in user?

2007-06-27 Thread Robin Rigby
Is there an input module (or anything else) that would retrieve the user id from a Tomcat Realm (j_security_check)? Many thanks Robin Rigby [EMAIL PROTECTED] http://www.gondolier.org.uk http://www.gondolier.org.uk/ 07785 765017

RE: Cocoon Productivity

2007-06-01 Thread Robin Rigby
a single solution based on criteria that may not be general enough. As a beginner and a serious student, I would like to see the options, understand the pros and cons, choose one for myself. Robin Rigby -Original Message- From: Reinhard Haller [mailto:[EMAIL PROTECTED] Sent: 01 June

Instances and sessions

2007-04-02 Thread Robin Rigby
virtual hosts in Tomcat but use one instance of the cocoon code for all of them. 3. Copy the cocoon code to each virtual host. Option 1 looks wrong. Option 3 looks very cumbersome. Question: can I get away with option 2? What is the best practice here? Many thanks Robin Rigby [EMAIL

RE: Instances and sessions

2007-04-02 Thread Robin Rigby
To: users@cocoon.apache.org Subject: Re: Instances and sessions Robin Rigby wrote: I have several virtual hosts working with HostSelector, all on the same instance of cocoon in Tomcat 5.5. I am getting naming conflicts between session variables with the same name in different virtual hosts