DTM IDs "error"

2004-06-03 Thread Derek Hohls
I get the following error (when trying to access a page that was previously acessible): An Error Occurred Failed to execute pipeline. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException: java.lang.RuntimeException: org.apache.xml.dtm.DTMException: No mo

Re: how to use SWFGenerator? what is "wrapped XMLReader"?

2004-06-03 Thread Antonio Gallardo
Bertrand Delacretaz dijo: > Hi Conal, > > Le 4 juin 04, à 08:11, Conal Tuohy a écrit : >> I'm trying for the first time to deal with Flash in Cocoon, but >> when I try to generate XML from a flash file, I get an error:... > > Note that it has been recently decided to remove the swf block for th

[GetTogether] Madrid, 21/22.06.04, Spain

2004-06-03 Thread Thorsten Scherler
Hello everyone, we finally have a room for the GetTogether. We will have a Meeting about cocoon and lenya in Madrid, Spain. It will last 2 days: 21/22.06.04. We have 15 places with computer in total. 6 places are already taken so 9 are still aviable. Note: We are trying to invite somebody from *Wyo

Re: how to use SWFGenerator? what is "wrapped XMLReader"?

2004-06-03 Thread Bertrand Delacretaz
Hi Conal, Le 4 juin 04, à 08:11, Conal Tuohy a écrit : I'm trying for the first time to deal with Flash in Cocoon, but when I try to generate XML from a flash file, I get an error:... Note that it has been recently decided to remove the swf block for the next release of Cocoon, mostly because

Re: cforms, flowscripts and database

2004-06-03 Thread Derek Hohls
Nick Again, a plea from the "community" - many people have expressed a deep interest in seeing a sample of this work (along with, if possible, a brief explanation of how to set such a system up) and it would be excellent if you could spare some time to do so... Thanks Derek >>> [EMAIL PROTECTED]

Re: CForm binding: creating objects?

2004-06-03 Thread Marc Portier
Benoit Deshaies wrote: Many thanks Marc. That's exactly what I was looking for. For some reason, I had assumed this was just to add an item to a Collection... well, the reason might be the obvious directed examples which are inspired from some original need and are thus likely to communicate some

how to use SWFGenerator? what is "wrapped XMLReader"?

2004-06-03 Thread Conal Tuohy
I'm trying for the first time to deal with Flash in Cocoon, but when I try to generate XML from a flash file, I get an error: Original Exception: org.xml.sax.SAXException: Cannot handle XML input without a wrapped XMLReader at de.tivano.flash.swf.parser.SWFReader.delegateParsing(SWFRead

java objects in Cocoon

2004-06-03 Thread Oro smith
hi, How can java objects be obtained from Cocoon? for example how can the "session" or "store" object be obtained in cocoon webmail? regds, Smith. - Still single? Click here to find the perfect match.

Re: Is this good practice? [Was - Re: Newbie: How to capture XMLfrom custom class? ]

2004-06-03 Thread Adam Walsh
Unfortunately it produces the same output as the jx:out Adam Upayavira wrote: In the second email it says: produces blah What does just #{bean/someXML} produce? Regards, Upayavira - To unsubscribe, e-mail: [E

RE: continuation passes document to pipeline

2004-06-03 Thread Binkley, Peter
If anyone else is interested, there's some follow up (including a good workaround from Askild Aaberg Olsen) at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29381. Peter > -Original Message- > From: Binkley, Peter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 02, 2004 06:44 PM >

Re: CForm binding: creating objects?

2004-06-03 Thread Benoit Deshaies
Many thanks Marc. That's exactly what I was looking for. For some reason, I had assumed this was just to add an item to a Collection... For the simple cases, will work nicely. In some cases however, I will need to first check if there is an object already there. Something like: if( report.getLat

RE: question about debugging

2004-06-03 Thread Nathaniel Alfred
>-Original Message- >From: WHIRLYCOTT [mailto:[EMAIL PROTECTED] >Sent: Donnerstag, 3. Juni 2004 21:34 >To: [EMAIL PROTECTED] >Subject: question about debugging > > >I'm new to Cocoon and I'm working on modifying an existing Cocoon >application for a client. I'm finding that the process I

Link Livesites: Cocoon 2.1

2004-06-03 Thread Montier Patrick
Hi, For information, we have migrated the cocoon web site http://www.bethe1.com from an old version 2.0.x to the 2.1.4 You can delete our entry in the Live Sites unknown list and put it in the 2.1.4 Bethe1 : - The employment specialist in fashion, beauty and retail (French, English, Japanese)

RE: Read Only PDF

2004-06-03 Thread Martin Mauri
Well, I meant "I CAN still save it with the reader" > -Mensaje original- > De: Martin Mauri [mailto:[EMAIL PROTECTED] > Enviado el: Jueves, 03 de Junio de 2004 04:41 p.m. > Para: [EMAIL PROTECTED] > Asunto: RE: Read Only PDF > > > Thanks very much Matthias! > I?ve tried that, it seems pret

RE: Read Only PDF

2004-06-03 Thread Martin Mauri
Thanks very much Matthias! I?ve tried that, it seems pretty straightforward, unfortunately I couldn't get it to work, probably because I'm using embedded Tomcat/Cocoon on JBoss. I've set up everything as the page says, but when I generate de PDF I can't still save it with the reader, it supposed I

Re: CForm binding: creating objects?

2004-06-03 Thread Marc Portier
http://cocoon.apache.org/2.1/userdocs/forms/binding.html#fb%3Ainsert-bean try something along the lines of before the stuff on the latitude this assumes that GeoCoordinate has a constructor that doesn't require any arguments, and that your SightingReport has a setLatitude(GeoCoordinate) method

question about debugging

2004-06-03 Thread WHIRLYCOTT
I'm new to Cocoon and I'm working on modifying an existing Cocoon application for a client. I'm finding that the process I'm using to add new features to the pre-existing codebase is error prone and I'm wondering if people can provide their thoughts on some of the following topics and possibly

Hugo Marcelino - MultiValueField : Cocoon Forms in Cocoon 215

2004-06-03 Thread Hugo Miguel S. V. Marcelino
Hi users of cocoon:   My name is Hugo Marcelino and at the moment i'm building a portal with cocoon 2.1.5 and i come across with the following problem.   I have a coplet that contains the "new" cocoon forms ( once Woody ) and in the form i use the multivaluefields that will became in two boxs separ

Re: strange parameters.getNames() result

2004-06-03 Thread defe
Perez Carmona, David wrote: Delete old stuff from the build directory before recompiling Not necessary, since i recompiled a fresh cocoon-2.1.4 distrib. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: jueves, 03 de junio de 2004 15:50 Para: [EMAIL PROTEC

CForm binding: creating objects?

2004-06-03 Thread Benoit Deshaies
Hi, I was wondering what was the simplest way to use the Forms Binding Framework to create new objects. I have the following Java model I created a form for: public class SightingReport { private String birdName; private GeoCoordinate latitude; // gets/sets } public class GeoCoordinate

Re: cforms, flowscripts and database

2004-06-03 Thread Nick Van den Bleeken
Hi, I'm developing a webapp that also needed persistency. I decided to use Hibernate (it is very easy to learn and use) in conjunction with CForms and the woody data binding framework. Till now I think it a good choice. Not too much flow script, only a few lines for each form. I hope this will he

Re: Tranformation fails depending on source

2004-06-03 Thread Ivo Limmen
I did, I used it for debugging purposses. But I finally discoverd the error. My colleage used startElement(...) but did not include an empty list but added NULL as Attributes which does not result in a IllegalArgumentException in the TraxTransformer but simply results in a NullPointerExeption.

RE: Tranformation fails depending on source

2004-06-03 Thread Perez Carmona, David
Beware, if using Java 1.4, make sure you place a new version of Xalan and Xerces in the endorsed directory. > -Mensaje original- > De: Ivo Limmen [mailto:[EMAIL PROTECTED] > Enviado el: jueves, 03 de junio de 2004 18:10 > Para: [EMAIL PROTECTED] > Asunto: Re: Tranformation fails dependin

Re: Tranformation fails depending on source

2004-06-03 Thread Ivo Limmen
Hi, Some extra info: The problem also occures in Cocoon 2.1.4. Also tried the -Xbootclasspath/p:: option but it does not help. Ivo Limmen wrote: -- Ivo Limmen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Is this good practice? [Was - Re: Newbie: How to capture XMLfrom custom class? ]

2004-06-03 Thread Terry Brick
Sorry this is going into a new thread... I was wondering why I wasn't getting any email from the list but they were showing up in the archives. I finally figured out that I forgot to confirm my registration! Anyway... Thanks everybody for the tips, it has been very helpful. Regarding the tag

RE: strange parameters.getNames() result

2004-06-03 Thread Perez Carmona, David
Delete old stuff from the build directory before recompiling > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Enviado el: jueves, 03 de junio de 2004 15:50 > Para: [EMAIL PROTECTED] > Asunto: strange parameters.getNames() result > > > > Hi, > (with cocoon-2.1.4 ab

Re: Read Only PDF

2004-06-03 Thread Bertrand Delacretaz
Le 3 juin 04, à 15:40, Matthias Stöckel a écrit : It's quite easy. You can find the information here: http://wiki.cocoondev.org/Wiki.jsp?page=FOPPDFEncryption hehe...right before our very eyes ;-) -Bertrand - To unsubscribe, e-mail

RV: File remains open

2004-06-03 Thread Perez Carmona, David
Confirmed it happens also in latest Cocoon 2.1.5. Posted bug 29365 in Bugzilla. -Mensaje original- De: Perez Carmona, David Enviado el: jueves, 03 de junio de 2004 15:08 Para: Cocoon (E-mail) Asunto: RV: File remains open After having investigated a bit, I discovered that the guilty for

[GROOVY] parameters

2004-06-03 Thread olivier demah
Hi, With XSP ; i usually do String action = parameters.getParameter("action",""); String rub_id[] = request.getParameterValues("rub_id[]"); to get parameters from the sitemap or an array from a previously form i filled ; how can i do the same with Groovy ? because currently

Caching ancillary file content

2004-06-03 Thread Peter Flynn
In my XSLT I extract values from some ancillary files using the document('foo.xml') function. This works fine, but when the foo.xml file is changed (eg by some external agency like a timed script), its old content continues to be served by Cocoon. Eventually it starts to serve the new content (b

How to separate coplets development?

2004-06-03 Thread grofcik.lan
Hello All, We are trying to develop application with cocoon portal engine. There are two separate teams. One teams has to develop one portlet ane other team the second. Is there any possibility to pack coplet into the war file and deliver it to the portal engine? How could we do it? Thank in ad

strange parameters.getNames() result

2004-06-03 Thread defe
Hi, (with cocoon-2.1.4 about org.apache.avalon.framework.parameters.Parameters) when i do : String [] names = parameters.getNames(); name[0] value is "org.apache.cocoon.sitemap/Location"!! and my own parameters only begin at index 1 :( Since i recompiled this version of cocoon (excluding s

Re: Read Only PDF

2004-06-03 Thread Matthias Stöckel
...Is it possible to generate a "read only" PDF with Cocoon so that it can't be modified later with any other pdf tool ?... It's quite easy. You can find the information here: http://wiki.cocoondev.org/Wiki.jsp?page=FOPPDFEncryption Cheers, Matthias ---

Tranformation fails depending on source

2004-06-03 Thread Ivo Limmen
Hi, I have the strangest bug that I can not find a sollution for. I have written a Generator that generates reports. I use a TraxTransformer to transform it to Genumeric XML and serialize it using the HSSFSerializer. The generator works ok. When I set the view to the raw XML from the generator I

Re: RV: File remains open

2004-06-03 Thread Upayavira
Perez Carmona, David wrote: After having investigated a bit, I discovered that the guilty for leaving the file opened is a CopySourceAction invokation, that tries to get the result of the previous pipeline, through the cocoon:// protocol. The following code from org.apache.cocoon.acting.CopySourc

Re: Read Only PDF

2004-06-03 Thread Antonio Gallardo
Bertrand Delacretaz dijo: >> ...Is it possible to generate a "read only" PDF with Cocoon so that it >> can't be >> modified later with any other pdf tool ?... > > I think FOP provides some extensions to encrypt generated PDFs - you > might want to search the FOP mailing list archives or web site. I

Re: Read Only PDF

2004-06-03 Thread Bertrand Delacretaz
...Is it possible to generate a "read only" PDF with Cocoon so that it can't be modified later with any other pdf tool ?... I think FOP provides some extensions to encrypt generated PDFs - you might want to search the FOP mailing list archives or web site. I think it is possible but don't know t

RV: File remains open

2004-06-03 Thread Perez Carmona, David
After having investigated a bit, I discovered that the guilty for leaving the file opened is a CopySourceAction invokation, that tries to get the result of the previous pipeline, through the cocoon:// protocol. The following code from org.apache.cocoon.acting.CopySourceAction leaves the stream

Re: [flowscript] Process a pipeline

2004-06-03 Thread Stephan Coboos
Maybe cocoon.processPipelineTo() is what you need? Regards Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Read Only PDF

2004-06-03 Thread Martín Mauri
Hi users! Is it possible to generate a "read only" PDF with Cocoon so that it can't be modified later with any other pdf tool ? thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Bug in Forms v1, 2 & 3 using Cocoon v2.1.5, flow, javascript validation and debugging

2004-06-03 Thread Adrian . Cross
Hi, I have a form that uses _javascript_ to perform validation.  I've implemented the validator using in the form definition.  Unfortunately, when I enable flow debug I get a NullPointerException on loading the form definition: Form (resource://org/apache/cocoon/forms/flow/_javascript_/v3/Form.

Re: Problems with precomile xsp's (Cocoon 2.1.5)

2004-06-03 Thread Upayavira
There's a method processURL(String uri, OutputStream stream) that never worked because you got a 'Error: please specify at least one starting URI' error. Therefore, I moved the location of this error to a more appropriate place. It seems that the move wasn't as successful as I had hoped. I'll l

RE: Aggregation - or is it? How do I combine multiple streams of SAX events?

2004-06-03 Thread Nathaniel Alfred
The xsp-util logicsheet offers an tag to insert an external source of SAX events. Never tried it myself, but it should also work to call it with in a loop with dynamically generated src attributes. HTH, Alfred. >> >> Now I'd like to combine several of those individual XML >documents into a s

Re: How to get JTidy (HTMLGenerator) to accept properties?

2004-06-03 Thread Frank Taffelt
try the following in your jtidy.properties: add-xml-decl:yes bare:yes ... annother issue i found: sometimes it helps to restart cocoon, to get the changes in jtidy.properties recognized. hth, Frank - To unsubscribe, e-mail: [

RE: New debugging tool

2004-06-03 Thread Perez Carmona, David
Thanks. That's cool, I'll try it right again. > -Mensaje original- > De: Bruno Dumon [mailto:[EMAIL PROTECTED] > Enviado el: miércoles, 02 de junio de 2004 19:52 > Para: [EMAIL PROTECTED] > Asunto: Re: New debugging tool > > > > just fyi: another option is Cocoon's profiler. This requires

File remains open

2004-06-03 Thread Perez Carmona, David
Hi all, I have the following pipeline: I have an exception inside the transformer. The result is that the source document remains open (the *.sxw), and I can not replace it with 3rd party utilities. I'm using Cocoon 2.0.3. Is this solved in newer Cocoon releases?

Retrieve store object

2004-06-03 Thread Oro smith
How can the store object be retrieved from Cocoon?? Im able to connect to server and retrieve using store object. However the connection is done everytime the method is called. so it wud be better to retrieve the store obj frm cocoon itself. regds smith.

Re: Unknown host exception

2004-06-03 Thread Andreas Schmid
Oro smith wrote: What does this exception mean? javax.mail.MessagingException: imap; nested exception is: java.net.UnknownHostException: imap - Still single? Click here to find the perfect match.

Re: [flowscript] Process a pipeline

2004-06-03 Thread Luca Morandini
Lionel Crine wrote: Hi, I'd like to process a pipelineb but I don't know the method to do that. For example : function index (){ --> process the pipeline. What should I write ? cocoon.sendPage(index.html); } Hmm... this just sends index.html to the client (psst... you forgot to enclose index.html

Re: Is this good practice? [Was - Re: Newbie: How to capture XMLfrom custom class? ]

2004-06-03 Thread Upayavira
Derek Hohls wrote: Upayavira implies it should be do-able with the JXTemplateGenerator? See: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=108498565610794&w=2 In the second email it says: produces blah What does just #{bean/someXML} produce? Regards, Upayavira Derek

Unknown host exception

2004-06-03 Thread Oro smith
What does this exception mean? javax.mail.MessagingException: imap; nested exception is: java.net.UnknownHostException: imap - Still single? Click here to find the perfect match.

Re: Is this good practice? [Was - Re: Newbie: How to capture XML from custom class? ]

2004-06-03 Thread Bertrand Delacretaz
Le 3 juin 04, à 10:11, Derek Hohls a écrit : Ulp; no wonder folks would rather do this in XSP - it might not be the "best" way but it is surely a *lot* easier... If you have to do it once, maybe. If you have to do it twice, nothing prevents you from writing a wrapper to make it look easier. is it

Re: Is this good practice? [Was - Re: Newbie: How to capture XML from custom class? ]

2004-06-03 Thread Derek Hohls
Ulp; no wonder folks would rather do this in XSP - it might not be the "best" way but it is surely a *lot* easier... is it even feasible to upgrade the functionality of JXTemplate to simplify this kind of extraction (in the way envisaged by the original poster)? Derek >>> [EMAIL PROTECTED] 2004/

FirstFriday coming up!

2004-06-03 Thread Bertrand Delacretaz
Hi Cocoonistas, Tomorrow is FirstFriday [1], and the cross-posting is intentional: you don't necessarily need to be a committer to participate, there are plenty of bugs and patches waiting for our collective squashing and patching [2]. See you there! (on and off tomorrow for me) [1] http://wiki

[flowscript] Process a pipeline

2004-06-03 Thread Lionel Crine
Hi, I'd like to process a pipelineb but I don't know the method to do that. For example : function index (){ --> process the pipeline. What should I write ? cocoon.sendPage(index.html); } Thanks Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN

Re: Is this good practice? [Was - Re: Newbie: How to capture XML from custom class? ]

2004-06-03 Thread Bertrand Delacretaz
Le 3 juin 04, à 09:50, Derek Hohls a écrit : Bertrand Is there a concrete example in the Cocoon samples (or the Wiki) that "fleshes out" this approach in a little more detail? Maybe not, but here are some code excerpts: import org.apache.excalibur.xml.dom.DOMParser; import org.w3c.dom.Document

Re: Is this good practice? [Was - Re: Newbie: How to capture XML from custom class? ]

2004-06-03 Thread Derek Hohls
Bertrand Is there a concrete example in the Cocoon samples (or the Wiki) that "fleshes out" this approach in a little more detail? Thanks Derek >>> [EMAIL PROTECTED] 2004/06/03 09:02:31 AM >>> Le 3 juin 04, à 08:12, Adam Walsh a écrit : > ... in my case I did try using flow, but ran into a wa

Re: Is this good practice? [Was - Re: Newbie: How to capture XMLfrom custom class? ]

2004-06-03 Thread Derek Hohls
Upayavira implies it should be do-able with the JXTemplateGenerator? See: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=108498565610794&w=2 Derek >>> [EMAIL PROTECTED] 2004/06/03 08:12:54 AM >>> Hi Derek, in my case I did try using flow, but ran into a wall using JXTemplate to spit out th

Re: Aggregation - or is it? How do I combine multiple streams of SAX events?

2004-06-03 Thread [EMAIL PROTECTED]
Jeff Jones wrote: I have a set of XSP/ESQL based pipelines that generate XML documents from an Oracle database. Essentially I'm using them as a sort of customized SQL/XML bridge, and I've been very happy with Cocoon for that purpose so far. (I'm using Cocoon 2.1.4 on Linux, but will upgrade to 2.1.

Re: Can I pass sitemap variable to sub-sitemap?

2004-06-03 Thread roy huang
If this variable must be set by component like action? - Original Message - From: "vjaulin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 5:30 PM Subject: Re: Can I pass sitemap variable to sub-sitemap? > roy huang a écrit : > > >Sorry ,the subject should be

Missing class org.apache.cocoon.components.source.helper.SourceLock ?

2004-06-03 Thread Andreas Schmid
I just looked at the documentation at http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/source/helpers/SourceLock.html but just as i tried to import this.. there was no class ?!? Then i looked at the sources (2.1.5 also as 2.1.4) an there are no sources... does anyone know whe

Problems with precomile xsp's (Cocoon 2.1.5)

2004-06-03 Thread Andrea Pöschel
I want precompile my xsp's with the Command line Interface using by ant. snipped from build.xml: in Cocoon 2.1.4 works this fine, but not Cocoon 2.1.5 Error: Please, specify at least one starting URI. Snipped from your documentation: "If no URIs are specified, it will scan all directo

Re: Is this good practice? [Was - Re: Newbie: How to capture XML from custom class? ]

2004-06-03 Thread Bertrand Delacretaz
Le 3 juin 04, à 08:12, Adam Walsh a écrit : ... in my case I did try using flow, but ran into a wall using JXTemplate to spit out the XML from my Java object: http://marc.theaimsgroup.com/?l=xml-cocoon- users&m=108415092708767&w=2... If you have an XML *string* that you want JXTemplate to outpu