Classpath Problems

2005-10-13 Thread CraigGulliver
Hi All, I have a Jetty and Cocoon setup and I want to use the JspServlet for compiling my jsps in cocoon. I have an issue where by the class path of the JspServlet is not as I expect. The servlet seems to be using the parent classloader supplied by Cocoon to build it's class path. However

Re: Log4j - logging request uri

2005-10-13 Thread Carsten Ziegeler
Jorg Heymans wrote: 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 ? Not

Re: Log4j - logging request uri

2005-10-13 Thread Jorg Heymans
Carsten Ziegeler wrote: Not sure... :) Can you please repost the question? Can one implement an OpenSessionInView pattern using the RequestListener interface ? Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Log4j - logging request uri

2005-10-13 Thread Carsten Ziegeler
Jorg Heymans schrieb: Carsten Ziegeler wrote: Not sure... :) Can you please repost the question? Can one implement an OpenSessionInView pattern using the RequestListener interface ? In 2.2 we have the EnterSitemapListener and LeaveSitemapListener interfaces you can implement. YOu can

repeaters alternate row colours

2005-10-13 Thread Gunter D'Hondt
In my form template I'd like to have alternate colours on the repeater rows so that the output is something like tr id=row1.../tr tr id=row2.../tr tr id=row1.../tr ... does anybody have an idea how I can do this? below the snippet of my form template

Re: repeaters alternate row colours

2005-10-13 Thread Christoph Hermann
Gunter D'Hondt schrieb: Hello, In my form template I'd like to have alternate colours on the repeater rows so that the output is something like tr id=row1.../tr tr id=row2.../tr tr id=row1.../tr ... Use the JX Macros to do this: jx:import

Re: Log4j - logging request uri

2005-10-13 Thread Leszek Gawron
Carsten Ziegeler wrote: Jorg Heymans schrieb: Carsten Ziegeler wrote: Not sure... :) Can you please repost the question? Can one implement an OpenSessionInView pattern using the RequestListener interface ? In 2.2 we have the EnterSitemapListener and LeaveSitemapListener interfaces

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

2005-10-13 Thread Leszek Gawron
Gautam Ganguly wrote: 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

Re: repeaters alternate row colours

2005-10-13 Thread Jorg Heymans
Gunter D'Hondt wrote: wt:repeater-size id=options / are you still using woody ? If you are in a position to upgrade then the jx form macros can help you out here. Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: repeaters alternate row colours

2005-10-13 Thread Gunter D'Hondt
as Jorg also mentoined; I'm still using 2.1.4 (and cannot upgrade that quickly) so as far as I know I can't use the jx macros in that version any other possibilities? thnx, Gunter Christoph Hermann [EMAIL PROTECTED] 13/10/2005 09:35 Please respond to users@cocoon.apache.org To

Thread Pool and Connection Pool

2005-10-13 Thread 松田 慎太郎
We are having a problem with Cocoon in managing threads and connection groups. Any advice would be very helpful. Here is our environment. OS : Solaris 9 AP :Java 1.4.2_08 + Tomcat 5.0.28 + Cocoon 2.1.7 DB :Oracle 9i (RAC) Below is the flow of the database access in the Web Application we

Re: repeaters alternate row colours

2005-10-13 Thread Bertrand Delacretaz
Le 13 oct. 05, à 10:02, Gunter D'Hondt a écrit : as Jorg also mentoined; I'm still using 2.1.4 (and cannot upgrade that quickly) so as far as I know I can't use the jx macros in that version any other possibilities? you can post-process your form with an XSLT transform, and inject attributes

Re: Custom generator problem

2005-10-13 Thread Aurélien DEHAY
Jorg Heymans wrote: 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.

Re: repeaters alternate row colours

2005-10-13 Thread Mark Lundquist
On Oct 13, 2005, at 1:02 AM, Gunter D'Hondt wrote: as Jorg also mentoined; I'm still using 2.1.4 (and cannot upgrade that quickly) so as far as I know I can't use the jx macros in that version any other possibilities? Sure. I use XSLT for this, that way I can get this effect for any table

RequestParameterExistsSelector

2005-10-13 Thread Merico Raffaele
Dear community Depending on the existence of a RequestParameter I would like to choose the appropriate map:aggregate path. But I could not found any RequestParameterExistsSelector. There is only RequestParameterExistsAction that does not allow me to code a select-when-otherwise construct. Any

Flow - passing data to sitemap

2005-10-13 Thread Peter Sparkes
Hi, I want to pass data, flow DOM objects and parameters from a flowscript back to the sitemap without using a form. In this mailing list I have found: (from flow): cocoon.sendPage(my-email-pipeline,{data:mydomdata}); and then map:match pattern=my-email-pipeline map:generate

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

2005-10-13 Thread Sylvain Wallez
David Legg wrote: 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. Yes, this is the right

Re: Flow - passing data to sitemap

2005-10-13 Thread Mark Lundquist
On Oct 13, 2005, at 1:27 AM, Peter Sparkes wrote: However, I can't find any information about module:flow-attr: in the cocoon documentation. Can someone, please, tell me where I can find the documentation. What you have there is the combination of (a) module source, and (b)

[Solved] Getting started with LDAPEntryManager -Virus checked-

2005-10-13 Thread David Duhme
I think I found the problem why the LDAPEntryManager wasn't initialized correctly. I changed the role attribute in cocoon.xconf from org.apache.cocoon.component.EntryManager to org.apache.cocoon.components.naming.EntryManager and the error message when requesting the FlowScript disappeared.

[Solved] Re: repeaters alternate row colours

2005-10-13 Thread Gunter D'Hondt
Yep, thanks for the xslt code snippet! Only a few adjustments so that the tbody is not necessary and the rest of the html is copied again: xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=table/@alternate / xsl:template match=[EMAIL PROTECTED]

Re: Flow - passing data to sitemap

2005-10-13 Thread Leszek Gawron
Mark Lundquist wrote: On Oct 13, 2005, at 1:27 AM, Peter Sparkes wrote: However, I can't find any information about module:flow-attr: in the cocoon documentation. Can someone, please, tell me where I can find the documentation. What you have there is the combination of (a) module

Re: RequestParameterExistsSelector

2005-10-13 Thread Leszek Gawron
Merico Raffaele wrote: Dear community Depending on the existence of a RequestParameter I would like to choose the appropriate map:aggregate path. But I could not found any RequestParameterExistsSelector. There is only RequestParameterExistsAction that does not allow me to code a

AW: RequestParameterExistsSelector

2005-10-13 Thread Merico Raffaele
Hi Leszek To do (and I did) something like the following (a I assume such a case cannot be solved with an action): map:resource name=genXml map:select type=regexpSelector map:parameter name=parameter-name value=mpid/ map:when test=validMpid map:aggregate

Problems with org.apache.cocoon.generation.CalendarGenerator

2005-10-13 Thread Christopher McIntosh
Hello Cocooners! I'm a recent Cocoon-addict; and I am noticing a problem with the CalendarGenerator. However, I can find no other reports (in the bugtracking or the numerous newsgroups). Here is the issue: When the CalendarGenerator returns a calendar:calendar document, it gets confused.

Re: Problems with org.apache.cocoon.generation.CalendarGenerator

2005-10-13 Thread Christopher McIntosh
Christopher McIntosh wrote: Hello Cocooners! I'm a recent Cocoon-addict; and I am noticing a problem with the CalendarGenerator. However, I can find no other reports (in the bugtracking or the numerous newsgroups). Here is the issue: When the CalendarGenerator returns a calendar:calendar

Re: Problems with org.apache.cocoon.generation.CalendarGenerator

2005-10-13 Thread Ugo Cei
Il giorno 13/ott/05, alle ore 15:32, Christopher McIntosh ha scritto: This is interesting. I visited the a href=http:// cocoon.zones.apache.org/demos/release/samples/calCocoon Zones demo/a to verify the problem which I was having on my local installation; alas, it works without a problem.

Re: Problem with Batik and Freebsd

2005-10-13 Thread Jean-Baptiste Quenot
* Jean-Claude Moissinac: Thank you for this help. Now, I will try to understand where I have to put the -Djava.awt.headless=true option. I'm not using Tomcat, but the basic direct way to install Cocoon 2.1.7. Hello Jean-Claude, You're right until now there was no way to change the java

Re: WebDAV issue in 2.1.8

2005-10-13 Thread Jean-Baptiste Quenot
* Gavin Carothers: Hi, getting rather odd behavior from the webdav source. Simplified pipeline: map:pipeline map:match pattern=test map:generate type=xpathtraverse src=webdav://management2/toc-repo/ Hello, What is xpathtraverse? -- Jean-Baptiste Quenot Systèmes d'Information

XML Merge Best Practices

2005-10-13 Thread Julian
Hi all, I have some (generally 2-4) XML documents (approx. 200 KB in size) that I would like to merge. The documents would have the same id attributes and tag names. The tags which share the same name and id attribute should be merged into one node, and any content within the original two

Re: overriding the base sitemap

2005-10-13 Thread Jean-Baptiste Quenot
* Upayavira: Jason Dusek wrote: what is the 'right way' to override the base xslt and all the rest? i take it that simply rewriting the sitemap is not quite correct, since it gets overwritten on rebuild. Or, if you are using the built in Jetty, you can easily use the mount

Re: java.lang.OutOfMemoryError after moving to production

2005-10-13 Thread ian . d . stewart
The property java.awt.headless is used on UNIX servers, which do not normally have a windowing system (e.g., X11) installed, to tell the AWT not to try to initialize the display. HTH, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev

Re: XML Merge Best Practices

2005-10-13 Thread Mark Lundquist
On Oct 13, 2005, at 8:14 AM, Julian wrote: I have some (generally 2-4) XML documents (approx. 200 KB in size) that I would like to merge. The documents would have the same id attributes and tag names. The tags which share the same name and id attribute should be merged into one node, and

Re: XML Merge Best Practices

2005-10-13 Thread Julian
Mark, Does XSLT stream or does it use DOM via Cocoon pipelines? I plan on doing some further processing of the merged document afterwards and thinking of using XSLT there too. If you want more details, I summarized the overall process below. Thanks, Julian * My goal is to count the

Re: XML Merge Best Practices

2005-10-13 Thread Bertrand Delacretaz
Le 13 oct. 05, à 17:51, Julian a écrit : ...Does XSLT stream or does it use DOM via Cocoon pipelines?... From the Cocoon side of things (pipelines), processors would stream, but I *think* all current XSLT processors load the whole document in memory, as a DOM processor would do. Nico

Re: XML Merge Best Practices

2005-10-13 Thread Dan Durkin
Julian, You may want to look using the cinclude transformer and then some additional xslt transformations for the merging logic. HTH, Dan Julian wrote: Mark, Does XSLT stream or does it use DOM via Cocoon pipelines? I plan on doing some further processing of the merged document

Re: java.lang.OutOfMemoryError after moving to production

2005-10-13 Thread footh
Thanks for the pointers Bruce. I actually haven't done any of that. I've been meaning to go through the cocoon performance tweaks documentation but haven't found the time. So far the site has stayed up with the memory change but I will make it a priority to add these other tweaks. --- Bruce

Re: Getting started (again)

2005-10-13 Thread Jonas Lundberg
I have a blog/forum/website script package for Cocoon (using eXist/xQuery). But I thought that there were many of these around already. Is there any interest in that? Hans On 10/12/05, Derek Hohls [EMAIL PROTECTED] wrote: OK - what you are calling components I would call sub-systems or

CForms: restoring multivaluefield widgets

2005-10-13 Thread Stefan Warringa
Hello, I'm a CForms newbie trying to use CForms to replace some forms in my current webapplication. In this application users want to see their forms restored to the state they left it in when they revisit the form. I do this by storing the form model in the session object and use it to bind

RE: Configurable form / flow chains

2005-10-13 Thread Bruyn Bill
What I'm after is a little more complicated than that, but I think I've about decided that it wasn't such a good idea anyway. I guess I'm just going to have to work out another approach. Anyway, sincere thanks for the reply. -Original Message- From: Ralph Goers [mailto:[EMAIL

Re: XML Merge Best Practices

2005-10-13 Thread Julian
Hi,, Thanks for all the feedback. As I thought more about my requirements of counting nodes in the documents, I realized that writing a SAX parser to do such a trick would quite simple and more efficient than XSLT and DOM afaik. I thank you again for the info, which I have found valuable in my

Re: Getting started (again)

2005-10-13 Thread Justin Fagnani
I certainly would be interested. I'm sure a lot of others would be too. This project is probably going to end up PHP based, since there's so much existing code to work with, but Cocoon sure could use some app- level code out in the wild. -Justin On Oct 13, 2005, at 10:16 AM, Jonas Lundberg

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

2005-10-13 Thread Sullivan, Sean C - MWT
How can I fix this error? -Original Message- From: Sullivan, Sean C - MWT Sent: Wednesday, October 12, 2005 10:19 AM To: users@cocoon.apache.org Subject: Cocoon 2.1.7 Could not load class org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource Hi, I am porting an

[BINDING] Supported datatypes for CForms binding

2005-10-13 Thread Christofer Dutz
Hi, I was working with w3c dom-objects for loaing and storing information from my forms. After having some trouble with manipulating these trees and being aware that cocoon can deal with dom4j input I modified my flow-script to work with dom4j objects. Now I had no problems anymore when

Re: Getting started (again)

2005-10-13 Thread Terushige Kohama
Hi, I'm also interested. I use an exist as a block. And I want both blog and forum very much. Regards, teru Justin Fagnani wrote: I certainly would be interested. I'm sure a lot of others would be too. This project is probably going to end up PHP based, since there's so much existing code

Re: [BINDING] Supported datatypes for CForms binding

2005-10-13 Thread Jason Johnston
Christofer Dutz wrote: I was working with w3c dom-objects for loaing and storing information from my forms. After having some trouble with manipulating these trees and being aware that cocoon can deal with dom4j input I modified my flow-script to work with dom4j objects. Now I had no problems

Pipeline has already been processed for this request

2005-10-13 Thread Matt Robinson
Hello. What does this message mean and what do I need to do to fix it. It seems to have something to do with the Cocoon Flow Continuation... I am calling several pipelines (one at a time) in the same flowscript and using Cocoon Forms to pass data to and from the Java Bean handing the flow