RE: Mail + File Generation

2008-06-05 Thread Jasha Joachimsthal
Hi Matt, -Original Message- From: Matthew Monkan [mailto:[EMAIL PROTECTED] Sent: woensdag 4 juni 2008 21:58 To: users@cocoon.apache.org Subject: Mail + File Generation Okay, so I know how to generate an Excel document with data from a DB, and I know how to send an e-mail

JXPath selection lists and maps

2008-06-05 Thread Hans-Christian Meier
Hello, I work with Cocoon 2.1.10 and JXPath selection lists. According to the API a MultiValueField accepts Java collections so I assume it also works with a Map. In case of an ArrayList I can write widget.setSelectionList(array, ., .). When I try this with a Map I get an exception:

Re: JXPath selection lists and maps

2008-06-05 Thread Rainer Pruy
Sorry, but a map is *not* a collection. (it is not drived from Collection base class) You might try using the set of keys (.keySet()) or the collection of values (.values()) from the map according to your needs. Rainer Hans-Christian Meier schrieb: Hello, I work with Cocoon 2.1.10 and

Re: JXPath selection lists and maps

2008-06-05 Thread Hans-Christian Meier
Hello Rainer, oh, of course you're right. Thanks for the fast response! 2008/6/5 Rainer Pruy [EMAIL PROTECTED]: Sorry, but a map is *not* a collection. (it is not drived from Collection base class) You might try using the set of keys (.keySet()) or the collection of values (.values())

Re: multithreaded Content Aggregator migration from 2.1 to 2.2

2008-06-05 Thread Imran Pariyani
hello Grzegorz, Thanks for the reply .. and for the clue .. i guess i was looking in the wrong direction ... i will try and look into the source and also post the same to dev at cocoon .. if u find anything else on this issue please do let me know .. we cant upgrade till we solve this issue

Re: Database to Excel Spreadsheet

2008-06-05 Thread Jason Johnston
Matthew Monkan wrote: Alright, I'm really close to getting this application to work but am stumped over one thing. Here is my initial XML file: ?xml version=1.0? execute-query xmlns=http://apache.org/cocoon/SQL/2.0; querySELECT test_data from test_table;/query /execute-query It gets passed

Cocoon 2.2 Samples???

2008-06-05 Thread Edward S
hi, Is there anything in Cocoon 2.2...the equivalent of Cocoon Samples that we had in Cocoon 2.1?? if so, where? thanks Ed.

Re: Database to Excel Spreadsheet

2008-06-05 Thread Matthew Monkan
Thanks for the reply. Actually, I did make a copy-paste mistake. There should be only one Cell element outputted, which is empty: gmr:Cell ValueType=60 Row=1 Col=1/ But, I still thought this was unusual. BTW, I edited my original post with the correct output. rowset row

Database connection by cocoon 2.2

2008-06-05 Thread Johannes Hoechstaedter
Hi, I do my first experiences in cocoon, and want to create a database webapplication which connects to a database. I did some first steps to a database application. Is there a complete how to, to etablish a database connection (for read and write access) by cocoon 2.2? What I already did:

RE: Cocoon 2.2 Samples???

2008-06-05 Thread Jasha Joachimsthal
http://cocoon.zones.apache.org/demos/trunk/samples/ Jasha -Oorspronkelijk bericht- Van: Edward S [mailto:[EMAIL PROTECTED] Verzonden: do 5-6-2008 17:02 Aan: users@cocoon.apache.org Onderwerp: Cocoon 2.2 Samples??? hi, Is there anything in Cocoon 2.2...the equivalent of Cocoon

Re: Database connection by cocoon 2.2

2008-06-05 Thread Boris Goldowsky
Johannes -- you may want to search for tutorials on using databases with Spring. My understanding is that with Cocoon 2.2 it is best to have Spring configure and manage any database connections. Then you can add Cocoon features (eg, the SQL transformer or whatever) once that is set up. Bng