RE: Cocoon forms problem

2004-06-03 Thread Carsten Ziegeler
Marc Portier wrote: hm, who owes who a bear in this case? Carsten? ROTFL :) Carsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2004-06-03 Thread Adam Walsh
Hi Derek, 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-usersm=108415092708767w=2 If anyone has any ideas on how I can get around the escaping of the and then I would glady ditch

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

2004-06-03 Thread Derek Hohls
Jeff Apologies in advance for the trivial advice... probably others will give you better and more complete answers, but if I had to tackle this problem and solve it right now, I would try and break the problem up into logical pipelines. The mini pipeline, where each produces a particular type

Re: Cocoon forms problem

2004-06-03 Thread Marc Portier
Bartosz Zgodziski wrote: The problem is that, that my form.js has only few lines. One funcfion. and the appropriate cocoon.load() statement, right? function form1() { var form = new Form(forms/d_nowyTyp.xml); form.showForm(nowy.html); print (out); } I meant the Form.js (big F) to be found at

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- usersm=108415092708767w=2... If you have an XML *string* that you want JXTemplate to output

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: arg line=-P true -C ${build.webapp.dir}/WEB-INF/cocoon.xconf -w ${build.webapp.dir}/WEB-INF/work -u ERROR -k ../etc/logkit4cli.xconf -l cli -c ${build.webapp.dir}/ in Cocoon 2.1.4 works this

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

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 sitemap

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-usersm=108498565610794w=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 the XML

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;

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]

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]

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 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-usersm=108498565610794w=2 In the second email it says: jx:out value=#{bean/someXML}/ produces lt;SomeXMLgt;blahlt;/SomeXMLgt; What does just #{bean/someXML}

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: 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.

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.

File remains open

2004-06-03 Thread Perez Carmona, David
Hi all, I have the following pipeline: map:match pattern=genera/**.sxw map:generate src=jar:file:///{realpath:docu}/{1}.sxw!/content.xml/ map:transform label=t1 src=transf/open-office-a-docbook.xsl/ map:serialize type=xml/ /map:match I have an exception inside the

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 include tag to insert an external source of SAX events. Never tried it myself, but it should also work to call it with in a esql:row-results loop with dynamically generated src attributes. HTH, Alfred. Now I'd like to combine several of those individual XML

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 fd:_javascript_ in the form definition. Unfortunately, when I enable flow debug I get a NullPointerException on loading the form definition: Form

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

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]

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: 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

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 think it

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

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

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

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

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

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

[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 for

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

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,

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 about

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

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:xalan:xerxes option but it does not help. Ivo Limmen wrote: snip -- Ivo Limmen - To unsubscribe, e-mail: [EMAIL PROTECTED] For

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 depending on

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: 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

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: 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

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 buildinga 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 twoboxs separated

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

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: 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 pretty

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: 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'm

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, fb:insert-bean will work nicely. In some cases however, I will need to first check if there is an object already there. Something like:

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: 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: jx:out value=#{bean/someXML}/ produces lt;SomeXMLgt;blahlt;/SomeXMLgt; What does just #{bean/someXML} produce? Regards, Upayavira

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.