Re: RCL goal refactorings / acegi

2008-04-09 Thread Reinhard Poetz
Patrick Heiden wrote: Hello together! Why is the acegi example still out-of-order? I've read [1] from Reinhard Poetz (back in Jun 2007) and there he mentioned trouble with ApplicationContext access due to the fact it seems to get closed when integrating acegi. I am able to reproduce

Re: 2.2 trunk - Servlet Service set attribute in global session but lose it at next servlet call.

2008-04-09 Thread Reinhard Poetz
Josh2007 wrote: Hello, I have a main block (block-a) which makes calls to a depend block (block-b). Block-b has access to the global session. At the first call from block-a, block-b creates a session-attribute test. I noticed this session-attribute can be retrieved within block-b (right

Re: RCL goal refactorings / acegi

2008-04-09 Thread Reinhard Poetz
Patrick Heiden wrote: Could you give a hint on where to dig inside cocoons code to have a look for myself meanwhile? Would be nice. Sure. The Maven 2 plugin can be found at http://svn.apache.org/repos/asf/cocoon/trunk/tools/cocoon-maven-plugin/. It contains all the stuff that creates a small

Re: RCL goal refactorings / acegi

2008-04-09 Thread Reinhard Poetz
Patrick Heiden wrote: Hello! Sure. The Maven 2 plugin can be found at http://svn.apache.org/repos/asf/cocoon/trunk/tools/cocoon-maven-plugin/. It contains all the stuff that creates a small web application for a block so that it becomes runnable in a servlet container. The integration of

Re: Confused over Coccoon vs. Spring

2008-03-31 Thread Reinhard Poetz
Pierre-Yves Saumont wrote: Yes, this is correct. Cocoon 2.1 was based on Avallon. Spring is definitely a much better option. There is a tutorial for version 2.2 with a Spring example. But be carefull, if you follow the tutorial, you will have a very buggy example. (But a working one!) What

Re: Confused over Coccoon vs. Spring

2008-03-31 Thread Reinhard Poetz
! Reinhard Poetz a écrit : Pierre-Yves Saumont wrote: Yes, this is correct. Cocoon 2.1 was based on Avallon. Spring is definitely a much better option. There is a tutorial for version 2.2 with a Spring example. But be carefull, if you follow the tutorial, you will have a very buggy example

Re: Getting the request query parameters in the XML

2008-03-27 Thread Reinhard Poetz
Kjetil Kjernsmo wrote: All, I need to access the query parameters from a GET request in my XSLT, and I have thought of several ways to do this, but all seems cumbersome, so I'm supposing I've lost something trivial. What would have been neat is something ol' AxKit's QueryParam could be

Re: Servlet via Servlet Services only

2008-03-25 Thread Reinhard Poetz
Vadim Gritsenko wrote: On Mar 25, 2008, at 9:21 AM, Grzegorz Kossakowski wrote: Robin Wyles pisze: Hi, I have a servlet (eXist db) configured as a block using blockServlet.xml, this works well - my other blocks are able to perform DB operations using eXist's REST API through servlet services.

Re: designing with 22-blocks

2008-03-18 Thread Reinhard Poetz
Patrick Heiden wrote: Hello together! After one week constantly comming to grasp with usage of cocoon 2.2 there are still several things wich are confusing. snip/ Patrick, many thanks for your thoughts. They are well appreciated. As you might guess, our main problem is the lack of spare time

Re: application-context loading order

2008-03-14 Thread Reinhard Poetz
Joerg Heinicke wrote: On 13.03.2008 06:21, Patrick Heiden wrote: Could somebody please explain in wich order springs application context is created (out of all 'block-specific' contexts inside META-INF/cocoon/spring/*.xml). I don't think the order of the block's spring.xml matter since

Re: NTLM with the authentication framework cocoon 2.2

2008-03-04 Thread Reinhard Poetz
rossputin wrote: Hi, has anyone done any work on integrating NTLM support with cocoon-auth in cocoon 2.2. Or does anyone know of any documentation on it? Everything is working great with auth from a DB, but now I need to play with windows integration. IIUC you have to implement your own

Re: [2.2] Basic question on new version of Cocoon

2008-02-19 Thread Reinhard Poetz
kamal wrote: Hi, I have finally got around to looking at Cocoon2.2 and I am having problems understanding a couple of things: 1. What happened to XSPs? We extensively use XSPs at work and would require either a XSPs or a valid replacement. XSP hasn't been migrated to 2.2 yet. The

Re: webapp and blocks

2008-02-18 Thread Reinhard Poetz
Andre Juffer wrote: Reinhard Poetz wrote: Apart from that, having a block doesn't necessarily require a Cocoon web application with configured servlet services being part of it. It's also a valid use case to have blocks that only contain Java resources and Spring beans (e.g. for domain

Re: rcl including jars for jetty

2008-02-18 Thread Reinhard Poetz
anil wrote: Hi Reinhard - Thanks for your advice - I followed your steps and the rcl plugin did acknowledge that the chiba jars were available. Many thanks for your assistance. Looking through the documentation for the cocoon-maven-plugin I've been trying to find out if there is a way to get

Re: [C2.2]: Could the RCL reload other blocks as well ?

2008-02-17 Thread Reinhard Poetz
Luca Morandini wrote: I know I'm asking much, maybe too much... but it would be nice to have an rcl.properties like this: org.cocoondev.geoid-samples.service%classes-dir=./target/classes org.cocoondev:geoid-core%classes-dir=../geoid-core/target/classes ...and having geoid-samples reloads

Re: webapp and blocks

2008-02-17 Thread Reinhard Poetz
Andre Juffer wrote: Hi all, Suppose I am building a 'Cargo' application. From a pure Java perspective, I would have domain modules such as customers, shipping, billing, etc, placed in packages like org.foo.cargo.customers, org.foo.cargo.billing, org.foo.cargo.ui, etc. With maven I would create

Re: webapp and blocks

2008-02-17 Thread Reinhard Poetz
Andre Juffer wrote: Would this organization conform to what is considered as good practice for building a web application with cocoon 2.2? What exactly would go to the src folder of the ./cargo/cocoon-app, besides WEB-INF containing web.xml, application.context.xml, etc. That's more or less

Re: Available Cocoon Blocks

2008-02-17 Thread Reinhard Poetz
Andre Juffer wrote: Dear All, This concerns the Available Cocoon Blocks at http://cocoon.apache.org/2.2/blocks/ As I understand it, these are NOT included in the core blocks. Is this correct? yes Would this imply that whenever one decides to use for instance flow and cforms in a given

Re: [C2.2]: Forms block

2008-02-17 Thread Reinhard Poetz
Andre Juffer wrote: More questions about blocks, in particular the forms block. I am trying to get a form going that worked very fine with C2.1, according to the migration guide at http://cocoon.apache.org/2.2/blocks/forms/1.0/1351_1_1.html The first step required a change in

Re: rcl including jars for jetty

2008-02-17 Thread Reinhard Poetz
anil wrote: Hi - I'm trying to integrate a 3rd party servlet filter into a cocoon block I'm creating. I'm using rcl trying to patch the web.xml generated by the rcl plugin using the xpatch mechanism. The patching of the web.xml seems to be fine - I can see the web.xml built and my changes are

Re: rcl including jars for jetty

2008-02-17 Thread Reinhard Poetz
anil wrote: After posting the above message I decided to try and find out if the rclwrapper.urlcl.conf file influences what's deployed to the jetty container when using the rcl plugin. In my pom.xml I removed the executions section of the cocoon-maven-plugin so that running jetty:run didn't run

Re: [C2.2]: Unable to log on a logger other than root

2008-02-16 Thread Reinhard Poetz
Luca Morandini wrote: I'm trying to divert the output of a reader of mine to a logger named geoid, to no avail so far. The relevant fragments of log4j.xml are: ... appender name=GEOID_APPENDER class=org.apache.log4j.FileAppender param name=File value=\${logs.dir}/geoid.log/ param

Re: cocoon 2.2 release?

2008-02-16 Thread Reinhard Poetz
Edward S wrote: Hey guys, when is the official release planned for cocoon 2.2?? I expect it for March. I see on the site, tht 2.2 RC2 was released a few months ago. Where can i download it from? For RC2 we have only put the release artifacts into the public Maven 2 repository

Re: cocoon.context.getRealPath cocoon 2.2

2008-01-22 Thread Reinhard Poetz
anil wrote: Hi - Just to update this posting with my investigations - I've managed to extract the file contents within my spring bean. The basic problem was the way I was creating the file object - the path returned by the cocoon.context.getRealPath() method was a URI when instantiating my

Re: 2.2 cocoon-cli

2008-01-14 Thread Reinhard Poetz
Martin Heiden wrote: Hi! Reinhard Pötz wrote: I expected 2.2 as the next version of cocoon. What about the 2.2 release? There are some open tasks left but I expect that we can start the release process at the end of January. Will the release of cocoon 2.2 include the cocoon-cli? I noticed

Re: map:read options

2008-01-14 Thread Reinhard Poetz
Romain Slootmaekers wrote: Robin Wyles wrote: Hi Romain, On 14 Jan 2008, at 13:40, Romain Slootmaekers wrote: Hi, I've been trying to use map:read to read a file from a location on the fs outside the cocoon root. http://cocoon.apache.org/2.2/core-modules/core/2.2/846_1_1.html is rather

Re: best wishes for 2008: 2.1 vs. 2.2

2007-12-29 Thread Reinhard Poetz
Ralph Goers wrote: My wish for Cocoon 2.2 has always been that 1. The download of Cocoon would be nothing more than installing a maven plugin. 2. You'd use a Maven archetype to create a starter project. Ideally, this is how the sample site should get created. 3. Building your project would

Re: RCL, Session and ClassCastException

2007-12-29 Thread Reinhard Poetz
Robin Wyles wrote: Hi, When developing using the RCL it seems that after I update any file that triggers a reload (e.g. sitemap) any references in my Java code to objects stored in the current session result in a ClassCastException. Debugging shows that the object is still there in the

Re: RCL, Session and ClassCastException

2007-12-29 Thread Reinhard Poetz
Torsten Curdt wrote: On 29.12.2007, at 19:40, Reinhard Poetz wrote: Robin Wyles wrote: Hi, When developing using the RCL it seems that after I update any file that triggers a reload (e.g. sitemap) any references in my Java code to objects stored in the current session result

Re: What is COB-INF?

2007-11-19 Thread Reinhard Poetz
Mansour wrote: Mansour wrote: In Cocoon 2.2 the generate block contains a folder called COB-INF which I think stands for Cocoon Block, may be. However, what is this directory and where can I configure it's name? Why would the root of the block be /COB-INF when referring to it in the sitemap

Apache Cocoon 2.2-RC2 Released

2007-11-03 Thread Reinhard Poetz
The Apache Cocoon Community is proud to announce the second release candidate of Cocoon 2.2. Apache Cocoon is a Spring-based framework (since version 2.2) built around the concepts of separation of concerns and component-based development. Cocoon implements these concepts around the

Re: Cocoon 2.2: Installation-trouble

2007-10-10 Thread Reinhard Poetz
Hanne Moa wrote: Per today, the tutorial at http://cocoon.apache.org/2.2/1159_1_1.html (http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1159.html in Daisy) is rather deeply flawed. Following the recipe by the letter, running mvn jetty:run at the end, leads to jetty running but showing an

[c22] Mounting a block at root /

2007-10-10 Thread Reinhard Poetz
Reinhard Poetz wrote: Hanne Moa wrote: Per today, the tutorial at http://cocoon.apache.org/2.2/1159_1_1.html (http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1159.html in Daisy) is rather deeply flawed. Following the recipe by the letter, running mvn jetty:run at the end, leads to jetty

[c22] Mounting a block at root /

2007-10-10 Thread Reinhard Poetz
Hanne Moa wrote: Reinhard Poetz wrote: Hanne Moa wrote: Per today, the tutorial at http://cocoon.apache.org/2.2/1159_1_1.html (http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1159.html in Daisy) is rather deeply flawed. Following the recipe by the letter, running mvn jetty:run at the end

Re: [Cocoon 2.2, Hibernate 3] Conflict in ehcache

2007-10-01 Thread Reinhard Poetz
Nacho Jiménez wrote: Dear all, I'm trying to migrate my Cocoon 2.1/Spring/Hibernate apps to Cocoon 2.2, and after a bit of banging my head against he wall, i finally understood what's maven and how to create cocoon projects, etc. I've created a cocoon 2.2 block with basic spring-hibernate

Re: [Cocoon 2.2] Why use a shielding repository ?

2007-08-27 Thread Reinhard Poetz
Olivier Billard wrote: Hi all, The Cocoon Maven plug-in can be configured given a useShieldingRepository configuration parameter. The effect is that all JARs / classes are moved from WEB-INF/lib and WEB-INF/classes respectively to WEB-INF/shielded/lib and WEB-INF/shielded/classes. The

Re: [GT2007] ANN: The 6th Cocoon GetTogether, Rome, October 2007

2007-08-23 Thread Reinhard Poetz
Gianugo Rabellino wrote: During the traditional Hackathon, developers and users will team up to discuss the Cocoon internals and work side by side on current Cocoon issues. I've created a wiki page to collect relevant information (ideas, who will come, etc.) about the Hackaton. See

Re: Multiple RCL locations with Eclipse

2007-08-21 Thread Reinhard Poetz
Grzegorz Kossakowski wrote: Jean-Christophe Kermagoret pisze: Hi, I'm trying to use Eclipse to debug my cocoon app. In my Jetty6 configuration, I have the following configuration : New id=cocoon class=org.mortbay.jetty.webapp.WebAppContext ArgRef id=contexts//Arg

Re: Rome 2007

2007-08-07 Thread Reinhard Poetz
Merico Raffaele wrote: Dear Community I am still missing some details (date, location, agenda) regarding the Cocoon GetTogether 2007 in Rome. Did I missed them? Can anybody provide me with any further status information? Many thanks in advance. see

Re: re-design of sitemaps

2007-06-06 Thread Reinhard Poetz
Stephen Winnall wrote: Has anyone given any thought to a re-design of Cocoon's sitemaps in one of the new versions of Cocoon? I can see scope for improvement in the following areas: 1) modularisation Cocoon 2.2 uses the servlet-service framework. See

Re: re-design of sitemaps

2007-06-06 Thread Reinhard Poetz
Geert Josten wrote: Would it be right to say that the intention of this XML schema is only to support a simple subset of all possible current Cocoon sitemaps? Can one then provide the missing functionality by writing one's own blocks using the servlet-service framework? Have you tried

Re: Cocoon Productivity

2007-06-01 Thread Reinhard Poetz
Reinhard Haller wrote: Reinhard Poetz schrieb: I have been working on http://cocoon.zones.apache.org/daisy/cdocs/g2/g1/1370.html. I hope that it helps. said first I have no knowlwedge of maven or cocoon2.2. Your tutorials for me are typical examples of the problems regarding

Re: Cocoon Productivity

2007-05-29 Thread Reinhard Poetz
Niels van Kampenhout wrote: Reinhard Poetz wrote: snip/ Of course all the software engineering principles apply as much to Cocoon applications as to any other, but most people find it difficult to abstract away from the traditional frameworks for which they learned their patterns, and apply

Custom Cocoon 2.2 projects: Alternatives to Maven 2

2007-05-28 Thread Reinhard Poetz
would be much appreciated. Reinhard Poetz wrote: Carsten Ziegeler wrote: If someone can document the steps (which we should do anyway) I can try and come up with the ant script. I've started with a prototyp of a non-Maven Cocoon 2.2 archetype. You can download it from http://people.apache.org

Re: Custom Cocoon 2.2 projects: Alternatives to Maven 2

2007-05-24 Thread Reinhard Poetz
Carsten Ziegeler wrote: If someone can document the steps (which we should do anyway) I can try and come up with the ant script. I've started with a prototyp of a non-Maven Cocoon 2.2 archetype. You can download it from http://people.apache.org/~reinhard/cocoon-22-bootstrap.zip. It contains

Re: Custom Cocoon 2.2 projects: Alternatives to Maven 2

2007-05-24 Thread Reinhard Poetz
Martin Heiden wrote: What do you think of a web application that does it for the users? It could be a simple list of blocks and core components with description and a nice cocoon app that reads the actual poms and zips all important jars before deliviring them to the user. The problem with

Custom Cocoon 2.2 projects: Alternatives to Maven 2

2007-05-23 Thread Reinhard Poetz
Joerg Heinicke wrote: On 22.05.2007 13:55, Reinhard Poetz wrote: Compared with JSF and Struts Cocoon is very different. This means that you have to learn to think in Cocoon (btw, the same is true for frameworks like Tapestry or Wicket). Without good documentation it is very difficult

Re: Custom Cocoon 2.2 projects: Alternatives to Maven 2

2007-05-23 Thread Reinhard Poetz
Carsten Ziegeler wrote: Reinhard Poetz wrote: How can we help our upcoming 2.2 users? IMO there are two approaches which should be followed in parallel: 1) make the usage of Maven 2 as simple as possible - the tutorials take this into account - we provide different archetypes 2

Re: Cocoon Productivity

2007-05-22 Thread Reinhard Poetz
Derek Hohls wrote: Grzegorz Do you think this a valid criticism - are WebObjects (whatever those are) or Struts (Java coded framework) really that more productive and easy to use than Cocoon?? no, but they come with better documentation. -- Reinhard Pötz Independent Consultant,

Re: Cocoon Productivity

2007-05-22 Thread Reinhard Poetz
Derek Hohls wrote: Reinhard I have been with Cocoon since the late '90s and as will continue to use it unless forced otherwise... but is it really fair to say that Cocoon is easy to use unless it (one day?) gets better docs. Compared with JSF and Struts Cocoon is very different. This

Re: Continuations and Clustering/Session Replication - help

2007-05-18 Thread Reinhard Poetz
Diogo Matos wrote: Hi all, I have a environment where I run 2 tomcat cocoon instances using session replication. Using continuations I have a serious problem as I cannot replicate the continuationID across the 2 cocoon instances. Is there anyway of using continuations and replicate them

Re: Javaflow Samples Cocoon 2.2

2007-04-09 Thread Reinhard Poetz
Saskia Heesen wrote: Do I have to change my configuration? How can I change my configuration? AFAIK, the javaflow block hasn't been ported to work under 2.2 yet. Without having looked at it I believe that there is some work to be done. We will also have to migrate to latest commons-javaflow.

Re: Can jx:import just import some element in a file?

2007-04-01 Thread Reinhard Poetz
jonpday wrote: Rice Yeh wrote: Hi, Can jx:import just import some element in a file? I find all examples import the whole file specified in the uri. Can I just import some element in a file? Rice One way of doing it (bit hacky) is to call another pipeline

Re: AW: Transform the output of the ValidationReportTransformers in XSL

2007-03-28 Thread Reinhard Poetz
[EMAIL PROTECTED] wrote: Yeah ... that's exactly what I meant :) Well the code is pretty easy to change, since I fixed my problem be removing it completely ;) Well I never worked with default-namespaces up till then (and I use Xml and Xsl quite intensively for the last 8 Years). The only

Re: Transform the output of the ValidationReportTransformers in XSL

2007-03-26 Thread Reinhard Poetz
[EMAIL PROTECTED] wrote: [snip] Could someone tell me why this is that way I think that the match rules apply to empty namespaces and not the default namespace. and how I can convince the validation-report transformer to stop adding the namespace stuff to the output? Well at the moment I

Re: Transform the output of the ValidationReportTransformers in XSL

2007-03-26 Thread Reinhard Poetz
[EMAIL PROTECTED] wrote: Hi Reinhard, No offence, but this looks really ugly ... Might be ugly for you but completly consistent. You have to declare a prefix for the namespace in order to get access to it within your xpath expressions. On a different note, if you find this really ugly,

Inactive Cocoon committers and PMC members

2007-03-14 Thread Reinhard Poetz
Cocoon is an open source project that has been existing for about 9! years. Many people helped us to grow and to develop and some of them became committers. According to our rules, every committer can join the Cocoon PMC.[1] On our private@ mailing list we recently had a dicsussion about

Re: Skipping cocoon-rcl-webapp-wrapper?

2007-03-05 Thread Reinhard Poetz
Lally Singh wrote: Is there a similar situation with avalon-framework-impl? Make sure by using exclusions that you don't get any other Avalon or Excalibur dependencies than those that are coming from cocoon-core. If there are still wrong dependencies showing up, build by using the -X switch

Re: Ajax form reloading problem

2007-02-27 Thread Reinhard Poetz
Andrew Madu wrote: Hi Grzegorz, Please stop sending worthless e-mails if you want any further help. See this sentences[1] for good advice: Please also have some consideration for the other users on the list - this is a busy list and we do not appreciate getting the exact same

Re: Spring Blocks question

2007-02-20 Thread Reinhard Poetz
Lally Singh wrote: Hey all, quick question. With Cocoon blocks (using maven 2 archetypes), how are the spring configurations connected together? If I define a bean called 'peel' in a block called 'banana', and I'm in another block, do I refer to it as 'peel' or 'banana.peel' ? Beans defined

Ideas for student projects

2007-02-17 Thread Reinhard Poetz
Google announced the 3rd summer of code and this year. The Austrian Computer society launched a similar project, the OSS Contest Austria 2007. We as Cocoon project can make proposals about possible student projects. If you have ideas for such projects, add them to

Re: cocoon 3: first step

2006-11-11 Thread Reinhard Poetz
Olivier wrote: Reinhard Poetz wrote: Olivier wrote: Hi all Where can I find more information on cocoon 3 / OSGi I've tried http://cocoon.zones.apache.org/daisy/cocoon3/g1/1153.html but all I can obtain is 404 error pages. Is somebody make this work ? For the time being, Cocoon 3

Re: Codeselector

2006-11-11 Thread Reinhard Poetz
Ralph Rauscher wrote: Hello, the cocoon documentation mentions a codeselector on http://cocoon.apache.org/2.1/userdocs/selectors.html. Anyone knows how to define this selector in the sitemap? map:selector name=codeselector src=?/ Couldn't find any class in the cocoon sources that

Re: cocoon 3: first step

2006-11-09 Thread Reinhard Poetz
Olivier wrote: Hi all Where can I find more information on cocoon 3 / OSGi I've tried http://cocoon.zones.apache.org/daisy/cocoon3/g1/1153.html but all I can obtain is 404 error pages. Is somebody make this work ? For the time being, Cocoon 3 is on hold. As the people at the Spring project

Re: Running 2.2 Block and Avalon NoSuchMethodError

2006-11-09 Thread Reinhard Poetz
Patrick Refondini wrote: Patrick Refondini wrote: Hi, while running my Cocoon 2.2 block ( mvn jett6:run ) I obtain the following exception: (...) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext

Re: Question about Lepido

2006-08-17 Thread Reinhard Poetz
Terence Kearns wrote: I had no idea what Lepido was so I googled it and found that someone at apache had set up wiki for it. I assume you know about this? http://wiki.apache.org/cocoon/Lepido yes, I guess that Sylvain knows it as he created the page as starting point for the Lepido project.

[poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-10 Thread Reinhard Poetz
On [EMAIL PROTECTED] we have started to dicuss whether we can make Java 5 becoming the minimum requirement for Cocoon 2.2. Note that this discussion is completly unrelated to Cocoon 2.1 which needs JDK 1.3. The arguments pro Java 5 which was officially releases almost 2 years ago, are the

Re: Problems with XInclude and Xalan

2006-08-09 Thread Reinhard Poetz
Jens Maukisch wrote: Hi, we've had some problems lately which seem to occur in a combination of XInclude and some XSLT transformations with Xalan (XSLTC and the normal mode). One Problem for Example is that we have 'empty' element xmlns=foo attr=xyzfoo bar/ after a quiet normal copy-all

Re: [GT2006] Call for IDEAS! The 5th Cocoon GetTogether: October 2nd to 4th in Amsterdam, The Netherlands

2006-07-10 Thread Reinhard Poetz
Arje Cahn wrote: Here's a couple of them to get you started: - Success stories (why someone chose Cocoon, for what, what was great and what not?) - Comparison of Cocoon with other web frameworks - Why should I upgrade to 2.2? - Some howto's / best practices for - Configuration - Using

Re: Is Cocoon the right choice?

2006-03-14 Thread Reinhard Poetz
Nils Kaiser wrote: Reinhard Poetz schrieb: Nils Kaiser wrote: What you're asking for is a long-time no-no of Cocoon which we call dynamic pipelines. Currently there is no pipeline implementation that would allow this. That's the bad news. The good news is that the ice is breaking :-) I

Re: Is Cocoon the right choice?

2006-03-13 Thread Reinhard Poetz
Nils Kaiser wrote: Hello! Well, I am an happy cocoon user but I am working on a new project and not sure if cocoon is the right choice for it. The goal of the thing is to be able to extract information from existing web sites and to transform it and publish it to different channels. I already

Re: [2.2] Problems with JMX Support and Tomcat

2006-01-02 Thread Reinhard Poetz
Sumit wrote: I'm trying to get the latest 2.2 running in a standard tomcat 5.5.12 With the default webapp, the following class can't be found: org.mortbay.log.LogFactory So it seems that the jetty-jmx-5.1.8.jar does not contain all required classes. Copying also jetty-5.1.8.jar into

Re: Generating XSD documentation in Cocoon

2005-11-27 Thread Reinhard Poetz
Combinational Logic wrote: Given a set of XSD files, is there any Cocoon source available (likely XSLT) that enables navigation of the XSD using a high-level hyperlinked view. No, not that I know of. -- Reinhard Pötz Independent Consultant, Trainer (IT)-Coach {Software

Re: ServiceManager outside Cocoon

2005-11-23 Thread Reinhard Poetz
Michael Ralston wrote: I'm developing some junit tests for some java code which is used inside Cocoon. Some of the objects I need access to are loaded by the ServiceManager, I assume these are declared in cocoon.xconf right? Where does cocoon load these and what is the best way to emulate

[ANN] Event on webframeworks in Vienna

2005-11-16 Thread Reinhard Poetz
As member of the working group open source of the Austrian Computer Society I'm organizing an event on web frameworks. There will be presentations on * Apache Cocoon * Apache MyFaces * Apache Struts * Ruby on Rails It's worth mentioning that three of four presentations will be held by

Re: Request parameter in JXTemplate

2005-10-19 Thread Reinhard Poetz
Derek Hohls wrote: This should be simple, but I am struggling: I try to pass: matchname?sort=foo to a generated page: jx:set name=field${cocoon.request.getParameter('sort')}/jx:set temp${field}/temp but simply get an empty tag for temp. More... I have this logic jx:choose

Re: Initialize Session Context Info

2005-10-18 Thread Reinhard Poetz
Merico Raffaele wrote: Dear community I am looking for a way to initialize some session context information when the session is created. Which is the best way to initialize things at the session creation status? Is there a central point that can be extended? Many thank in advance ...

Re: Writing my own generator.

2005-10-18 Thread Reinhard Poetz
Aurélien DEHAY wrote: Aurélien DEHAY a écrit : ok, the dispose() comes from interface Disposable() from avalon framework then? I think I'd rather ask the differences between dispose() and recycle() method... Rgds. see http://excalibur.apache.org/framework/lifecycle.html -- Reinhard

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Reinhard Poetz
Kris Schneider wrote: Here's the usage scenario: We want a client-side timer to display a warning when a user's session is about to expire. This is especially important for forms that have unsaved data. Obviously, it's easy enough to send an arbitrary request to the app to keep the HTTP session

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Reinhard Poetz
Kris Schneider wrote: Reinhard, Several weeks ago I refactored the ContinuationsManagerImpl so that it is easily extensible and you can use your own expiration strategies by simply overriding the expireContinuations method. Over the next weeks I will work on them - maybe this is helpful for

Re: Public API for keeping a continuation alive?

2005-10-18 Thread Reinhard Poetz
Kris Schneider wrote: On 10/18/05, Reinhard Poetz [EMAIL PROTECTED] wrote: Kris Schneider wrote: Reinhard, Several weeks ago I refactored the ContinuationsManagerImpl so that it is easily extensible and you can use your own expiration strategies by simply overriding

Re: Writing my own generator.

2005-10-17 Thread Reinhard Poetz
Aurélien DEHAY wrote: Hello all. I'm currently writing a generator. I'm a bit mess up about dispose() recycle(), Serviceable, Disposable and CacheableProcessingComponent... What do I really need to have a cacheable and poolable generator? I've read the tutorial Write a Custom Generator, but

Re: Is Flow suitable for high throughput apps?

2005-10-10 Thread Reinhard Poetz
Mark Lundquist wrote: Hi David, On Oct 10, 2005, at 4:42 PM, David Legg wrote: I think flow is fantastic, but I wonder if users would still be recommended to use custom actions and business objects instead of flow when dealing with high-traffic, non-stateful web pages? The idea of all

Re: Multi channel Publishing using Open Office and Cocoon

2005-09-21 Thread Reinhard Poetz
Robinson, Michael (UK - London) wrote: Hello We are currently investigate a way of achieving multi channel publishing using Open Office’s native xml file format (Open Document or sxw) as our initial file format and performing transformations using Cocoon and the xslt files that come with

Re: Memory profiling cocoon

2005-09-07 Thread Reinhard Poetz
Antony Grinyer wrote: Hi, Has anyone successfully integrated a Java memory profiler (such as JProfiler or YourKit) with Cocoon? I'd like to test the memory usage of a Cocoon transformer that is a Java class, but I'm not sure how I can get the a Java profiler to profile Cocoon transformers?

Re: Calling a block of transformations

2005-08-25 Thread Reinhard Poetz
Stewart, Gary wrote: Hi there, Another newbie question I'm afraid. There are a set of transformers that I commonly call from a lot of pipelines and that I'd like to be able to possibly change at a later date. You're looking for map:resource. See

Re: Calling a block of transformations

2005-08-25 Thread Reinhard Poetz
JD Daniels wrote: I depend heavily on resources... as most of us that want to avoid code duplication do ;-) of course resources will go through an appropriate deprecation cycle Is there any form of virtual sitemap components in the 2.1.x tree? no, only in trunk (they should work there) --

Re: CForms: Validation based on values from several widgets

2005-06-29 Thread Reinhard Poetz
Armaz Mellati wrote: Hi What is the best way of validating based on the values of several widgets in a CForm ? I mean somthing like this: If (model.foo == 'something') (model.bar == null) { return false; }else{ return true ; } Where should I do or can I do such a

Re: [CForms] Repeater with links

2005-06-28 Thread Reinhard Poetz
Ugo Cei wrote: Il giorno 27/giu/05, alle 16:09, Reinhard Poetz ha scritto: You have to use the cforms macro library to get the id: ... jx:import uri=resource://org/apache/cocoon/forms/generation/jx-macros.xml/ ... In this case, I should not be using the FormsTransformer, right

Re: [CForms] Repeater with links

2005-06-27 Thread Reinhard Poetz
Ugo Cei wrote: Here's a simple problem for which I cannot seem to find a simple solution (or any solution at all). I hope someone here can help me. I have a Collection of Java beans. Each bean has a couple of properties: id (Integer) and name (String). I also have a form with a repeater:

Re: [GT2005] News, vote and more news

2005-06-17 Thread Reinhard Poetz
Andrew Savory wrote: Hi, On 17 Jun 2005, at 15:41, Steven Noels wrote: Now, about the vote: we have rooms reserved for the entire first week of October, but need to decide on the first or last part of the week. So please indicate your preference (and reply to the dev list for easier

Re: i18n euro symbol location

2005-06-16 Thread Reinhard Poetz
Rui Alberto wrote: Hi, Is that possible switch euro symbol from the right side of the value to the left?! Ex: formating 3 euros using i18n returns 3, but I need to present the amount in the format 3! I've created a test class using java.lang.NumberFormat to format a value, and in fact the

Re: JX template syntax

2005-06-13 Thread Reinhard Poetz
Rui Alberto wrote: Hi all, this is probably a basic question, but I can't find out how to solve my problem. Is that possible do something like : jx:set var=xxx value=${Packages.java.util.Date}/ input name=teste type=hidden value=#{$xxx.getTime()} I don't know if you can create new objects in

Re: AW: AW: WG: CFORMS validation unexplained behavior - call for help!

2005-06-08 Thread Reinhard Poetz
Messing, Elad wrote: Sorry - my mistake. Here goes : * URL XXX.form - resolves in sitemap to : map:match pattern=*.form !-- CForm (makred by the .form ending) redirected to a flow script function with the same name --

Re: CFORMS validation unexplained behavior - call for help!

2005-06-08 Thread Reinhard Poetz
Messing, Elad wrote: Thank you Reinhard, for you answer ! I understand, so this is typical Back behavior. It makes sense. However - Still the 3rd issue I mentioned occurs: And the third issue - When I am not using the Back button, but instead using the original link to the form page, I

Re: Problems with Continuations in Flowscript

2005-06-08 Thread Reinhard Poetz
Roberto Pierpaoli wrote: Details: * Cocoon 2.1.7 standalone * JDK 1.5.0_03 * Windows 2000 SP4 I have made a small example to test the use of continuations, it is made of a simple counter that is incremented each time the user presses the count button, then, when the stop button is

Re: xsltc and output escaping

2005-06-08 Thread Reinhard Poetz
Reinhard Haller wrote: Hi, in a complex pipeline I've problems with the xsltc transformer. At random places text nodes are copied as if disable-output-escaping is set to yes. Copying links with ...?id=xxtype=yy isn't almost impossible under such conditions. After changing the default

Re: Antw: Re: xsltc and output escaping

2005-06-08 Thread Reinhard Poetz
Reinhard Haller wrote: My own XSL-files are working with MSXML/XMLSpy and XALAN outside of Cocoon. It works also with XALAN inside Cocoon. Can you try it *outside* of Cocoon using XSLTC either? (Without this isolated test it is difficult to find out whether it is an XSLTC bug or a Cocoon

Re: Problems with Continuations in Flowscript

2005-06-08 Thread Reinhard Poetz
Roberto Pierpaoli wrote: Thank you so much!! I have spent hours on this issue, now I'm finally able to keep the execution state, thank you! glad that I could help but take care of your memory consumption -- Reinhard Pötz Independent Consultant, Trainer (IT)-Coach {Software

Re: xsltc and output escaping

2005-06-08 Thread Reinhard Poetz
Reinhard Haller wrote: [EMAIL PROTECTED] 08.06.2005 17:03 Can you try it *outside* of Cocoon using XSLTC either? (Without this isolated test it is difficult to find out whether it is an XSLTC bug or a Cocoon bug.) It works as expected (XSLTC bundled with XALAN 2.6.0). As stated

  1   2   3   >