imbrication de selecteurs dans une sitemap

2005-10-12 Thread Joel Gauci
Merci pour cette réponse. J'ai une autre question concernant le fichier sitemap.xmap: Est il possible d'imbriquer des selecteurs dans ce fichier? En fait, au niveau d'un pipeline, je voudrais faire une selection sur browser puis, à l'intérieur de cette sélection, je voudrais faire appel à un autre

Re: cocoon et sessions

2005-10-12 Thread Bertrand Delacretaz
Le 12 oct. 05, à 17:05, Frédéric Glorieux a écrit : - http://cocoon.zones.apache.org/demos/release/samples/i18n/ Cette démo en ligne est une excellente idée ! C'est ancien ? Ca fait quelques mois, la première mention sur cette liste remonte au 3 août sauf erreur.

Cocoon Get Together 2005 : c'est fini !

2005-10-12 Thread Sylvain Wallez
Bonjour à tous, La semaine dernière a eu lieu la 4ème Cocoon Get Together : - 2 jours de hackathon avec une trentaine de participants. Présentations techniques poussées, réunions de design, travail en atelier, etc. - 1 jour de conférence, avec plus de 100 participants. Au delà des

Re: cocoon et sessions

2005-10-12 Thread Frédéric Glorieux
- http://cocoon.zones.apache.org/demos/release/samples/i18n/ Cette démo en ligne est une excellente idée ! C'est ancien ? Je crois bien que ça a été mis en ligne au mois de juin. Je me sens moins bête, 3 mois c'est encore acceptable. On l'appelle la zone : c'est un serveur Solaris

Re: cocoon et sessions

2005-10-12 Thread Bertrand Delacretaz
Le 12 oct. 05, à 18:57, Frédéric Glorieux a écrit : ...Est-ce à dire que vous abandonnez Forrest ?.. Non, la rédaction est faite avec Daisy, mais la publication finale pour les releases avec Forrest qui reprend le contenu de Daisy (c'est en cours de mise au point grâce à Ross Gardler de

Are any of the developers using Groovy?

2005-10-12 Thread Derek Hohls
Just wondering if *any* of the Cocoon developers are using Groovy at all; or is just a bolt on feature in Cocoon that is not perceived of any use for real applications (Real Developers use Java)? I have posted a few simple Groovy-related questions in the past few days, and the lack of any

Re: Getting started (again)

2005-10-12 Thread Derek Hohls
OK - what you are calling components I would call sub-systems or modules, each of which encapsulate a whole set of functionality. What I was saying is that I do not see Cocoon having being using to build a lot of these (or, if they have been done, they have not been released back into the

Re: [Poll] What sources of information do you use?

2005-10-12 Thread Marc Salvetti
Questions:1. What is your favorite source of information, in other words: where would you be most likely to read these articles if they were published? On the official cocoon website or on the wiki 2. Where would your boss/person deciding on framework be most likely toread these articles? I'm the

Re: Log4j - logging request uri

2005-10-12 Thread Wojciech Gdela
Hello, I've switched logging in my cocoon 2.1.7 app to log4j with the help of org.apache.avalon.excalibur.logger.Log4JLoggerManager in web.xml. I would like to put request uri in my PatternLayout, is there a way to do it? Now I have pattern: %d{ISO8601} %p [%c] - %m%n And I get in my logs:

Unintentional Caching with Tomcat 5.5.x

2005-10-12 Thread John Lianoglou
Hey all, I'm experiencing some strange caching that I really don't intend to occur. The caching seems to ignore GET params in the URL (as well as POST params, for that matter)... I guess I only mention the GETs being different because at least the URL string is different. I've set up my

Re: Are any of the developers using Groovy?

2005-10-12 Thread Bertrand Delacretaz
Le 12 oct. 05, à 08:02, Derek Hohls a écrit : ...Just wondering if *any* of the Cocoon developers are using Groovy at all; or is just a bolt on feature in Cocoon that is not perceived of any use for real applications (Real Developers use Java)?... I stopped playing with Groovy in Cocoon when

Re: Flow/Formsmodel Question

2005-10-12 Thread Sylvain Wallez
Mark Lundquist wrote: Hi Sylvain, On Oct 11, 2005, at 2:53 PM, Sylvain Wallez wrote: In particular, the feature the O.P. asked about — the ability to address widgets as properties instead of by using lookupWidget() — is not available in v1 IIRC... it's a v2 thing (and maybe v3, not sure).

Re: Is Flow suitable for high throughput apps?

2005-10-12 Thread Leszek Gawron
David Legg wrote: Leszek Gawron wrote: If you fear rhino based flowscript might not be performant enough and all you need are stateless operations - use apples block. Thanks. I've never bothered to look at the apples block. The 'alternative' to cforms label always frightened me off!

Re: Log4j - logging request uri

2005-10-12 Thread Leszek Gawron
Jorg Heymans wrote: Wojciech Gdela wrote: I've switched logging in my cocoon 2.1.7 app to log4j with the help of org.apache.avalon.excalibur.logger.Log4JLoggerManager in web.xml. I would like to put request uri in my PatternLayout, is there a way to do it? Now I have pattern: %d{ISO8601} %p

RE: Unintentional Caching with Tomcat 5.5.x

2005-10-12 Thread Ard Schrijvers
Is it in a noncaching/caching/expires pipeline? I noticed the expires pipelines to ignore pararameters. Just set your logging and look for the cache key generated for the first request. If paramters are not represented in the cache key, then for example http://?page=1

Re: Are any of the developers using Groovy?

2005-10-12 Thread Derek Hohls
Bertrand Thanks for the input which I am sure is at least indicative of where things are headed - will there be a more formal poll amongst developers, perhaps? In the meantime, I will go with Flowscript, and keep working the with Petstore-like SQL code until Sylvain releases his extension --

[EMAIL PROTECTED]

2005-10-12 Thread Vasily Panov
[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Are any of the developers using Groovy?

2005-10-12 Thread Bertrand Delacretaz
Le 12 oct. 05, à 10:36, Derek Hohls a écrit : ... -- I assume all of this (inc. the AJAX add-ins) is going to be part of 2.1.8 - which leads to the next question - is there an estimated release date (month? year?) for that version??... The new ajax block (which AFAIK does not include

RE: Cannot understand caching of pipeline

2005-10-12 Thread Ard Schrijvers
Hello, is the pipeline noncaching/caching/expires? Turn on your cache logging and look for the cache key generated. AS -Original Message- From: Messing, Elad [mailto:[EMAIL PROTECTED] Posted At: maandag 10 oktober 2005 17:53 Posted To: Cocoon User List Conversation: Cannot

Re: Are any of the developers using Groovy?

2005-10-12 Thread Sylvain Wallez
Derek Hohls wrote: Bertrand Thanks for the input which I am sure is at least indicative of where things are headed - will there be a more formal poll amongst developers, perhaps? In the meantime, I will go with Flowscript, and keep working the with Petstore-like SQL code until Sylvain

Re: Are any of the developers using Groovy?

2005-10-12 Thread Derek Hohls
In other words, 2.1.8 is not going to really add anything to the many db-related issues that have been raised before, and I am better off waiting for 2.2 to see of the more useful work coming through? [EMAIL PROTECTED] 2005/10/12 10:42:11 AM Le 12 oct. 05, à 10:36, Derek Hohls a écrit : ...

Re: Are any of the developers using Groovy?

2005-10-12 Thread Bertrand Delacretaz
Le 12 oct. 05, à 10:51, Derek Hohls a écrit : In other words, 2.1.8 is not going to really add anything to the many db-related issues that have been raised before,.. As Sylvain has already committed the java components required for his jdbi stuff, the rest will be just flowscript, so easy to

Re: [EMAIL PROTECTED]

2005-10-12 Thread Leszek Gawron
Vasily Panov wrote: [EMAIL PROTECTED] you should e-mail that address and not [EMAIL PROTECTED] -- Leszek Gawron [EMAIL PROTECTED] IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

OT: All about POI

2005-10-12 Thread Derek Hohls
If you've ever the experience of having to create output for Excel, then you will have heard of POI - eg. http://www.xml.com/pub/a/2003/01/22/cocoon-excel.html where does the term come from? Read all about it: http://talk.consimworld.com/[EMAIL PROTECTED]@.1dd0723c/155 in this entry for a card

Re: Unintentional Caching with Tomcat 5.5.x

2005-10-12 Thread Philippe Gassmann
Ard Schrijvers wrote: I noticed the expires pipelines to ignore pararameters. Just set your logging and look for the cache key generated for the first request. If paramters are not represented in the cache key, then for example http://?page=1 http://?page=2 will return the

Getting started with LDAPEntryManager -Virus checked-

2005-10-12 Thread David Duhme
Hi, again my topic is getting ldap updates and adds working... I tried loading the LDAPEntryManager from Jeremy Quinn in my FlowScript. I configured the LDAPEntryManager as described in the API, in cocoon.xconf component role=org.apache.cocoon.component.EntryManager

RE: Unintentional Caching with Tomcat 5.5.x

2005-10-12 Thread Ard Schrijvers
I know, but of course, not all pipelines are cached within 1 single cache key. What I mean to say, is that for the expires pipelines, in the cache key the parameters are not represented. So URLs with different parameters, like ?page=1 and ?page=2 behind it, will be cached within the same key,

Re: Unintentional Caching with Tomcat 5.5.x

2005-10-12 Thread Philippe Gassmann
Ard Schrijvers wrote: I know, but of course, not all pipelines are cached within 1 single cache key. What I mean to say, is that for the expires pipelines, in the cache key the parameters are not represented. So URLs with different parameters, like ?page=1 and ?page=2 behind it, will be

RE: Unintentional Caching with Tomcat 5.5.x

2005-10-12 Thread Ard Schrijvers
I am not having any problems/misunderstandings with the expires pipelines whatsoever, I am only trying to explain to the original post of John Lianoglou why he is getting the same cached pages back despite different URLs (and then that the URLs only differ in the parameter values, so again, for

Cancel a flowscript?

2005-10-12 Thread Gary Larsen
In the middle of a flowscript I discover that the user does not have permission to access the target. Is it possible to cancel the flowscript action so that a click on a link will do nothing? Gary

Re: Cancel a flowscript?

2005-10-12 Thread Tony Collen
How about just doing a sendPage(not-authorized) or equivalent? Tony Gary Larsen wrote: In the middle of a flowscript I discover that the user does not have permission to access the target. Is it possible to cancel the flowscript action so that a click on a link will do nothing? Gary

java.lang.OutOfMemoryError after moving to production

2005-10-12 Thread footh
After moving our cocoon site to the production environment, we are getting an out-of-memory error after about 12-24 hours, after which, no pages can be served. Restarting Tomcat obviously fixes the issue temporarily. I've searched the mailing list and found people with similar problems. I tried

Re: Cocoon-2.1.7:Session objects not getting destroyed after using auth-logout action

2005-10-12 Thread Gautam Ganguly
hi all, Status update: FIXED Cause : To create a page post-login,i have been using map:aggregate for putting together menu.xml and the content.xml.Does work ,but it also caches the request and manages to remember the last session object. Solution: i replaced the logic to use cinclude transformer

Re: java.lang.OutOfMemoryError after moving to production

2005-10-12 Thread Johnson
set this CATALINA_OPTS = -Xms256m -Xmx256m -Djava.awt.headless=true - Original Message - From: footh [EMAIL PROTECTED] To: users@cocoon.apache.org Sent: Thursday, October 13, 2005 12:13 AM Subject: java.lang.OutOfMemoryError after moving to production After moving our cocoon site

Cocoon 2.1.7 Could not load class org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource

2005-10-12 Thread Sullivan, Sean C - MWT
Hi, I am porting an application from Cocoon 2.0.x to Cocoon 2.1.7 The platform is J2SE 1.3.1 and Websphere 4.0.7 Cocoon 2.1.7 is throwing a ConfigurationException. How do I fix this error? org.apache.avalon.framework.configuration.ConfigurationException: Could not load class

Re: Groovy and CForms / Flowscript

2005-10-12 Thread Joerg Heinicke
On 04.10.2005 10:26, Derek Hohls wrote: I was wondering if anyone had any experience - and therefore samples! - of working with Groovy - for backend logic and database interaction (CRUD), and accessing CForms / Flowscript - in an application environment... any hints or shared code would be

Runtime Error in XPathTraversableGenerator

2005-10-12 Thread Gavin Carothers
Hi, Have the fallowing sitemap snippet that works fine running in Jetty on JDK1.5 on Ubuntu. However when moved over as a war to Tomcat 5.5.9 this throws an exception. The contents of both directories is the same. Both are inside the webapp's folder. The input source value is template-test in

Paypal web service

2005-10-12 Thread Gmail User
Has anyone implemented a Paypal web services access in Cocoon. I am about to embark on creating my first web services client and would not want to re-invent the wheel. Since it is my first implementation of such a client, any hints or advice regarding the web services in flowscript is welcome.

REPOST: Apache Coccon developer anywhere in the world

2005-10-12 Thread Brad Kain
I am re-posting the following job notice. In addition to the Boston-based position, we are seeking talented developers who can work remotely on software development projects. The right candidate must have excellent communication and collaboration skills, and be comfortable with remote pair

Custom generator problem

2005-10-12 Thread Aurélien DEHAY
Hello all. I'm trying to develop a custom generator using Rome ( https://rome.dev.java.net/ ). I'm just, for the moment, copying the FileGenerator.java to my FeedGenerator.java, changing the class name, adding: import com.sun.syndication.feed.synd.*; import com.sun.syndication.io.*; to

Re: Unintentional Caching with Tomcat 5.5.x

2005-10-12 Thread John Lianoglou
Hey all, thanks for everyone's responses... gave me lots of stuff to link into... and rule out. :-) I've noticed this: only URLs ending in *.html seem to be suffering from the caching issue... does that trigger any ideas? I'm thinking this may be more of a Tomcat thing than a Cocoon one.

Re: Log4j - logging request uri

2005-10-12 Thread Jorg Heymans
Leszek Gawron wrote: That's useful! And should be wikified IMO :) Can I implement a OpenSessionInView pattern with this? I remember you asking this before on dev@, when Carsten announced this interface. I don't think he ever answered actually, ehrm Carsten ? Jorg

Re: Cocoon 2.1.7 Could not load class org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource

2005-10-12 Thread Sylvain Wallez
Sullivan, Sean C - MWT wrote: Hi, I am porting an application from Cocoon 2.0.x to Cocoon 2.1.7 The platform is J2SE 1.3.1 and Websphere 4.0.7 Cocoon 2.1.7 is throwing a ConfigurationException. How do I fix this error? org.apache.avalon.framework.configuration.ConfigurationException:

Re: java.lang.OutOfMemoryError after moving to production

2005-10-12 Thread footh
I've done that, just before I posted my original message...or at least the Xms and Xmx values (and I set them to 512). You actually can do it through a GUI in Tomcat 5.0+ if you used the Windows installer. I'm not sure what the -Djava.awt.headless=true parameter is, but I'll look for that in the

Re: How to access the AuthenticationContext in a SessionListener?

2005-10-12 Thread Stefan Pietschmann
Hm isnt there any way I can do something onAuthSessionDestroyed? Is there some kind of Auth Listener perhaps? Stefan Von: Stefan Pietschmann [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. September 2005 11:15 An: 'users@cocoon.apache.org' Betreff: How to access the

Where's the best place to run code at Cocoon startup?

2005-10-12 Thread David Legg
I've got some singleton Java classes that I'd rather configure and init at Cocoon init time instead of the first time a page is requested. Where's the best place to do this? I've looked at the xconf file but I'm not sure if this is what I need. David Legg

Re: java.lang.OutOfMemoryError after moving to production

2005-10-12 Thread Bruce Perryman
I've had a similar problem recently. In addition to setting -Xmx, I believe that you should edit the store-janitor block in cocoon.xconf, setting the heapsize parameter the value that you set in -Xmx. Also (I'm sure that you already done this, but)in production you can help yourself a lot by

Re: Unintentional Caching with Tomcat 5.5.x

2005-10-12 Thread John Lianoglou
OK, so I've done some more research and found it that it's not Tomcat that's screwy on this one; it was Cocoon 2.1.7. First, I have a Cocoon application that I'd deployed over a year ago... it was running on MySQL 4.0, Tomcat 5.0.21 and Cocoon 2.1.5 for a little over a year. Due to a

Setting mimetype for serializer

2005-10-12 Thread Gerry Kaplan
My application generates a stream of wordml (microsoft's XML document format). I'd like to serialize this to the browser and have MS word open automatically to show the generated document. Is there a serializer that will do this, or do I have to create a new one? Thanks, Gerry smime.p7s

Re: Custom generator problem

2005-10-12 Thread Jorg Heymans
Aurélien DEHAY wrote: I'm using cocoon 2.1.7 on Tomcat 5.5.9, JDK 1.5.0 on Linux. If someone could do the test, and tell me what I'm doing wrong, it would be wonderful. Could you try with 2.1.8dev? It has much better error logging with the new location mechanism. Jorg

Re: Setting mimetype for serializer

2005-10-12 Thread Bertrand Delacretaz
Le 13 oct. 05, à 06:14, Gerry Kaplan a écrit : ...Is there a serializer that will do this, or do I have to create a new one?.. you can just *configure* a new one, here's an example for WML: map:serializer logger=sitemap.serializer.wml