Re: java flow samples error

2005-08-05 Thread David
I sort of figured it out. There are three Java Flow examples. The 3rd one is: org.apache.cocoon.samples.flow.java.PersistenceFlow If I comment out the reference to it in the samples sitemap.xmap file the other 2 work. With it there all 3 break since it tries to load the class when the sitemap

Re: Strange problem upgrading Tomcat/Cocoon

2005-08-05 Thread Steve Burling
--On August 4, 2005 12:14:55 PM +0200 Aurélien DEHAY <[EMAIL PROTECTED]> wrote: Does the server hangs or crashes? If it's hanging, you could try to take severals JVM threads dumps (kill -3 on the JVM pid) and using something like http://yusuke.homeip.net/samurai/ to try to determine where is the

Re: Existing Cocoon IDE

2005-08-05 Thread Ross Gardler
Oleg Konovalov wrote: I am looking for an existing Cocoon/XSLT/Java IDE or Eclipse plug-in. You have amazing timing. The Lepido project announced its first milestone release earlier today. See http://www.eclipse.org/lepido/ Ross --

esql logicsheet sometimes fails to transform elements

2005-08-05 Thread Lars Huttar
Dear Cocoon users, We have been struggling with a significant problem lately on our Cocoon servers. It seemed to start around the time we upgraded to JDK 1.5 / Tomcat 5.5.9 / Cocoon 2.1.7. The problem involves XSP pages that use esql. Often they work fine, but sometimes the esql logicsheet j

Existing Cocoon IDE

2005-08-05 Thread Oleg Konovalov
Hi, I am looking for an existing Cocoon/XSLT/Java IDE or Eclipse plug-in. My requirements are not high: - visual editing (and better debugging) of XSLT/XHTML, XML (forms); - support of Cocoon 2.0.4; - support JBoss [3.0.7]; - support Java [JDK 1.4+], including debugging. Editing sitemaps is very

Tutorial documentation

2005-08-05 Thread Ron Wheeler
The tutorial says to create a file containing the following text. It does not tell you what name to use for the file. I assume that should be home.xml Ron Home Page Welcome to our Personnel Administrator. You can perform one of the following functions:

Re: Cocoon tutorial problem under 2.1.7

2005-08-05 Thread Ron Wheeler
Having got by the handler error (at least for now), I now have this error in working through the tutorials. The new error is a missing stylesheet ...\samples\stylesheets\apache.xsl (The system cannot find the file specified) org.apache.cocoon.ProcessingException: Unable to get transformer han

Re: Cocoon tutorial problem under 2.1.7

2005-08-05 Thread Ron Wheeler
I added a generate to the handler and got to the next error This seems to work Ron Wheeler wrote: I am trying to walk through the tutorial. If I replace the pipeline in /samples/sitemap.xmap with the text from the tutorial at http://localhost:8080/cocoon/docs/tutorial/tuto

[GT2005] Cocoon GetTogether 2005: Call for Proposals

2005-08-05 Thread Arje Cahn
Dear all, This year's Cocoon GetTogether is coming near! October 5,6,7th, Amsterdam, The Netherlands. http://www.cocoongt.org. In 8 weeks time there'll be plenty of Cocoon talks, hacking, food, beers, lau

[ANN] Eclipse Lepido, Tools for Apache Cocoon milestone 1

2005-08-05 Thread Sylvain Wallez
Eclipse Lepido, Tools for Apache Cocoon milestone 1 --- The development team of Lepido is proud to announce the first milestone of the project. Lepido is an Eclipse project providing an IDE and toolset to ease the development of applications wit

[HELP]The prefix "w" for attribute "w:st" associated with an element type "address" is not bound.

2005-08-05 Thread Joseph Harmon
 Description:org.apache.cocoon.ProcessingException: Error executing pipeline.: slide://[EMAIL PROTECTED]/elfusers/jharmon/Early_Wesleyan_Church_History.xhp:1:950:org.xml.sax.SAXParseException: The prefix "w" for attribute "w:st" associated with an element type "address" is not bound.

Re: [CFORM] How can I remove a previous validation error from a widget?

2005-08-05 Thread Dan Ochs
hi, just following up on my previous post. I got this validation to work as desired, if I move the fd:validation element below into the "test1" field, it seems to work as expected. I'm not sure why it behaves differently though. The "test1" field is defined as the following before adding the fd:

Cocoon tutorial problem under 2.1.7

2005-08-05 Thread Ron Wheeler
I am trying to walk through the tutorial. If I replace the pipeline in /samples/sitemap.xmap with the text from the tutorial at http://localhost:8080/cocoon/docs/tutorial/tutorial-develop-webapp.html I get the following error mesage when I try to access http://localhost:8080/RonCocoon/samples

JSP 2.0 and Cocoon?

2005-08-05 Thread Dirk Reiss
Hello everyone, I've got a JSP page containing the expression ${1 < 2} which is read by a JSP-Reader. This does not get evaluated, it's just printed in the resulting HTML-page. I thought, JSP-Reader supports JSP 2.0, doesn't it? I use Cocoon 2.1.7. Any suggestions? Many thanks in advance,

cocoon components development best practices

2005-08-05 Thread Ivan Bogouchev / Иван Богушев
Hi all, Currently I am developing a new generator to integrate in cocoon, but the development goes really slowly for me. In fact every time I change something in the code I stop tomcat, i copy the compiled class to cocoon's WEB-INF/classes directory and then I restart tomcat. As it takes a while

Send Mail with SMTP-Auth

2005-08-05 Thread Christoph Hermann
Hello, i currently try to to implement sending emails with cocoon. I read http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/mail/transformation/SendMailTransformer.html and there is written: "FIXME: Known Issues:... * No support for smtp user/password" So is there a way to send emails with c

Re: Mail and continuations

2005-08-05 Thread Marc Salvetti
Aurélien DEHAY a écrit : My choice was to put a "confirmation" field in the database, and put this field (randomly generated) instead of the continuation in the mail. Thus, the user can validate is account whenever he wants. And I've got no continuation left in memory. In my case i don't u

Re: Mail and continuations

2005-08-05 Thread Aurélien DEHAY
Marc Salvetti wrote: Thanks for the answer Aurélien, there is 2 situations where i send a mail with a continuation : on the opening of a new user account, a mail is sent to the user with this link so i can be sure of the validity of the email adress before saving the new account. My choice

Re: Mail and continuations

2005-08-05 Thread Marc Salvetti
Thanks for the answer Aurélien, there is 2 situations where i send a mail with a continuation : on the opening of a new user account, a mail is sent to the user with this link so i can be sure of the validity of the email adress before saving the new account. the other situation is when a co

Re: XSLT transformation

2005-08-05 Thread Upayavira
Antony Grinyer wrote: Thanks to everyone's help I believe I'm getting closer to getting this working...darn...I didn't realize transforming XML in Cocoon could cause such a problem! Presumably that is working with XML in Java can cause such a problem. As soon as you break out of Cocoon into Ja

Re: Mail and continuations

2005-08-05 Thread Aurélien DEHAY
Hello. Marc Salvetti wrote: I don't the answer to your question, but: isn't it dangerous, as the mail is asynchronous, to send a continuation in a mail? Are you sure the user will click on the link in a decent delay? Each continuation has a lifetime, and the user could click the link even if

Mail and continuations

2005-08-05 Thread Marc Salvetti
Hello, i'm trying to send mails that contains link with continuation-id, and there is 2 things i don't understand. First i tried the following link in my jx template : href="continue.html?continuation-id=#{$cocoon/continuation/id}">continue.html?continuation-id=#{$cocoon/continuation/id} I wa

RE: XSLT transformation

2005-08-05 Thread Antony Grinyer
Thanks to everyone's help I believe I'm getting closer to getting this working...darn...I didn't realize transforming XML in Cocoon could cause such a problem! I've now changed my code to: private void generateDocumentToSAX(String queryResults) { try { XMLReader parser = XMLReade

Re: java flow samples error

2005-08-05 Thread Thomas Lutz
Where is your cocoon app running in ? I've been using jboss 3.2.7 some time and had to put some libraries into the lib/endorsed dir to get things working, David wrote: When I try to goto any of the java flow samples I get the error below. I am using Cocoon 2.1.7. Thanks in advance for any he

Re: XSLT transformation

2005-08-05 Thread Upayavira
Conal Tuohy wrote: Upayavira wrote: Your transformer is passing something down the pipeline as null. This isn't tripping up the XML serializer, but is tripping up the xslt transformer. Go through each of the startElement, etc, calls within your transformer looking at the output. See if you