Re: Cocoon Hangs with OpenSessionInViewFilter

2005-09-07 Thread Leszek Gawron
Dustin N. Jenkins wrote: That's exactly what I have actually. I'm still not clear as to what C3P0 handles, but if I'm indeed using the data source as laid out below, and injecting that into my Hibernate Session Factory, which is then being injected into my DAOs, does it mean I'm not using

Re: JasperReports / JFreeReports

2005-09-07 Thread holger . willenborg
Hi Yves, I wrote a reader (which is far from being mature). It's not really integrated into Cocoon. Let me know if you're interested. Here's how it works: An entry in the sitemap could look like this: map:match pattern=myreport map:read src="">report/classic.jrxml type=jasperreport

Antwort: Re: JasperReports / JFreeReports

2005-09-07 Thread holger . willenborg
I forgot to mention that at the moment it only delivers PDF files. I have not yet tested HTML output. Regards Holger [EMAIL PROTECTED] schrieb am 07.09.2005 09:21:53: Hi Yves, I wrote a reader (which is far from being mature). It's not really integrated into Cocoon. Let me know if

Re: Setting path for cookies in Tomcat / Cocoon

2005-09-07 Thread Yves Vindevogel
On 07 Sep 2005, at 04:49, Jason Johnston wrote: Yves Vindevogel wrote: For reasons of sessions, I have to set the path of the cookies to / You need to set the cookie path to / within your servlet container. Otherwise, for a Cocoon mounted on /cocoon the cookie path will be /cocoon, and the

Re: Antwort: Re: JasperReports / JFreeReports

2005-09-07 Thread Yves Vindevogel
It was for PDF and XLS that I would love to try it. I know both can be done from within Cocoon, but it seems more work with FOP than with Jasper. On 07 Sep 2005, at 09:25, [EMAIL PROTECTED] wrote: I forgot to mention that at the moment it only delivers PDF files. I have not yet tested HTML

How to Share objects with Servlets in Same container

2005-09-07 Thread Sachin Dharmapurikar
Hi All, In our company, we have already developed one solution which has following use Case: 1. Form: To get the input from user about _Something_ 2. Servlet: Depending on the inputs query to database _do_ some operations, and as a side effect of these operations one java bean is created

Re: JasperReports / JFreeReports

2005-09-07 Thread Andrew Stevens
From: [EMAIL PROTECTED] Date: Wed, 7 Sep 2005 09:21:53 +0200 Hi Yves, I wrote a reader (which is far from being mature). It's not really integrated into Cocoon. Let me know if you're interested. Here's how it works: ... I'd love to write a transformer for this, but since the XML processor

Re: AW: Debugging Cocoon apps

2005-09-07 Thread Oleg Konovalov
Chris, I didn't mean debugging only Java side of Java App, MyEclipse does it, but ALL parts of Java App [XSL/XSLT, XML, XMAP, XCONF, Java]. Can XMLSpy (or any other tool) debug Java apps ? It looked from previous posting in this list that Lepido WILL do it. Maybe in next release ? Thank you,

Antwort: Re: JasperReports / JFreeReports

2005-09-07 Thread holger . willenborg
A quick thought - would it be possible to use the Fragment Extractor Transformer to write out the (generated) XML for JasperReports into a file, then point JR at that? Andrew. Can you give an example how this Transformer would create a file? The User Docs and the wiki do not contain

Re: How to Share objects with Servlets in Same container

2005-09-07 Thread Jason Johnston
Sachin Dharmapurikar wrote: Hi All, In our company, we have already developed one solution which has following use Case: 1. Form: To get the input from user about _Something_ 2. Servlet: Depending on the inputs query to database _do_ some operations, and as a side effect of these operations

Re: Cocoon Hangs with OpenSessionInViewFilter

2005-09-07 Thread Mark Lundquist
On Sep 6, 2005, at 4:17 PM, Dustin N. Jenkins wrote: That's exactly what I have actually. I'm still not clear as to what C3P0 handles, but if I'm indeed using the data source as laid out below, and injecting that into my Hibernate Session Factory, which is then being injected into my DAOs,

RE: How to Share objects with Servlets in Same container

2005-09-07 Thread Sachin Dharmapurikar
Jason Johnston Wrote: There may be other ways to do this that I don't know about, but putting the bean on the session and issuing a redirect to ImageServlet would definitely work (I've done similar things running Cocoon and ColdFusion together). Note that the two servlets (CocoonServlet

Best Practices Question

2005-09-07 Thread Dustin N. Jenkins
I'm using Cocoon 2.1.7, Hibernate 3.0.5 and Spring 1.2 to develop a fairly big (5000+ classes) web application. I have a question about best practices when moving domain objects from Hibernate through my Service Layer to my Presentation Layer. In anyone's opinion, when it comes to Hibernate

Re: Best Practices Question

2005-09-07 Thread Laurent Perez
I'm using the OpenSessionInViewFilter to accomodate lazy loading, but should the Presentation Layer really know this much about the Persistence Layer? There's a very good summary you can read at http://www.hibernate.org/43.html and also especially at

RE: How to Share objects with Servlets in Same container

2005-09-07 Thread Jason Johnston
From what I've seen XSP is being phased out (or at least discouraged for most uses) now that we have better ways (Control Flow) to handle processing. I didn't understood one thing, if XSP is outdated, do I need to serialize the Java program output again and again to XML if XSP is not there?

Re[2]: AW: Debugging Cocoon apps

2005-09-07 Thread Jens Maukisch
Hi, It looked from previous posting in this list that Lepido WILL do it. Maybe in next release ? Well, its on the Roadmap of Lepdio, but as it is not an easy task to provide a fully featured debugging environment it may take some time until its available. But as Lepido is an Open Source

Memory profiling cocoon

2005-09-07 Thread Antony Grinyer
Hi, Has anyone successfullyintegrated a Java memory profiler (such as JProfiler or YourKit) with Cocoon? I'd like to test the memory usage of aCocoon transformer that is a Java class, but I'm not sure how I can get thea Javaprofiler to profile Cocoon transformers? Thanks for any

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?

Interesting CForms Validation Behavior

2005-09-07 Thread Daniel Curran
When I apply this formatting to my double in my form definition file I am seeing a weird issue with truncating my data, instead of throwing a validation error. The convertor I have applied: fd:datatype base=double fd:convertor type=formatting fd:patterns

RE: Memory profiling cocoon

2005-09-07 Thread Antony Grinyer
Thanks Reinhard...I'll give it a go! Ant -Original Message- From: Reinhard Poetz [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 07:52 pm To: users@cocoon.apache.org Subject: Re: Memory profiling cocoon Antony Grinyer wrote: Hi, Has anyone successfully integrated a

[GT2005] Cocoon GT Talks!

2005-09-07 Thread Arje Cahn
Hi everyone, This is the list of proposed talks for the upcoming CocoonGT, ordered by date received. 14 in total, and there's only place for 8! I'd like to put the program online by friday afternoon, to make sure people have enough time to sign up for the event. Could everyone who feels the