Re: Woody Repeaters

2004-02-13 Thread Jan Hoskens
You're right, I did not think about that bizzdata carying the woody-form around. But I'm having nested repeaters here... Is there any progress around this issue? Or should I just go with my work around? Thankz, Jan Use the JXGenerator to read your form template, and use jx:choose to test

Link Livesites: Cocoon 2.0

2004-02-13 Thread Steven Carr
I'd like to suggest you the link of our company site: title:Stock Lotterydescription: New-style online lotterylink: www.stocklottery.com Regards, Steven Carr Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online

Re: Woody Repeaters

2004-02-13 Thread Bruno Dumon
On Fri, 2004-02-13 at 09:03, Jan Hoskens wrote: You're right, I did not think about that bizzdata carying the woody-form around. But I'm having nested repeaters here... Is there any progress around this issue? Or should I just go with my work around? If you need it right now, you'll have to

Re: Realtime generation of Woody Forms

2004-02-13 Thread Bruno Dumon
On Fri, 2004-02-13 at 06:52, Tony Edwards wrote: Cocooners, I'm trying to generate a woody form definition and template in real time from a Torque xml database schema. I read somewhere that it was theoretically possible to do this but I'm getting an error: Could not parse form definition

Problem with xinclude...

2004-02-13 Thread Stephen Winnall
I have a problem with xinclude in a sub-sitemap and I'd be grateful if someone who knows xinclude could help me with it. I'm trying to embed HTML from other pipelines into a template. The other HTML is generated correctly. The pipe to call xinclude looks like this: map:match

Flow and actions correct way?

2004-02-13 Thread Joose Vettenranta
Hi, just been wondering flow-scripts and wiki didn't help much. So, is actions correct way to do stuff and possibility in flow? I mean, like SendPageAndWait(foo); if (cocoon.act(xsp-action, xsp/checkfoo.xsp, foo : foo)) // true else // false Or is that just wrong (or did I even use cocoon.act

Re: Realtime generation of Woody Forms

2004-02-13 Thread Stephen Winnall
Hi Tony I have used Torque in a generator and it worked OK after I had edited the sources and removed all the logging statements. Torque expects to be run from the command line and likes to tell you what it's doing. If you don't remove the logging statements, they get sent along your Cocoon

xmldb call problem

2004-02-13 Thread Dmitry Diskin
Hi All! After some actions (bad me, I can't identify what exactly was done, but nothing serious, just content changes) I can't get anything from xindice db. An excerpt from cocoon error.log is attached. What does this message mean: Caused by: org.xml.sax.SAXParseException: Attribute src bound

re:How can I make IE display html in auto encoding utf-8?Sorry last mail use htm

2004-02-13 Thread
Thank you! I belive you solve my problem,I did set apache/jk2 for lotus domino last month in apache 4.1.29.My workmate advised me change cocoon servlet source code to solve the problem but I don't think it's a good idea.I will try your method right now! hi roy i had the same effect with

solution: performance and use-persistent-cache

2004-02-13 Thread Fonsén
Hi, It was months ago I completed my project that used Cocoon 2.1.3. However, it was only recently that I was able to fix the performance at a good level. Here's the most important change to configuration that was required in the cocoon.xconf: transient-store logger=core.store.transient

RE: File downloading problem

2004-02-13 Thread Carmona Perez, David
A solution that works for me is to use this reader (attached with this message) adapted from Cocoon 2.0.4, that should replace the buggy one that comes with Cocoon 2.1.2. David -Mensaje original- De: tonyo [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 21 de

Bug? Reading File Source

2004-02-13 Thread Jan Hoskens
Hi, I've had some problems concerning special characters in my flow, but could fix it. One of my problems occurred when loading a document. When I used the proposed way of loading (in woody binding sample): source = resolver.resolveURI(uri); (resolve is ok) var is = new

RE: Calling sendmail action from flowscript

2004-02-13 Thread Robert Clarke
Hi Jan, Thanks for your reply. I tried using cocoon.act but got the same error message. Maybe what I should be asking is: What steps do I need to follow to call an action from flowscript? I've been using cocoon for a while but have only just started using flows, thus my confusion. Thanks, Rob

RE: FileGenerator making two HTTP requests

2004-02-13 Thread Carmona Perez, David
And is there any known workaround? I have already tried to detect the first request with this action: public class RepeatedPdfRequestAction extends AbstractAction { /** @see org.apache.cocoon.acting.Action#act(org.apache.cocoon.environment.Redirector,

Re: Calling sendmail action from flowscript

2004-02-13 Thread Jan Hoskens
I'm not using any actions, but found something interesting in the dev list, follow this link, it may help you: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=107028910926207w=2 the thread starts here: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=106986101216010w=2 Greetings, Jan -

How to go about getting a handle on the parent of a transformer?

2004-02-13 Thread Corin Moss
Title: How to go about getting a handle on the parent of a transformer? Hi Guys, I'm extending the CIncludeTransformer to support external caching, the only stumbling block is getting a handle on the XSP which called the transformer. Obviously the include is specified in the XSP using

Re: Flow and actions correct way?

2004-02-13 Thread Antonio Gallardo
Hi Joose: I think you would find a solution using just Flow. You can change your action to a Java class that can be called from inside flow. Best Regards, Antonio Gallardo Joose Vettenranta dijo: Hi, just been wondering flow-scripts and wiki didn't help much. So, is actions correct way to

Re: How to go about getting a handle on the parent of a transformer?

2004-02-13 Thread Upayavira
Corin Moss wrote: Hi Guys, I'm extending the CIncludeTransformer to support external caching, the only stumbling block is getting a handle on the XSP which called the transformer. Obviously the include is specified in the XSP using the ci:cached-include tag. I need to get the name of the

Re: Flow and actions correct way?

2004-02-13 Thread Joose Vettenranta
When creating java-class that can be called from inside flow, does it have to be compiled against some cocoon class, or can be separed? How can I get information from request, or does that have to been wrapped through flow? What I like to do, is to make an action like class, which would take

RE: BetwixtTransformer

2004-02-13 Thread Reinhard Poetz
From: Scherler, Thorsten Hello group, I followed the instruction at http://wiki.cocoondev.org/Wiki.jsp?page=BetwixtTransformer. the only differents between my local setting and that wiki page is that I could not find commons-betwixt-1.0-beta-1.jar! I used

RE: Double submit

2004-02-13 Thread Reinhard Poetz
From: paravena Hi all Does anyone know if there is an strategy to prevent double submit like in struts (saveToken/isTokenValid) If you use Flowscript you can invalidate a continuation right after it has been reacivated the first time. -- Reinhard

RE: Calling sendmail action from flowscript

2004-02-13 Thread Robert Clarke
Jan, Thanks again, this looks like it would work. However, it got me thinking (always dangerous, could I not just call javamail directly from flowscript and not use the action at all? Has anyone else done this? Thanks again, Rob -Original Message- From: Jan Hoskens [mailto:[EMAIL

RE: Double submit

2004-02-13 Thread paravena
Thanks Reinhard -- Original Message -- From: Reinhard Poetz [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 13 Feb 2004 12:47:21 +0100 From: paravena Hi all Does anyone know if there is an strategy to prevent double submit like in

Re: Flow and actions correct way?

2004-02-13 Thread Antonio Gallardo
Joose Vettenranta dijo: When creating java-class that can be called from inside flow, does it have to be compiled against some cocoon class, or can be separed? How can I get information from request, or does that have to been wrapped through flow? What I like to do, is to make an action like

Re: Flow and actions correct way?

2004-02-13 Thread Upayavira
Antonio Gallardo wrote: Joose Vettenranta dijo: When creating java-class that can be called from inside flow, does it have to be compiled against some cocoon class, or can be separed? How can I get information from request, or does that have to been wrapped through flow? What I like to do, is

RE: Flow and actions correct way?

2004-02-13 Thread Reinhard Poetz
From: Upayavira [mailto:[EMAIL PROTECTED] Antonio Gallardo wrote: Joose Vettenranta dijo: When creating java-class that can be called from inside flow, does it have to be compiled against some cocoon class, or can be separed? How can I get information from request, or does

Re: Flow and actions correct way?

2004-02-13 Thread Upayavira
Reinhard Poetz wrote: From: Upayavira [mailto:[EMAIL PROTECTED] Antonio Gallardo wrote: Joose Vettenranta dijo: When creating java-class that can be called from inside flow, does it have to be compiled against some cocoon class, or can be separed? How

Re: Calling sendmail action from flowscript

2004-02-13 Thread Ugo Cei
Robert Clarke wrote: However, it got me thinking (always dangerous, could I not just call javamail directly from flowscript and not use the action at all? Has anyone else done this? Of course you can. You can use any Java class you like from flowscript. Personally, I tend to limit the number of

Re: [ANN] Apache Cocoon 2.1.4 Released

2004-02-13 Thread Ugo Cei
Carsten Ziegeler wrote: Apache Cocoon 2.1.4 Released Congratulations! Now that we have a release with all the goodies from CVS that I've been using lately, I can finally start porting a dozen or so webapps to it and stop worrying about different versions. Well, at least until I find something

Problems with custom taglib

2004-02-13 Thread beyaNet Consultancy
Hi, 1. I am creating a custom taglib and am having some problems with it. I make a call in my xsp page like: a. byteConvert:convertByteArrayToImage/>. b. My XSL code is: (see attached file) It seems like the xsp:logic> content is not being processed and I get the following error message:

Cocoon mounted via symbolic link

2004-02-13 Thread Upayavira
On linux, I want to mount my Cocoon webapp via a symbolic link. E.g. /home/web/cocoon -- /home/web/cocoon-2.1.3 However, when I start up Jetty, 12:21:28.683 WARN!! Alias request of 'file:/home/web/cocoon-2.1.3/WEB-INF/logkit.xconf' for 'file:/home/web/cocoon/WEB-INF/logkit.xconf' Logging Error:

Re: Cocoon mounted via symbolic link

2004-02-13 Thread Jorg Heymans
i ran into similar probs when setting up a logkit.xconf.debug and a logkit.xconf.production with a logkit.xconf symlink (this is using tomcat latest 4.x) - it didn't work and didn't find a solution for it. just a wild thought, does creating hard links help? Jorg Upayavira wrote: On linux, I

building cocoon.war

2004-02-13 Thread Patricio F. Ortiz
Hi, I'm new to cocoon and found something which I don't know if calling it a feature or a bug: I found information on several places on how to create a cocoon.war file to drop in Tomcat's webapp directory to be deployed under it. However, I spent a few hours trying to get this file built using

AW: building cocoon.war

2004-02-13 Thread Marco Rolappe
'build war' works for me (2.1.3). -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Patricio F. Ortiz Gesendet: Freitag, 13. Februar 2004 15:22 An: [EMAIL PROTECTED] Betreff: building cocoon.war Hi, I'm new to cocoon and found something

Re: Problems with custom taglib

2004-02-13 Thread Christopher Painter-Wakefield
To do a logicsheet, you need to keep in mind that what you are doing is creating an XSLT stylesheet to transform your code into valid XSP code. Your template certainly won't do that, because you are mixing class level logic (function definition) with method level logic (bare call to function)

[cocoon] Version 2.1.4 on windows NT Sample Petstore An Error Occurred : No languages defined

2004-02-13 Thread Paul . Divine
Hi, I just installed cocoon version 2.1.4 and I test the samples and An Error Occurred Failed to load sitemap from file:/C:/cocoon-2.1.4/cocoon-2.1.4-src/cocoon-2.1.4/build/webapp/samples/petstore/sitemap.xmap org.apache.cocoon.ProcessingException: Failed to load sitemap from

Re: Problems with custom taglib

2004-02-13 Thread beyaNet Consultancy
Christopher, thank you very much for your help ;-) On 13 Feb 2004, at 15:09, Christopher Painter-Wakefield wrote: As to your second question, you can't pass parameters dynamically from your xsp program (at runtime), if that's what you're hoping. You are creating an xml structure that your

Re: [cocoon] Version 2.1.4 on windows NT Sample Petstore An Error Occurred : No languages defined

2004-02-13 Thread Joerg Heinicke
On 13.02.2004 16:10, [EMAIL PROTECTED] wrote: Hi, I just installed cocoon version 2.1.4 and I test the samples and An Error Occurred Failed to load sitemap from file:/C:/cocoon-2.1.4/cocoon-2.1.4-src/cocoon-2.1.4/build/webapp/samples/petstore/sitemap.xmap

[cocoon] Version 2.1.4 on windows NT Sample Petstore An Error Occurred : No languages defined FIXME

2004-02-13 Thread Paul . Divine
Hi, I just installed cocoon version 2.1.4 and I test the samples and An Error Occurred Failed to load sitemap from file:/C:/cocoon-2.1.4/cocoon-2.1.4-src/cocoon-2.1.4/build/webapp/samples/petstore/sitemap.xmap org.apache.cocoon.ProcessingException: Failed to load sitemap from

Dynamically generate queries from user input

2004-02-13 Thread robby . pelssers
Hi all, I have build several xsp:pages which contain forms holding textboxes and dropdownboxes. The dropdownboxes are filled with values from a query. I will explain my problem with a real life example. The form offers a way to search/filter for, let's say, trouble tickets. A trouble ticket

wildcardhostmatcher / mount: session lost

2004-02-13 Thread Stefan Klein
Hi, I've got a very odd behaviour in conjunction with the WildcardHostMatcher: My main sitemap contains the following snippet: map:match type=host pattern=www.mydomain.de map:mount src=sub/sitemap.xmap uri-prefix= check-reload=true / /map:match Every time a new request is received, the

Testing generator encoding problem

2004-02-13 Thread zheng jianjun
Hi , When testing cocoon 2.1.3 , I had the following problem . It's OK when read-in the static XML file pages/16.xmlin codepage "gb2312" by generator "file" , but notwork by the testing generator "test", which actually callLinux command "cat /./pages/16.xml" , the html did generatedin IE ,

Re: Testing generator encoding problem

2004-02-13 Thread Stefan Burkard
hi i'm not sure, but i think if your test-generator reads the file with the cat-command, it is not unicode-aware. your redhat-locale is iso8859-1 and i think the unix-commands use this encoding to read and write files. if this is true, your gb2312-characters get corrupted when cat reads in the

Re: Cocoon XSP Documentation : Access to servlet object and core logicsheets

2004-02-13 Thread Christopher Painter-Wakefield
1. The request, context, and I believe the response object are declared and initialized for you, and can be used from any xsp:logic block. The request object is request, etc. The session object is available from the request (request.getSession()), or is declared as session if you use the

Re: Recursive resources...

2004-02-13 Thread Gabriel Egolf
I may be misunderstanding what the ResourceExistsSelector does, but I don't think it will work. I need something that will look in an arbitrary number of parent directories. I guess I wasn't very clear on that. Let's say that I have a directory structure with 4 levels of subdirectories. If

Re: Recursive resources...

2004-02-13 Thread Mark Lundquist
On Feb 13, 2004, at 11:33 AM, Gabriel Egolf wrote: Hi all, I have what I hope is a simple question. Is it possible to create a resource that calls itself? Here's an example of what I'm thinking. map:resource name=foo map:act type=resource-exists map:parameter name=src

Re: within Flowscript: get servlet context root?

2004-02-13 Thread Eduard Drenth
On Thu, 2004-02-12 at 20:21, Mark Lundquist wrote: Dear all, How can I get the pathname of the servlet context root directory in my flowscript? What I did (cocoon2.0.4) is write a tiny action which puts the servlet context in a sitemap parameter. So I can do in the sitemap: map:match

Re: Recursive resources...

2004-02-13 Thread Gabriel Egolf
My apologies. I was trying to make the example generic. The resource call should indeed be map:call resource=foo. According to the javadocs, the ResourceExistsAction takes a parameter named src. It could alternatively take a parameter named url. Correct me if I'm wrong. Gabriel Mark

Cocoon built-in parameters [ WAS Re: Cocoon XSP Documentation : Access to servlet object and core logicsheets]

2004-02-13 Thread Matteo
First of all, Thank you very much. I got some insight into my problems thanks to yout hints. I could not manage to use the built-in parameters. -- I tried something very simple, just to start (i tried many

First impresion BetwixtTransformer (Bug report ?)

2004-02-13 Thread Scherler, Thorsten
Reinhard Poetz wrote: You find the betwixt transformer in the Cocoon scratchpad with a working example. -- Reinhard Cheers, I found it using cocoon 2.1.4 (but I could not find a direct link to the example). So I tried http://wiki.cocoondev.org/Wiki.jsp?page=BetwixtTransformer. Nice. ...but the

HELP PLEASE: Language Exception when compiling XSP page

2004-02-13 Thread Stefan Geelen
HI, looking at the myaccount_details_xsp.java source it seems that the error is caused by: this.contentHandler.startElement ? : start error (lines 131-131) Syntax error on keyword this; boolean, void, byte, short, int, long, char, float, double, Identifier, interface, class expected

Re: SOLVED: Language Exception when compiling XSP page

2004-02-13 Thread Stefan Geelen
Hi All, just to let you know I solved the problem: Appareantly it is quite important to use the xalan and xerces version delivered with cocoon 2.1.3 I first used xalan: 2.4.D1 and xerces: 2.0.0 and appareantly this was causing the error. Replacing these with the xercesImpl-2.5.0.jar and

[ANN] Apache Cocoon 2.1.4 Released

2004-02-13 Thread Carsten Ziegeler
Apache Cocoon 2.1.4 Released The Apache Cocoon Community is proud to announce the new release of Apache Cocoon. Apache Cocoon is a web development framework built around the concept of separation of concerns (that is: allowing people to do their job without