RE: Problem with custom StreamGenerator

2006-10-04 Thread Geert Josten
Hi, The original StreamGenerator makes a difference between form-data like and text/xml like content-types. The first scans for parameters, the second provides access to the request body. So, yes, content-type is highly relevant here. If you are submitting XML with a HTML form, you can access it

Cannot get JSPReader/JSPGenerator to work

2006-10-04 Thread Paritosh Patel
I am new to Cocoon (BTW, and its very cool) and am trying to get Cocoon to handle a JSP page to be processed... but it does not work.(My setup is running Cocoon 2.1.9 under Tomcat 5)First, I tried the JSP block welcome page and it also does not work for me. The IE browser window shows empty and

Cocoon, JSON, PHP

2006-10-04 Thread maurizio
Hello ppl, kind regards to you all, beg ur pardon for my bad english.My goal: having Cocoon (in tomcat's webapps) "talking" with PHP (in apache2 httpd) both living on same machine or same subnet.The "talking" should also permit JSON syntax from browser to PHP page, passing through Cocoon. Let's

RE: Cannot get JSPReader/JSPGenerator to work

2006-10-04 Thread Geert Josten
Tomcat might already be trying to process the jsp calls itself but is failing to translate the url into a file path that is correct. I expect that there are comments in web.xml near *.jsp mapping concerning Tomcat. If you don't explicitly map *.jsp, tomcat is (or at least used to) take over

Servlet.service() for servlet Cocoon threw exception

2006-10-04 Thread news
Hello List, I've Cocoon running with Tomcat 5.5.Cocoon only deploys PDF files generated with FOP using the fo2pdf serializer. Between 1000 and 2000 deployed PDF files the errer shows up. Cocoon is still running, and able to deploy everything else than PDF files. For instance, the xml

Re: Servlet.service() for servlet Cocoon threw exception

2006-10-04 Thread Gabriel Gruber
Hi just adjust the heap space of your Tomcat: f.i. to set heapspace to 512MB CATALINA_OPTS=-Xmx512M cheers, Gabriel [EMAIL PROTECTED] 04.10.2006 13:45 Please respond to users@cocoon.apache.org To 'users@cocoon.apache.org' users@cocoon.apache.org cc Subject Servlet.service()

handling burden of multiple firefox request

2006-10-04 Thread es
Hello to all, in short: I have a ConcurrentModificationException caused by the fact that (only) firefox send out from 2 to 5 request for the same image (generated) file. I've said only since I tested it in konqueror and Opera and both send out only 1 request as httptracer

Re: RE: Cannot get JSPReader/JSPGenerator to work

2006-10-04 Thread Paritosh Patel
Geert, I want to run the JSP within Cocoon and not as a request to go to Tomcat. From what I could tell, JSPReader and JSPGenerator uses the configured JSPEngine (in Cacoon) to run it. The path/file I used on the 'src' attribute was a local file (local to the sitemap file). Here is a portion of

Re: handling burden of multiple firefox request

2006-10-04 Thread Jason Johnston
es wrote: Hello to all, in short: I have a ConcurrentModificationException caused by the fact that (only) firefox send out from 2 to 5 request for the same image (generated) file. I've said only since I tested it in konqueror and Opera and both send out only 1 request as httptracer

Re: FileUploadManager

2006-10-04 Thread Richard Light
Just to report back: I have now got file uploading working, but only because I found this resource through a search of the Wiki: http://wiki.apache.org/cocoon/RecipeUploadUsingAction This code compiled and ran first time. Shouldn't this page be linked to from the general upload pages? I

RE: Cannot get JSPReader/JSPGenerator to work

2006-10-04 Thread Nathaniel Alfred
Cocoon provides XSP which is the same paradigm as JSP (content augmented with Java code) but integrates better with XML pipelines. HTH, Alfred. From: Paritosh Patel [mailto:[EMAIL PROTECTED] Sent: Dienstag, 3. Oktober 2006 21:27 To: users@cocoon.apache.org

handling burden of multiple firefox request

2006-10-04 Thread Eli Spizzichino
Hello to all, in short: I have a ConcurrentModificationException caused by the fact that (only) firefox send out from 2 to 5 request for the same image (generated) file. I've said only since, I tested it in konqueror and Opera and both send out only 1 request as httptracer

Re: handling burden of multiple firefox request

2006-10-04 Thread Eli Spizzichino
Jason Johnston wrote: It sounds like you should create your own custom Reader wow thanks for the quick reply I'll do, and sorry for the double post (I got unsubscribed ...) I'll let you know Eli - To unsubscribe, e-mail:

Re: [SOLVED] Re: Problems using Saxon

2006-10-04 Thread Abbas Mousavi
Thanks. Yes, I have also compiled the saxon from svn and it worked.thank again.Askild Aaberg Olsen [EMAIL PROTECTED] wrote: Askild Aaberg Olsen wrote: Abbas Mousavi wrote: Hi all recently, there were some posts about integrating Saxon 8.8 to cocoon 1.2.9. and there is no clear answer on the list.

Prepared statements with the SQL transformer

2006-10-04 Thread John F. Walsh
Greetings, I'm using Cocoon 2.1.6. I need the SQL transformer to use Java prepared statements and do the parameter substitution after the prepared statement declaration so that the Oracle execution plan developed for one query works for the next query with different parameter values. The

Re: [Cocoon-Users] Prepared statements with the SQL transformer

2006-10-04 Thread David Kavanagh
John, The SQL transformer that ships with cocoon is much different than the one that we use at DOTech. We made a lot of improvements, such as transaction handling, batch inserts, parameter passing (and probably other things Irv can list). Did you have some problem getting stuff working with

RE: RE: Cannot get JSPReader/JSPGenerator to work

2006-10-04 Thread Geert Josten
Ah, you are using a READER. But I guess that should not really make a difference. And the remark of Nathaniel reminded me that myself have used XSP and not JSP in the past. Still, have you investigated the ClassCastException? Your reader might be causing trouble by something tiresome like wrong

Re: [Cocoon-Users] Prepared statements with the SQL transformer

2006-10-04 Thread David Kavanagh
Geeze. I didn't check, but I thought I was replying to John directly. Sorry to the list! Thus Spoke David Kavanagh: John, The SQL transformer that ships with cocoon is much different than the one that we use at DOTech. We made a lot of improvements, such as transaction handling, batch

[CForms Dojo] no tag handler registered for type: dojo:cformsform when seting debugAtAllCosts param

2006-10-04 Thread [EMAIL PROTECTED]
Hi, I am currently working on perfectioning my onchange submit stuff for the suggestion-lists. Unfortunately as soon as I set djConfig.debugAtAllCosts = true; the suggestion-lists break with this strange error message: no tag handler registed for type: dojo:cformsform Without this

cocoon best editor ?

2006-10-04 Thread maurizio
Greetings.I am wondering which is the most used/preferred editor for Cocoon developing.I do like ViM over anything else, but i was (unsuccessfully) looking for a nice eclipse Cocoon plugin (lepido seems dead). Is there anything good around ?--Thanks,Maurizio How low will we go? Check out Yahoo!

Re: cocoon best editor ?

2006-10-04 Thread Skip Carter
On Wednesday 04 October 2006 11:44, maurizio wrote: Greetings. I am wondering which is the most used/preferred editor for Cocoon developing. I do like ViM over anything else, but i was (unsuccessfully) looking for a nice eclipse Cocoon plugin (lepido seems dead). Is there anything good

Re: Form widgets - alternative options multually exclusive

2006-10-04 Thread JP
Still waiting for any better solution Found a solution...not sure if this is the best wayAny suggestions will be appreciated Put the widgets in a Group and on the submit widget write the javascript as fd:on-action fd:javascript var parent =

Re: cocoon best editor ?

2006-10-04 Thread Bertrand Delacretaz
On 10/4/06, maurizio [EMAIL PROTECTED] wrote: ...I am wondering which is the most used/preferred editor for Cocoon developing... Depends on what you mean by Cocoon developing - if you're writing sitemaps and XSLT transforms, your favorite editor will do, but if developing involves Java code